I have the function AddToText which is located in the Form1 Partial Class
public void AddToText(string text)
{
this.txtStatus.Text = this.txtStatus.Text + "\r\n";
}
I want to call this from a different class so I do:
Form1 frm = new Form1();
frm.AddToText("Test");
I click a button called start and it calls the procedure on a different class and runs the code above. But nothing appears in my textbox. It works when I call it from the Partial Class Though.
WTF?