private void txcorg_name_ChooserClick(object sender, EventArgs e) { try { frmOrganization frmModels = new frmOrganization(); DialogResult result = frmModels.ShowDialog(); if (result == DialogResult.OK) { txtcom_name.Caption = frmModels.Com_Name; txtorg_name.Text = frmModels.Org_Name; txtorg_name.Tag = frmModels.Org_Id; } } catch (Exception ex) { GlobalStaticObj_Server.GlobalLogService.WriteLog("人员管理", ex); MessageBoxEx.ShowWarning("程序异常"); } }
private void txcorg_name_ChooserClick(object sender, EventArgs e) { frmOrganization frmModels = new frmOrganization(); DialogResult result = frmModels.ShowDialog(); if (result == DialogResult.OK) { txtcom_name.Caption = frmModels.Com_Name; txtorg_name.Text = frmModels.Org_Name; txtorg_name.Tag = frmModels.Org_Id; } }