5
Answers

Access Controls from another class in (WFA) C#

Armin CSharp

Armin CSharp

5y
3.4k
1
Hey guys,I'm really happy to registered in this forum :) the best forum for c#
 
these days I'm trying to learn and practice OOP in c# , today i want to solve a question...
 
i have this Form1
Then i made a class in a folder called Services i want to code Calculate Button in that class with a void method
and then call that method in click event for that Calculate button ...
how can i access controls ( labels , buttons , textboxes, ...) in that class called Calculate Tax ?
please tell me the thing related to oop for c# 
 
thanks !
Answers (5)