private void GendersWindow_OnLoaded(object sender, RoutedEventArgs e)
 {
     DataBaseConnector.DataGridConnect(GendersGrid, "SELECT * FROM Genders");
 }
Beispiel #2
0
 private void BarbersWindow_OnLoaded(object sender, RoutedEventArgs e)
 {
     DataBaseConnector.DataGridConnect(BarbersGrid, "SELECT * FROM Barbers");
     BarbersGrid.Columns[0].IsReadOnly = true;
     CountTextBox.Text = DataBaseConnector.Count().ToString();
 }