private void btnExportDataForm_Click(object sender, EventArgs e) { ExportDataForm edf = new ExportDataForm(); edf.FormClosed += ChildFormClosed; edf.Show(); }
private void button2_Click(object sender, EventArgs e) { ExportDataForm form = new ExportDataForm(); form.FormClosed += ChildFormClosed; form.Show(); }