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