I have a main form Form1 that starts my win application. There is a DataGridView control on it. Then there's another form Form2 that is called from one of the main menu items. It has a textbox and a button on it. After I input a value into the textbox and press the button excution goes to Form2 's button_click event handler from which I would like to access Form1's DataGridView control.
I tried to make the DGV public in Form1's InitializeComponent() but to no effect, I can't see no form1' s public variables from Form2. Need your help on this one :)
Thanks a lot,