I am trying to pass a text value from a settings form to another form. What I am trying to do is pass a string value form a textbox on the settings form to the main form. The main form has a GunaUI2 Button (Which I am trying to control)
I was trying to use public Form1 frmMain = new Form1();
to import my main form to my settings form.
Then I would try to change the text of the GunaUI2 Button with this code: frmMain.btn_1.Text = textBox1.Text;
Any help would be greatly appreciated, Thanks EB