private void BtnMemberSch1_Click(object sender, EventArgs e) { txtIDX1.Text = ""; MDpopup = new frmMDMemberInfo { COMPANYCD = "YL01", COMPANYNAME = "(주)와이엘랜드", }; MDpopup.FormClosed += MDpopup_FormClosed2; PopUpBizAgent.Show(this, MDpopup); }
private void MDpopup_FormClosed2(object sender, FormClosedEventArgs e) { MDpopup.FormClosed -= MDpopup_FormClosed2; if (MDpopup.DialogResult == DialogResult.OK) { this.txtU_NAME1.Text = MDpopup.U_NAME; this.txtU_NICKNAME1.EditValue = MDpopup.U_NICKNAME; this.txtUSER_ID1.EditValue = MDpopup.USER_ID; this.txtBIRTH1.EditValue = MDpopup.BIRTH; this.txtU_GENDER1.EditValue = MDpopup.U_GENDER; this.txtU_CELL_NUM1.EditValue = MDpopup.U_CELL_NUM; this.txtU_EMAIL1.EditValue = MDpopup.U_EMAIL; this.txtLOGIN_DATE1.EditValue = MDpopup.LOGIN_DATE; this.txtREG_DATE1.EditValue = MDpopup.REG_DATE; this.txtU_ZIP1.EditValue = MDpopup.U_ZIP; this.txtU_ADDR1.EditValue = MDpopup.U_ADDR; this.txtU_ADDR_DETAIL1.EditValue = MDpopup.U_ADDR_DETAIL; this.txtMD_U_ID.EditValue = MDpopup.U_ID; } MDpopup = null; }