Пример #1
0
 private void button1_Click(object sender, EventArgs e)
 {
     if (radioButton1.Checked == true)
     {
         this.Hide();
         polygonForm Form = new polygonForm();
         Form.Show();
     }
     else if (radioButton2.Checked == true)
     {
         this.Hide();
         circleForm Form = new circleForm();
         Form.Show();
     }
 }
Пример #2
0
        private void PolyFormation(bool CenSelected)
        {
            polygonForm Form = new polygonForm(CenSelected);

            Form.Show();
        }