Example #1
0
        /// <summary>
        /// Launch the game.
        /// </summary>
        /// <param name="sender">Control calling the method.</param>
        /// <param name="e">Arguments from the action whose caused the call of this method.</param>
        private void LaunchGame(object sender, EventArgs e)
        {
            p_menu.Controls.Clear();
            this.Hide();
            Button b           = (Button)sender;
            Form   game_window = new GameWindow(game, b.Text);

            game_window.Show();
        }