예제 #1
0
 private void btnRowSrch_Click(object sender, EventArgs e)
 {
     Popup.pop원자재검색 pop원자재검색 = new Popup.pop원자재검색();
     pop원자재검색.ShowDialog();
     sRetCode       = pop원자재검색.sRetCode;
     sRetNM         = pop원자재검색.sRetNM;
     txt_원자재검색.Text = sRetNM;
     txt_원자재검색.Tag  = sRetCode;
 }
예제 #2
0
        private void btn_raw_srch_Click(object sender, EventArgs e)
        {
            Popup.pop원자재검색 msg = new Popup.pop원자재검색();
            msg.txtSrch.Text = txt_srch_raw.Text;
            msg.ShowDialog();

            if (msg.sRetCode != null && !msg.sRetCode.Equals(""))
            {
                txt_srch_raw.Text    = msg.sRetNM;
                txt_srch_raw_cd.Text = msg.sRetCode;
            }
        }
예제 #3
0
        private void btnRaw_Click(object sender, EventArgs e)
        {
            Popup.pop원자재검색 frm = new Popup.pop원자재검색();

            //frm.sUsedYN = sUsedYN;
            frm.ShowDialog();

            if (frm.sRetCode != "")
            {
                //cmb_raw.SelectedValue = frm.sRetCode.Trim();
            }

            frm.Dispose();
            frm = null;
        }
예제 #4
0
        private void btn_raw_srch_Click(object sender, EventArgs e)
        {
            Popup.pop원자재검색 msg = new Popup.pop원자재검색();
            //msg.txtSrch.Text = txt_srch.Text();
            msg.ShowDialog();

            if (msg.sRetCode != null && !msg.sRetCode.Equals(""))
            {
                txt_srch.Text  = msg.sRetNM;
                txt_srch2.Text = msg.sRetCode;
                raw_mat_temp   = msg.sRetNM;

                input_raw_list();
                inputRmGrid.Rows.Clear();
            }
        }
예제 #5
0
        private void txt_srch_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
            {
                Popup.pop원자재검색 msg = new Popup.pop원자재검색();
                msg.txtSrch.Text = txt_srch.Text.ToString();
                msg.ShowDialog();

                if (msg.sRetCode != null && !msg.sRetCode.Equals(""))
                {
                    txt_srch.Text  = msg.sRetNM;
                    txt_srch2.Text = msg.sRetCode;
                    raw_mat_temp   = msg.sRetNM;

                    input_raw_list();
                    inputRmGrid.Rows.Clear();
                }
            }
        }