5
Reply

Access to form controls in classes

Ron

Ron

Aug 24 2010 4:07 PM
1.8k
I'm new to C# programming, and I have a simple question. Let's say I have a form that contains several controls, perhaps a couple of text boxes and a combo box. Next, I have a class that contains methods to 'do something' with the controls on the form. Is this possible, and if so, how do I referrence the controls from the class?

Answers (5)