public S_Main_Wnd() { InitializeComponent(); P_Game_board.Width = S_Constants.S_Constants.c_n_width_of_game_board; P_Game_board.Height = S_Constants.S_Constants.c_n_height_of_game_board; Game = null; }
public S_Main_Wnd() { InitializeComponent(); P_Game_board.Width = S_Constants.S_Constants.c_n_width_of_game_board; P_Game_board.Height =S_Constants.S_Constants.c_n_height_of_game_board; Game = null; }
private void btn_Start_Game_Click(object sender, EventArgs e) { // Начинаем игру if (Game != null) { Game.Stop_Game(); } Game = new S_Game(this); }