The problem I want to solve is the following:
I have a form where I have a checkBox, and I have another class that is a type of log that I did, the thing is that based on that checkBox is going to execute or not a series of actions by the class of the log, how can I evaluate that checkbox from this class?
______ azszpr211579 ___
Since the class does not access the checkbox as a direct control, you are supposed to pass the value of the checkbox to that kind of log.
It is clear that you will define a parameter of type %code% for this task, something like being
%pre%
from the front would be something like
%pre%
As you will see, the check is passed to that class, not the control, so you maintain the separation of responsibilities of each party.
___