Example #1
0
 /** Method enables/disables Monday breaktimes */
 private void mondayBreak_CheckedChanged(object sender, EventArgs e)
 {
     if (mondayWorkStartTime.Enabled)
     {
         mondayBreakStartTime.Enabled = !mondayBreak.Checked;
         mondayBreakEndTime.Enabled   = !mondayBreak.Checked;
     }
     else
     {
         mondayBreak.Checked = true;
         feedback.setPromptToEnableDay();
         feedback.Show();
     }
 }