示例#1
0
 private void buttonDeleteMedicine_Click(object sender, EventArgs e)
 {
     if (textBoxMedDelete.Text != "")
     {
         m.DeleteMedicine(Int32.Parse(textBoxMedDelete.Text));
         MessageBox.Show("Medicine Deleted");
     }
     else
     {
         MessageBox.Show("Please Enter Id");
     }
 }