Made sure the OK and Cancel buttons set the DialogResult just before closing the form

This commit is contained in:
2012-02-23 15:44:47 +00:00
parent 5649e60d69
commit 92e7711be0
3 changed files with 5 additions and 2 deletions

View File

@@ -100,6 +100,7 @@ namespace VEPROMS
Settings.Default.PropPageStyle = 3;
Settings.Default.Save();
this.DialogResult = DialogResult.OK;
this.Close();
}