Ejemplo n.º 1
0
        private void btnPlay_Click(object sender, RoutedEventArgs e)
        {
            GameWindow window = new GameWindow(listOfUsers.SelectedItem);

            this.Close();
            window.Show();
        }
Ejemplo n.º 2
0
        private void Btn_cont_Click(object sender, RoutedEventArgs e)
        {
            categorynumber = 4;

            GameWindow GameWindow = new GameWindow();

            GameWindow.Show();

            this.Close();
        }
Ejemplo n.º 3
0
        private void playBtn_Click(object sender, RoutedEventArgs e)
        {
            GameWindow view = new GameWindow((DataContext as MainWindowViewModel).SelectedUser);

            view.Show();
        }