Esempio n. 1
0
        private void button_nextGame_Click(object sender, EventArgs e)
        {
            FourLinkForm2 form = new FourLinkForm2();

            form.Visible = true;
            this.Close;
        }
        private void button5_nextGame_Click(object sender, EventArgs e)
        {
            this.Close();

            GlobalData.NumGame = 2;
            //GlobalData.NumScenario = 1;

            GlobalData.numRound_FourLink = 1;
            GlobalData.numRound_FiveLink = 1;

            FourLinkForm2 link42 = new FourLinkForm2();
            link42.Visible = true;

                //FiveLinkForm2 link52 = new FiveLinkForm2();
                //link52.Visible = true;
        }
        private void button5_nextGame_Click(object sender, EventArgs e)
        {
            this.Close();

            GlobalData.NumGame = 2;
            //GlobalData.NumScenario = 1;

            GlobalData.numRound_FourLink = 1;
            GlobalData.numRound_FiveLink = 1;

            FourLinkForm2 link42 = new FourLinkForm2();

            link42.Visible = true;

            //FiveLinkForm2 link52 = new FiveLinkForm2();
            //link52.Visible = true;
        }
Esempio n. 4
0
        private void button_nextRound_Click(object sender, EventArgs e)
        {
            GlobalData.numRound_FourLink = GlobalData.numRound_FourLink + 1;

            this.Close();

            if (GlobalData.NumGame == 1)
            {
                FourLinkForm link = new FourLinkForm();
                link.Visible = true;
            }
            else if (GlobalData.NumGame == 2)
            {
                FourLinkForm2 link2 = new FourLinkForm2();
                link2.Visible = true;
            }
        }
 private void button_nextGame_Click(object sender, EventArgs e)
 {
     FourLinkForm2 form = new FourLinkForm2();
     form.Visible = true;
     this.Close;
 }