private void NewGameButton_Click(object sender, RoutedEventArgs e) { Developer_I_Window developer_I_Window = new Developer_I_Window(_storage, _user); developer_I_Window.Show(); Close(); }
private void UserGamesListBox_MouseDoubleClick(object sender, MouseButtonEventArgs e) { if (UserGamesListBox.SelectedItem is Game game) { Developer_I_Window developer_I_Window = new Developer_I_Window(_user, game, _storage); developer_I_Window.Show(); Close(); } }
private void GoingToThePreviousDeveloperWindow() { Developer_I_Window developer_I_Window = new Developer_I_Window(_user, _game, _storage, _wereThereAlreadySomeChangings); developer_I_Window.Show(); }