Пример #1
0
        private void CancelButton_Click_1(object sender, EventArgs e)
        {
            this.Hide();
            GameMainForm gameMainForm = new GameMainForm();

            gameMainForm.Show();
        }
Пример #2
0
        private void StartGame_Click(object sender, EventArgs e)
        {
            this.Hide();
            GameMainForm gameMainForm = new GameMainForm();

            gameMainForm.Show();
        }
Пример #3
0
        private void OkButton_Click(object sender, EventArgs e)
        {
            GameMainForm.startRandom = Convert.ToInt32(StartRandom.Text);
            GameMainForm.endRandom   = Convert.ToInt32(EndRandom.Text);
            GameMainForm.numAttempt  = Convert.ToInt32(NumAttempt.Text);
            this.Hide();
            GameMainForm gameMainForm = new GameMainForm();

            gameMainForm.Show();
        }