Browse Source

Close the form upon adding a school.

master
kougyokugentou 2 years ago
parent
commit
803ffca11b
  1. 3
      SchoolEditor.cs

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

Loading…
Cancel
Save