/// <summary> /// Resets the form elements/selected items /// </summary> private void ResetForm() { TablesListBox.ClearSelected(); TablesListBox.SelectedItem = null; CustomersListBox.ClearSelected(); CustomersListBox.SelectedItem = null; CompaniesListBox.ClearSelected(); CompaniesListBox.SelectedItem = null; }
/// <summary> /// Resets the form elements/selected items and clears the selected table /// </summary> private void ResetForm() { TablesListBox.ClearSelected(); TablesListBox.SelectedItem = null; TableNameTextBox.Text = ""; }