コード例 #1
0
        private void toolAdd_Click(object sender, EventArgs e)
        {
            ControlStatus();
            ClearControls();
            toolStrip1.Tag = "ADD"; //添加操作标识

            dtpFIDepositDate.Value        = DateTime.Today;
            cbxOperatorCode.SelectedValue = PropertyClass.OperatorCode;
            cbxIsFlag.SelectedValue       = "0";
            txtFIDepositCode.Text         = commUse.BuildBillCode("FIDeposit", "FIDepositCode", "FIDepositDate", dtpFIDepositDate.Value);
        }
コード例 #2
0
        private void toolAdd_Click(object sender, EventArgs e)
        {
            ControlStatus();
            ClearControls();
            toolStrip1.Tag = "ADD"; //添加标识

            dtpPUInDate.Value             = DateTime.Today;
            cbxOperatorCode.SelectedValue = PropertyClass.OperatorCode;
            txtQuantity.Text        = "1";
            cbxIsFlag.SelectedValue = "0";

            txtPUInCode.Text = commUse.BuildBillCode("PUInStore", "PUInCode", "PUInDate", dtpPUInDate.Value);
        }
コード例 #3
0
        private void toolAdd_Click(object sender, EventArgs e)
        {
            ControlStatus();
            ClearControls();
            toolStrip1.Tag = "ADD"; //添加标识

            dtpPRProduceDate.Value        = DateTime.Today;
            cbxOperatorCode.SelectedValue = PropertyClass.OperatorCode;
            dtpStartDate.Value            = DateTime.Today;
            dtpEndDate.Value        = DateTime.Today;
            cbxIsFlag.SelectedValue = "0";

            txtPRProduceCode.Text = commUse.BuildBillCode("PRProduce", "PRProduceCode", "PRProduceDate", dtpPRProduceDate.Value);
        }