示例#1
0
 private void butDelete_Click(object sender, EventArgs e)
 {
     if (_evalCur.IsNew || MsgBox.Show(this, MsgBoxButtons.YesNo, "This will delete the evaluation.  Continue?"))
     {
         Evaluations.Delete(_evalCur.EvaluationNum);
         DialogResult = DialogResult.Cancel;
     }
 }