3
Answers

Calling a Form component from a child class

Ask a question
bob

bob

14y
4.1k
1
What is the best OO practice for accessing a Form component from a child class? For example in my Form1 class I have an instance of a class MyClass. Form1 has a Label component. I'd like to change this label component from within MyClass. How can I do this nicely without breaking some OO principles. Thanks.

Answers (3)