Ejemplo n.º 1
0
        // изменение
        private void button7_Click(object sender, EventArgs e)
        {
            if (radioButton1.Checked)
            {
                OneGr gr = new OneGr(Convert.ToInt32(comboBox3.SelectedValue));
                gr.ShowDialog();
            }

            if (radioButton2.Checked)
            {
                OneCh ch = new OneCh(Convert.ToInt32(comboBox2.SelectedValue));
                ch.ShowDialog();
            }

            if (radioButton3.Checked)
            {
                OneMs ms = new OneMs(Convert.ToInt32(comboBox4.SelectedValue));
                ms.ShowDialog();
            }
        }
Ejemplo n.º 2
0
        private void button6_Click(object sender, EventArgs e)
        {
            if (radioButton1.Checked)
            {
                OneGr gr = new OneGr();
                gr.ShowDialog();
            }

            if (radioButton2.Checked)
            {
                OneCh ch = new OneCh();
                ch.ShowDialog();
            }

            if (radioButton3.Checked)
            {
                OneMs ms = new OneMs();
                ms.ShowDialog();
            }
        }