コード例 #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);
        }
コード例 #2
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;
        }