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 PolyFormation(bool CenSelected) { polygonForm Form = new polygonForm(CenSelected); Form.Show(); }