Close the form upon adding a school.

This commit is contained in:
kougyokugentou 2020-05-21 09:18:19 -07:00
parent 90c2b7629f
commit 803ffca11b

View File

@ -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();
}
}
}