コード例 #1
0
        private void btnPrintBOL_Click(object sender, EventArgs e)
        {
            frmBOL objBOLForm;


            PopulateBOL();
            objBOLForm = new frmBOL(mobjItem == null ? null : mobjItem.SelectedOrder, mobjBOL);
            objBOLForm.ShowDialog();
        }
コード例 #2
0
        private void btnBOL_Click(object sender, EventArgs e)
        {
            frmBOL objBOLForm;
            BillOfLading objBOL;

            objBOL = new BillOfLading();
            objBOLForm = new frmBOL(mobjOrder, objBOL);
            objBOLForm.ShowDialog();
        }
コード例 #3
0
        private void btnBOL_Click(object sender, EventArgs e)
        {
            frmBOL       objBOLForm;
            BillOfLading objBOL;


            objBOL     = new BillOfLading();
            objBOLForm = new frmBOL(mobjOrder, objBOL);
            objBOLForm.ShowDialog();
        }
コード例 #4
0
        private void btnPrintBOL_Click(object sender, EventArgs e)
        {
            frmBOL objBOLForm;


            mstrbldrErrors.Clear();
            this.ValidateChildren();
            if (mstrbldrErrors.Length > 0)
            {
                return;
            }

            PopulateBOL();                                        //zero out values and get the palletcount
            mobjBOL.GrossWeight = double.Parse(txtTotalWgt.Text); //reset the values to the textbox-note values have been validated
            mobjBOL.Quantity    = int.Parse(txtQuantity.Text);


            objBOLForm = new frmBOL(mobjItem.SelectedOrder, mobjBOL);
            objBOLForm.ShowDialog();
        }
コード例 #5
0
        private void btnPrintBOL_Click(object sender, EventArgs e)
        {
            frmBOL objBOLForm;

            mstrbldrErrors.Clear();
            this.ValidateChildren();
            if (mstrbldrErrors.Length > 0)
                return;

            PopulateBOL();//zero out values and get the palletcount
            mobjBOL.GrossWeight = double.Parse(txtTotalWgt.Text);//reset the values to the textbox-note values have been validated
            mobjBOL.Quantity = int.Parse(txtQuantity.Text);

            objBOLForm = new frmBOL(mobjItem.SelectedOrder, mobjBOL);
            objBOLForm.ShowDialog();
        }