示例#1
0
文件: Batch.cs 项目: Strongc/sencond
        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);
        }