예제 #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);
        }
예제 #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);
        }
예제 #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);
        }