private void btnflowSrch_Click(object sender, EventArgs e) { Popup.pop공정검색 frm = new Popup.pop공정검색(); frm.ShowDialog(); txt_flow_cd.Text = frm.sRetCode; txt_flow_nm.Text = frm.sRetName; frm.Dispose(); frm = null; }
private void txt_flow_nm_KeyDown(object sender, KeyEventArgs e) { if (e.KeyCode == Keys.Enter) { Popup.pop공정검색 frm = new Popup.pop공정검색(); frm.ShowDialog(); txt_flow_cd.Text = frm.sRetCode; txt_flow_nm.Text = frm.sRetName; frm.Dispose(); frm = null; } else { return; } }