private void efwSimpleButton9_Click(object sender, EventArgs e) { if (string.IsNullOrEmpty(this.txtId.Text)) { MessageAgent.MessageShow(MessageType.Warning, "기획 대분류를 선택하세요!"); return; } popup = new frmMM15_Pop01(); popup.FormClosed += popup_FormClosed; popup.Id = Convert.ToInt32(txtId.EditValue.ToString()); popup.pm_name = txtId_Name.EditValue.ToString(); popup.ShowDialog(); }
private void popup_FormClosed(object sender, FormClosedEventArgs e) { popup.FormClosed -= popup_FormClosed; popup = null; }