private void btnAdd_Click(object sender, EventArgs e) { FormOrganizationAdd tmp = new FormOrganizationAdd(); tmp.Owner = this.Owner; this.Dispose(); tmp.ShowDialog(); }
private void miOrgAdd_Click(object sender, EventArgs e) { FormOrganizationAdd tmp = new FormOrganizationAdd(); tmp.Owner = FormMain.ActiveForm; tmp.ShowDialog(); }