I know it is a kind of stupid question but I still have to ask.
Is there a way to write this methods cleaner ?? ( less code)
- public void SetFirstReminderSettings(bool result)
- {
- if (result)
- {
- firstReminderSendOnResultLabel. vissible = true;
- sendFirstReminderbutton.enables = false;
- }
- else
- {
- sendFirstReminderButton.enables = true;
- SendSecondReminderButton.enabled = false;
- sendWarningButton.enables = false;
- }
- }