Hi!
I have a program in C# which has two forms.
I would like to put a button on Form1, and then the user can change
the button's settings On Form2.
The problem is- how do I access the button that's on Form1- from Form2?
On Form1- the code is:
On Form2- for instance- the user can choose the buttons text- and write it in a textbox on that form. When the user clicks ok- I want to implement the text written in the textbox on Form2- to button1- on Form1.
How do I do this when the button is on the other form?
Please help.
Thanks!
I have a program in C# which has two forms.
I would like to put a button on Form1, and then the user can change
the button's settings On Form2.
The problem is- how do I access the button that's on Form1- from Form2?
On Form1- the code is:
Code:
Button Button1 = new Button();
How do I do this when the button is on the other form?
Please help.
Thanks!