Example #1
0
        private bool DataValidation_Batchno()
        {
            strBatchNo = "";
            strOrderNo = "";
            strSpec    = "";
            strLength  = "";



            frmSetSpec frm = new frmSetSpec(_PRODUCELINE, _CODETYPE, Success, strBatchNo, strOrderNo, strSpec, strLength);

            frm.Location = CommonMethod.SetChildWindowLocation(frm.Size);

            if (frm.ShowDialog() == DialogResult.OK)
            {
                strBatchNo = frm.BATCHNO;
                strOrderNo = frm.ORDERNO;
                strSpec    = frm.SPEC;
                strLength  = frm.LEN;
                return(true);
            }

            return(false);
        }
Example #2
0
        private bool DataValidation_Batchno()
        {
            strBatchNo = "";
            strOrderNo = "";
            strSpec = "";
            strLength = "";

            frmSetSpec frm = new frmSetSpec(_PRODUCELINE, _CODETYPE, Success, strBatchNo, strOrderNo, strSpec, strLength);
            frm.Location = CommonMethod.SetChildWindowLocation(frm.Size);

            if (frm.ShowDialog() == DialogResult.OK)
            {
                strBatchNo = frm.BATCHNO;
                strOrderNo = frm.ORDERNO;
                strSpec = frm.SPEC;
                strLength = frm.LEN;
                return true;
            }

            return false;
        }