Beispiel #1
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new Lobby());

            bools b = new bools();

            if (b.GSigOn)
            {
                InGame ig = new InGame();
                Application.Run(ig);
                // test for github
            }
        }
Beispiel #2
0
        private void Button2_Click(object sender, EventArgs e)
        {
            bools b = new bools();

            b.GSamIServer = false;
            b.GSigOn      = true;

            GameInformation gi = new GameInformation();

            if (radioButton1.Checked == true)
            {
                gi.GSChampion = 1;
            }
            else if (radioButton2.Checked == true)
            {
                gi.GSChampion = 2;
            }
            else if (radioButton3.Checked == true)
            {
                gi.GSChampion = 3;
            }
            else if (radioButton4.Checked == true)
            {
                gi.GSChampion = 4;
            }
            else if (radioButton5.Checked == true)
            {
                gi.GSChampion = 5;
            }
            else if (radioButton6.Checked == true)
            {
                gi.GSChampion = 6;
            }

            InGame dlg = new InGame();

            dlg.Show();
            this.Close();
        }