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(); } }
private void CircFormation(bool CenSelected) { circleForm Form = new circleForm(CenSelected); Form.Show(); }