private void frm_msg_Load(object sender, EventArgs e)
        {
            lblDate.Text     = ": " + sDate.ToString().Substring(0, 4) + "-" + sDate.ToString().Substring(4, 2) + "-" + sDate.ToString().Substring(6, 2);
            lblLine.Text     = ": " + sUPCMLineCD;
            lblStyle.Text    = ": " + sStyleCD;
            lblSize.Text     = ": " + sCS_Size;
            lblHH.Text       = ": " + sPrio_Input;
            lblQty.Text      = ": " + Prod;
            _CellColorHelper = new CellColorHelper(gvwView);
            DataTable DT = SELECT_STITCHING_REASON();

            if (DT != null && DT.Rows.Count > 0)
            {
                ComboBox_Setting(cboReason, DT, 0, 1, 1);
                cboReason.SelectedValue = sReason;
            }
            //Search_Data();
            DT = null;
            if (sLineCD == "51LG")
            {
                DT = SELECT_STITCHING_LINE_CHANGE(sLineCD + sUPSMLineCD);
            }
            else
            {
                DT = SELECT_STITCHING_LINE_CHANGE(sLineCD);
            }
            if (DT != null && DT.Rows.Count > 0)
            {
                ComboBox_Setting(cboUPSLine, DT, 0, 1, 1);
                cboUPSLine.SelectedValue = sUPSMLineCD;
            }
        }
Exemple #2
0
 private void frm_msg_Load(object sender, EventArgs e)
 {
     _CellColorHelper = new CellColorHelper(gvwView);
 }