diff --git a/SchoolEditor.cs b/SchoolEditor.cs index 9088ebe..e435bdb 100644 --- a/SchoolEditor.cs +++ b/SchoolEditor.cs @@ -66,6 +66,9 @@ namespace DBWizard //Display a friendly message and cleanup the textbox for any new entry. MessageBox.Show("School added to the database.", "KentYouthDB", MessageBoxButtons.OK, MessageBoxIcon.None); schoolNameTextBox.Text = string.Empty; + + //Close the form. + Close(); } } }