示例#1
0
 private void buttonDeletePart_Click(object sender, EventArgs e)
 {
     //  if (MessageBox.Show("Are you sure you want to delete the part " + SelectedPartName + "?", "Are you really sure?", MessageBoxButtons.YesNo, MessageBoxIcon.Warning) == System.Windows.Forms.DialogResult.Yes)
     //  {
     GCIDB.DeletePart(SelectedPartName);
     limitList1.ClearLimits();
     lifetimeLimits1.UCL = 0;
     lifetimeLimits1.LCL = 0;
     PopulatePartList();
     //  }
 }