public AuthorityGroupPopupForm(EmployeeVO employeeVO, int ath_grp_id = 0) { try { InitializeComponent(); this.employeeVO = employeeVO; this.ath_grp_id = ath_grp_id; this.Text = ath_grp_id > 0 ? "권한그룹 수정" : "권한그룹 등록"; if (ath_grp_id > 0) { AuthorityGroupVO AuthorityGroupVO = authorityService.GetAuthorityGroup(ath_grp_id); txtAth_grp_name.Text = AuthorityGroupVO.Ath_grp_name; nudAth_grp_seq.Value = AuthorityGroupVO.Ath_grp_seq; txtAth_grp_expl.Text = AuthorityGroupVO.Ath_grp_expl; if (AuthorityGroupVO.Ath_grp_use == "Y") { rdoAth_grp_useY.Checked = true; } else { rdoAth_grp_useN.Checked = true; } } } catch (Exception err) { MessageBox.Show(err.Message); } }