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