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