示例#1
0
        private void button_Click(object sender, RoutedEventArgs e)
        {
            var cb = new Chessboard();

            cb.Show();
            Close();
        }
示例#2
0
 private void PlayButton_Clicked(object sender, EventArgs e)
 {
     if (player1Assigned && player2Assigned)
     {
         var chessBoard = new Chessboard();
         chessBoard.Show();
         this.Hide();
     }
 }