I have the following problem with passing values through different classes.
In general, MainForm has a textfield called IDNO and i want to load UserControl in MainForm filtered by this IDNO.
|
I called the above code when loading the UserControl.
Any suggestions?
Thank you in advance.
Roei BarPosted Sep 25, 2009, 7:57 AM
here is a sample for 2 forms Data passing
Assuming that formB is initialized in formA I would recommend adding a string to the constructor of formB sending the Texbox1.Text
as in
DealyPosted Sep 26, 2009, 3:30 AM
Your explanation sure help me understand how things works :)