Esempio n. 1
0
 private void toolStripMenuItemAlarmManager_Click(object sender, EventArgs e)
 {
     try
     {
         AlarmManagerMain am = new AlarmManagerMain(DB.Server);
         am.ShowDialog();
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message);
     }
 }
Esempio n. 2
0
 private void toolStripMenuItemAlarmManager_Click(object sender, EventArgs e)
 {
     try
     {
         AlarmManagerMain am = new AlarmManagerMain(DB);
         am.Size = new System.Drawing.Size(600, 400);
         am.ShowDialog();
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message);
     }
 }