-
I am making a user control, when user click a button, then a much bigger form will be displayed.
The program is - how I can pass information from the user control to the form. I tried to use Public, but then it goes into a mess, since different instance of the same control seems to share the same global variable.
Do anybody can tell me how to pass information to/from user control and the form?
Thanks
-
If you're developing an ocx, you could make a module containing all public variables in arrays or collections. You could as well do it in a standard exe but your will have to have that module available for your whole project, which could interfer with other global vars.