private void butCancel_Click(object sender, EventArgs e)
 {
     if (_evalDefCur.IsNew)
     {
         EvaluationDefs.Delete(_evalDefCur.EvaluationDefNum);
     }
     DialogResult = DialogResult.Cancel;
 }
 private void butDelete_Click(object sender, EventArgs e)
 {
     if (_evalDefCur.IsNew || MsgBox.Show(this, MsgBoxButtons.YesNo, "This will delete the evaluation def.  Continue?"))
     {
         EvaluationDefs.Delete(_evalDefCur.EvaluationDefNum);
         DialogResult = DialogResult.Cancel;
     }
 }