Exemple #1
0
 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;
 }
Exemple #2
0
 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;
 }
Exemple #3
0
        private void btn_Start_Game_Click(object sender, EventArgs e)
        {
            // Начинаем игру
            if (Game != null)
            {
                Game.Stop_Game();
            }

            Game = new S_Game(this);
        }
Exemple #4
0
        private void btn_Start_Game_Click(object sender, EventArgs e)
        {
            // Начинаем игру
            if (Game != null)
            {
                Game.Stop_Game();
            }


            Game = new S_Game(this);
        }