Possible Duplicate:
Best way to access a control on another form in WinForms?
I know this is a blinding obvious question but I am a c# newbie and find it a little confusing, so any help would be greatly appreciated...
I have a mainform and a second form, let's call it form2. form2 has some labels on it. I would like to control the text of those labels from the mainform class / cs sheet. No matter what I try, I cannot seem to access them. I have set some of them to public already and I still can't "see" them in the mainform class.
mainform is wpf (as is the project). form2 is a regular winform.
If someone would help me out I would be eternally grateful.
Thanks,