public frmShipItem(Item objItem)
        {
            InitializeComponent();

            mobjItem = objItem;
            mobjBOL = new BillOfLading();
        }
        public frmConfirmRecieveitem( Item objItem, BillOfLading objBOL )
        {
            InitializeComponent();

            mobjItem = objItem;
            mobjBOL = objBOL;
        }
        public frmBOL(Order objOrder, BillOfLading objBOL)
        {
            InitializeComponent();

            mobjOrder = objOrder;
            mobjBOL = objBOL;
        }
        private void btnBOL_Click(object sender, EventArgs e)
        {
            frmBOL objBOLForm;
            BillOfLading objBOL;

            objBOL = new BillOfLading();
            objBOLForm = new frmBOL(mobjOrder, objBOL);
            objBOLForm.ShowDialog();
        }
        public frmPrintLabel(Item objItem, BillOfLading objBOL)
        {
            int intTemp = 0;

            InitializeComponent();

            bw = new BackgroundWorker();
            bw.WorkerReportsProgress = true;
            bw.WorkerSupportsCancellation = true;
            bw.DoWork += new DoWorkEventHandler(bw_DoWork);
            //bw.ProgressChanged += new ProgressChangedEventHandler(bw_ProgressChanged);
            bw.RunWorkerCompleted += new RunWorkerCompletedEventHandler(bw_RunWorkerCompleted);

            mobjItem = objItem;
            mobjBOL = objBOL;

            if (int.TryParse(mobjItem.SelectedOrder.CustomerNumber, out intTemp))
                mintCustomerNumber = intTemp;
            else if (int.TryParse(mobjItem.SelectedJob.CustomerNumber, out intTemp))
                mintCustomerNumber = intTemp;

            mstrCustomerName = mobjItem.SelectedJob.CustomerName;

            mobjSelectedLabel = new WTFClassLibrary.Label();

            grpMultiple.Enabled = false;
            chkMultiple.Checked = false;
        }
Beispiel #6
0
 public bool AddToReceiveHistory(BillOfLading objBOL, string strOperator)
 {
     return(AddToReceiveHistory(objBOL.Quantity, strOperator, objBOL.GrossWeight, objBOL.PalletCount));
 }
Beispiel #7
0
 public bool AddToReceiveHistory(BillOfLading objBOL, string strOperator)
 {
     return AddToReceiveHistory(objBOL.Quantity, strOperator, objBOL.GrossWeight, objBOL.PalletCount);
 }