private void ShowPlayersButton_Click(object sender, RoutedEventArgs e) { ShowAllDataWindow showAllDataWindow = new ShowAllDataWindow(); showAllDataWindow.Datatype = ShowAllDataWindow.DataType.PLAYERS; showAllDataWindow.ShowDialog(); }
private void ShowGamesButton_Click(object sender, RoutedEventArgs e) { ShowAllDataWindow showAllDataWindow = new ShowAllDataWindow(); showAllDataWindow.Datatype = ShowAllDataWindow.DataType.GAMES; showAllDataWindow.ShowDialog(); }