Пример #1
0
 private void FormNameChange_FormClosing(object sender, FormClosingEventArgs e)
 {
     if (e.CloseReason == CloseReason.UserClosing)
     {
         _result = NameChangeResult.Cancel;
     }
 }
Пример #2
0
 private void btnUndoNameChange_Click(object sender, EventArgs e)
 {
     _result = NameChangeResult.SaveUndoNameChange;
     this.Hide();
 }
Пример #3
0
 private void btnCancel_Click(object sender, EventArgs e)
 {
     _result = NameChangeResult.Cancel;
     this.Hide();
 }
Пример #4
0
 private void btnNewConnection_Click(object sender, EventArgs e)
 {
     _result = NameChangeResult.SaveNewConnection;
     this.Hide();
 }