示例#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();
 }
示例#2
0
 private void butDelete_Click(object sender, EventArgs e)
 {
     RxAlerts.Delete(RxAlertCur);
     DialogResult = DialogResult.OK;
 }