Armin CSharp

Armin CSharp

  • NA
  • 96
  • 9.1k

Access Controls from another class in (WFA) C#

Sep 9 2019 11:45 AM
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)