Hello,
I have 2 different classes
1. Form1 -class which is defined as single ton
2.MyClass- class
On the Form1 I have a label1 which is defined as public
From MyClass class I have a method, which set the label1 text ,but it is never being visualized on the Form itself
Any idea why?
see code example :
public class MyClass
{
public void set label()
{
Form1 F1 = Form1.Instance();// single ton
F1.label1.Text=”in process”:
}
}
Thanks