C
craig
I am working on a winforms app in which I have a main form that has an
outlook-style explorer bar on the left, and a client area that is used to
host other forms in response to a user clicking on one of the items in the
explorer bar. The various forms that are hosted in the client area are
located in seperate assemblies.
My question is this...
What would be the best way to facilitate communication between the client
forms and the main form? For instance, there are times when something
happens on one of the client forms which might require that the main form
update one of its controls, etc.
I could wire-up some events to handle this, or I can pass a reference to the
main form to each of the client forms so that the client forms can call
methods on the main form at the appropriate times. I realize that there is
now an application block that is designed to address this type of UI
functionality, but we didn't have the time to take on that kind of a
learning curve.
Any thoughts are appreciated!!!
outlook-style explorer bar on the left, and a client area that is used to
host other forms in response to a user clicking on one of the items in the
explorer bar. The various forms that are hosted in the client area are
located in seperate assemblies.
My question is this...
What would be the best way to facilitate communication between the client
forms and the main form? For instance, there are times when something
happens on one of the client forms which might require that the main form
update one of its controls, etc.
I could wire-up some events to handle this, or I can pass a reference to the
main form to each of the client forms so that the client forms can call
methods on the main form at the appropriate times. I realize that there is
now an application block that is designed to address this type of UI
functionality, but we didn't have the time to take on that kind of a
learning curve.
Any thoughts are appreciated!!!