Hi:
If I created two forms in 1 solution, and I insert 1 button in Form1, how could I access this button in Form2?
Thanx
Printable View
Hi:
If I created two forms in 1 solution, and I insert 1 button in Form1, how could I access this button in Form2?
Thanx
You need a variable ( perhaps by using a property ) that holds the button or better yet the whole first form. You can then access the button through this variable.
yea,I got it, thanx