Setting GUI object from another class other than GUI class. How do you do it.
Posted on 2006-06-20
I've created an GUI form in C# on .NET (called form1). I also have another class (class1) with no GUI stuff in it, what I want to do is for a function in Class1 to set a label on form1.
But, Im not sure how you do it? I've tried to inherit form1 into Class1, but with no luck.
Would anyone know how I should do it?
Thanks in advance for your help!