5
Answers

Access to form controls in classes

Photo of Ron

Ron

14y
2.1k
1
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)