private void UpdateEnableness()
        {
            Extentions.EnableControls(cbJobEnabled.Checked &&
                                      (ScheduleType)cbScheduleType.SelectedValue == ScheduleType.One_time,
                                      dtDateStartOneTime, dtTimeStartOneTime);

            Extentions.EnableControls(cbJobEnabled.Checked &&
                                      (ScheduleType)cbScheduleType.SelectedValue == ScheduleType.Recurring,
                                      cbFrequencyType, cbFrequencyInterval,
                                      rbDailyFreqOccursEvery, rbDailyFreqOccursOnce, dtDateDurationStart, rbEndDate, rbNoEndDate, dtDateDurationEnd,
                                      daysOfWeekPanel, dayOfMonthPanel);

            Extentions.EnableControls(cbJobEnabled.Checked && rbDailyFreqOccursOnce.Checked &&
                                      (ScheduleType)cbScheduleType.SelectedValue == ScheduleType.Recurring,
                                      dtTimeOccursOnly);

            Extentions.EnableControls(cbJobEnabled.Checked &&
                                      (ScheduleType)cbScheduleType.SelectedValue == ScheduleType.Recurring &&
                                      rbDailyFreqOccursEvery.Checked,
                                      cbOccursEvery, cbOccursEveryType, dtDaylyEveryStart, dtDaylyEveryEnd);

            Extentions.EnableControls(cbJobEnabled.Checked &&
                                      (ScheduleType)cbScheduleType.SelectedValue == ScheduleType.Recurring &&
                                      rbEndDate.Checked,
                                      dtDateDurationEnd);

            refreshEmailNotificationControlsState();
        }