Exemplo n.º 1
0
        //Runs when the how to play button is clicked
        private void cmdHowToPlay_Click(object sender, EventArgs e)
        {
            //Create a new instance of the form 'frmHowToPlay'
            frmHowToPlay frmHowToPlay = new frmHowToPlay();

            //Show the newly created form
            frmHowToPlay.ShowDialog(this);
        }
Exemplo n.º 2
0
        //Runs when the how to play button is clicked
        private void cmdHowToPlay_Click(object sender, EventArgs e)
        {
            //Create a new instance of the form 'frmHowToPlay'
            frmHowToPlay frmHowToPlay = new frmHowToPlay();

            //Show the newly created form
            frmHowToPlay.ShowDialog(this);
        }
Exemplo n.º 3
0
        //Runs when menu strip how to play button is pressed
        private void howToPlayToolStripMenuItem_Click(object sender, EventArgs e)
        {
            //Create a new instance of the form 'frmAbout'
            frmHowToPlay frmHowToPlay = new frmHowToPlay();

            //Show the newly created form
            frmHowToPlay.ShowDialog(this);
        }
        //Runs when menu strip about button is pressed
        private void howToPlayToolStripMenuItem_Click(object sender, EventArgs e)
        {
            //Pause the game
            pauseGame();

            //Create a new instance of the form 'frmAbout'
            frmHowToPlay frmHowToPlay = new frmHowToPlay();

            //Show the newly created form
            frmHowToPlay.ShowDialog(this);
        }