forget StateTextBox for some textbox

This commit is contained in:
Abdel
2015-09-19 22:00:36 -04:00
parent 23f05e3431
commit 005710d1de
2 changed files with 1 additions and 5 deletions

View File

@@ -48,7 +48,7 @@
this.openFileDialog = new System.Windows.Forms.OpenFileDialog();
this.FormattedNameLabel = new System.Windows.Forms.Label();
this.HomePhoneLabel = new System.Windows.Forms.Label();
this.FormattedNameValue = new System.Windows.Forms.TextBox();
this.FormattedNameValue = new vCardEditor.View.StateTextBox();
this.CellularPhoneLabel = new System.Windows.Forms.Label();
this.PersonalWebSiteLabel = new System.Windows.Forms.Label();
this.WorkPhoneLabel = new System.Windows.Forms.Label();

View File

@@ -288,11 +288,7 @@ namespace vCardEditor.View
private void MainForm_FormClosing(object sender, FormClosingEventArgs e)
{
if (CloseForm != null)
{
this.Validate();
CloseForm(sender, e);
}
}
/// <summary>