Esempio n. 1
0
 private void butDeleteAlert_Click(object sender, EventArgs e)
 {
     if (listAlerts.SelectedIndex == -1)
     {
         MsgBox.Show(this, "Please select an items first.");
         return;
     }
     RxAlerts.Delete(RxAlertList[listAlerts.SelectedIndex]);
     FillAlerts();
 }
Esempio n. 2
0
 private void butDelete_Click(object sender, EventArgs e)
 {
     RxAlerts.Delete(RxAlertCur);
     DialogResult = DialogResult.OK;
 }