private void button1_Click(object sender, EventArgs e)
        {
            if (radioButton1.Checked)
            {
                Form7 form7 = new Form7();
                form7.Visible = true;
                this.Visible = false;
            }

            if (radioButton2.Checked)
            {
                Form8 form8 = new Form8();
                form8.Visible = true;
                this.Visible = false;
            }
            if (radioButton3.Checked)
            {
                Form9 form9 = new Form9();
                form9.Visible = true;
                this.Visible = false;
            }
            if (radioButton4.Checked)
            {
                Form10 form10 = new Form10();
                form10.Visible = true;
                this.Visible = false;
            }
            if (radioButton5.Checked)
            {
                Form11 form11 = new Form11();
                form11.Visible = true;
                this.Visible = false;
            }
        }
示例#2
0
        private void button7_Click(object sender, EventArgs e)
        {
            Form9 f = new Form9();

            f.Show();
        }