I have a list of radio buttons, which extends a part of that item, depending on which item is selected goes. How long can I stop recognition for additional (additional) form items when I have found this work, when the form is not in extended condition? Can I close the extended section form control group of beliefs and that verification group? Is this the best way to do this and if so, how do I do it in C # .net?
I will repeat your answer again:
private zero showAgirum () {Bool is AgentActivated = agentActivated (); AgencyFrm.Visible = isAgentActivated; CompanynameValidator.Enabled = isAgentActivated; CompanyphoneValidator.Enabled = isAgentActivated; CompanyaddressValidator.Enabled = isAgentActivated; PostcodeValidator.Enabled = isAgentActivated; } It is easy to read (and thus, maintaining) and it removes (if true) then (true) and (false) Logic.
Comments
Post a Comment