示例#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 CircFormation(bool CenSelected)
        {
            circleForm Form = new circleForm(CenSelected);

            Form.Show();
        }