I am working on windows application using c#.
I have a from say X, in which i have a label say label1, This x from code class X.cs is
inheriting the class say FormManager.cs (Custom Methods to control the common functionality on
all forms on Form load or Form close). I am running a thread on the FormManager.cs to perform
some repeated task and from where i want to change the change the label text of label1 from
this FormManager.cs class. How can i do this.
Invokeso the UI update will be performed in the UI thread. Here’s an implementation example:FormManagerform:Xform: