Hi,
Say I wanted to store a variable on my main form, then display it, or
react to it, on a User Control I'd made.
How would I go about getting the variable from my main form to the User
Control?
Perhaps I want to put this variable in a textbox on the User Control and
send the data back to the main form when the user changes it. How would I
get the message of the change back to the main form?
Sorry if these are strange or hilariously basic questions, but the book
I'm using doesn't really deal with User Controls, so I have to ask here.
KristianFrost
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
Say I wanted to store a variable on my main form, then display it, or
react to it, on a User Control I'd made.
How would I go about getting the variable from my main form to the User
Control?
Perhaps I want to put this variable in a textbox on the User Control and
send the data back to the main form when the user changes it. How would I
get the message of the change back to the main form?
Sorry if these are strange or hilariously basic questions, but the book
I'm using doesn't really deal with User Controls, so I have to ask here.
KristianFrost
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
Comment