Exemple #1
0
 private void editSchedulesToolStripMenuItem_Click(object sender, EventArgs e)
 {
     using (ScheduleManager smanager = new ScheduleManager(_outputs, _schedules))
     {
         smanager.ShowDialog();
         if (smanager.DialogResult == DialogResult.OK)
         {
             _schedules = smanager.Schedules;
             _outputs   = smanager.Channels;
             SaveSettings();
         }
         else
         {
             LoadSettings();
         }
     }
 }
Exemple #2
0
 private void editSchedulesToolStripMenuItem_Click(object sender, EventArgs e)
 {
     using (ScheduleManager smanager = new ScheduleManager(_outputs, _schedules))
     {
         smanager.ShowDialog();
         if (smanager.DialogResult == DialogResult.OK)
         {
             _schedules = smanager.Schedules;
             _outputs = smanager.Channels;
             SaveSettings();
         }
         else
         {
             LoadSettings();
         }
     }
 }