private void btn_start_Click(object sender, RoutedEventArgs e) { player_count = player_1 + player_2 + player_3 + player_4; if (player_count > 0) { one = type_1.Text; two = type_2.Text; three = type_3.Text; four = type_4.Text; board board = new board(); board.Show(); player_win.Hide(); } }
private void Button_Click_2(object sender, RoutedEventArgs e) { bw = new board(); bw.Show(); }