Exemple #1
0
        private void btnPrevious_Click(object sender, EventArgs e)
        {
            speaker.Dispose();
            Step1 stp1 = new Step1();

            this.Hide();
            stp1.FormClosed += (s, args) => this.Close();
            stp1.ShowDialog();
        }
Exemple #2
0
        private void btnNext_Click(object sender, EventArgs e)
        {
            speaker.Dispose();
            if (rbtnChairWithArmRest.Checked == true)
            {
                Settings.typeOfChair = 1;
            }
            else if (rbtnChairWithoutArmRest.Checked == true)
            {
                Settings.typeOfChair = 2;
            }
            Step1 stp1 = new Step1();

            this.Hide();
            stp1.FormClosed += (s, args) => this.Close();
            stp1.ShowDialog();
        }