Beispiel #1
0
 private void CancelBtn_Click(object sender, EventArgs e)
 {
     OkButton.Enabled     = false;
     CancelButton.Enabled = false;
     ObjectToEdit         = BackupObjectToEdit;
     BackupObjectToEdit   = (TestBase)ObjectToEdit.ShallowCopy();
     PopulateUi();
     ParentForm.AbandonChanges();
 }