Example #1
0
        private void btnPrintBOL_Click(object sender, EventArgs e)
        {
            frmBOL objBOLForm;


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

            objBOL = new BillOfLading();
            objBOLForm = new frmBOL(mobjOrder, objBOL);
            objBOLForm.ShowDialog();
        }
        private void btnBOL_Click(object sender, EventArgs e)
        {
            frmBOL       objBOLForm;
            BillOfLading objBOL;


            objBOL     = new BillOfLading();
            objBOLForm = new frmBOL(mobjOrder, objBOL);
            objBOLForm.ShowDialog();
        }
Example #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();
        }
        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();
        }