Example #1
0
 /// <summary>
 /// Alissa Duffy
 /// Updated: 2017/04/21
 ///
 /// Initialize of Add Product Lot View Window.
 /// Standardized method.
 /// </summary>
 /// <param name="prodMgr"></param>
 /// <param name="prodLot"></param>
 public frmAddProductLot(ProductLotManager prodMgr, ProductLot prodLot)
 {
     InitializeComponent();
     _productLotManager = prodMgr;
     _productLot        = prodLot;
     FillProductLotDetails(_productLot);
 }
 /// <summary>
 /// Alissa Duffy
 /// Updated: 2017/04/21
 ///
 /// Initialize the Submit Supplier Invoice Window.
 /// Standardized method.
 /// </summary>
 /// <param name="supplier"></param>
 /// <param name="productLotManager"></param>
 /// <param name="supplierInvoiceManager"></param>
 public frmSubmitSupplierInvoice(Supplier supplier, IProductLotManager productLotManager, ISupplierInvoiceManager supplierInvoiceManager)
 {
     _supplier               = supplier;
     _productLotManager      = productLotManager;
     _supplierInvoiceManager = supplierInvoiceManager;
     InitializeComponent();
 }
Example #3
0
 /// <summary>
 /// Ryan Spurgetis
 /// 4/28/2017
 ///
 /// Initialize product lot window based on pickup selected
 /// </summary>
 /// <param name="pickupManager"></param>
 /// <param name="pickupLine"></param>
 public frmAddProductLot(IPickupManager pickupManager, PickupLine pickupLine, Employee employee)
 {
     InitializeComponent();
     _productLotManager = new ProductLotManager();
     _pickupManager     = pickupManager;
     _pickupLine        = pickupLine;
     _employee          = employee;
     SetValuesFromPickupLine(_pickupLine);
 }
 /// <summary>
 /// Alissa Duffy
 /// Updated: 2017/04/21
 ///
 /// Initialize Manage Stock Window.
 /// Standardized method.
 /// </summary>
 /// <param name="productLotManager"></param>
 /// <param name="productManager"></param>
 /// <param name="supplierManager"></param>
 /// <param name="locationManager"></param>
 public frmManageStock(IProductLotManager productLotManager, IProductManager productManager,
                       ISupplierManager supplierManager, ILocationManager locationManager)
 {
     _productLotManager = productLotManager;
     _supplierManager   = supplierManager;
     _productManager    = productManager;
     _locationManager   = locationManager;
     InitializeComponent();
     RetrieveProductLots();
     ParseLotsIntoViewModel();
     RefreshDgProductLot();
 }
 /// <summary>
 /// Alissa Duffy
 /// Updated: 2017/04/24
 ///
 /// Initialize the Add Inspection form.
 /// Standardized method.
 /// </summary>
 /// <param name="productLot"></param>
 /// <param name="gradeManager"></param>
 /// <param name="currentEmp"></param>
 /// <param name="productManager"></param>
 /// <param name="supplierManager"></param>
 /// <param name="InspectionManager"></param>
 /// <param name="productLotManager"></param>
 public frmAddInspection(ProductLot productLot, IGradeManager gradeManager,
                         Employee currentEmp, IProductManager productManager, ISupplierManager supplierManager,
                         IInspectionManager InspectionManager, IProductLotManager productLotManager)
 {
     _gradeManager      = gradeManager;
     _productLot        = productLot;
     _currentEmp        = currentEmp;
     _productManager    = productManager;
     _supplierManager   = supplierManager;
     _inspectionManager = InspectionManager;
     _productLotManager = productLotManager;
     InitializeComponent();
 }
Example #6
0
 /// <summary>
 /// Alissa Duffy
 /// Updated: 2017/04/21
 ///
 /// Initialize of Add Product Lot View Window.
 /// Standardized method.
 /// </summary>
 public frmAddProductLot()
 {
     InitializeComponent();
     _productLotManager = new ProductLotManager();
     FillDefaultValues();
 }
Example #7
0
 /// <summary>
 /// Alissa Duffy
 /// Updated: 2017/04/24
 ///
 /// Initialize Confirm Form.
 /// Standardized methods.
 /// </summary>
 /// <param name="prodLotManager"></param>
 /// <param name="prodLot"></param>
 public frmConfirm(IProductLotManager prodLotManager, ProductLot prodLot)
 {
     _prodLotManager = prodLotManager;
     _prodLOt        = prodLot;
     InitializeComponent();
 }