I’ve GUI with several Labels, Listboxes, NumericUpDown etc. I want read their values in another class. Standard properties of controls are private. How should I do this?
I’ve GUI with several Labels, Listboxes, NumericUpDown etc. I want read their values in
Share
Add a method to your form class that returns all the values that you wish to make available. For example, put all the values that you wish to return to the other class into a struct, and return that struct.