private void CancelButton_Click_1(object sender, EventArgs e) { this.Hide(); GameMainForm gameMainForm = new GameMainForm(); gameMainForm.Show(); }
private void StartGame_Click(object sender, EventArgs e) { this.Hide(); GameMainForm gameMainForm = new GameMainForm(); gameMainForm.Show(); }
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(); }