Example #1
0
 private void uXEditButton_Click(object sender, EventArgs e)
 {
     if (uXAlarmContainer.SelectedIndex != -1)
     {
         TimeSelectionWindow ts = new TimeSelectionWindow(uXAlarmContainer, uXAlarmContainer.SelectedIndex, controller);
         ts.Show();
     }
 }
Example #2
0
 private void uXAddButton_Click(object sender, EventArgs e)
 {
     if (controller.Size < 10)
     {
         TimeSelectionWindow ts = new TimeSelectionWindow(uXAlarmContainer, controller);
         ts.Show();
     }
 }