public Form4(Form3 frm1) { InitializeComponent(); m_parent = frm1; }
private void button2_Click(object sender, EventArgs e) { Form3 tempDialog = new Form3(this); tempDialog.ShowDialog(); }