Пример #1
0
 public FrmAdjustStockAddEdit(FrmAdjustmentSearch frmAdjustmentSearch)
 {
     InitializeComponent();
     this._invProductStockWrapper   = new INVProductStockWrapper();
     this._inventoryWrapper         = new INVInventoryWrapper();
     this._stockTypeWrapper         = new INVStockTypeWrapper();
     this._adjustStockReasonWrapper = new INVAdjustStockReasonWrapper();
     this._adjustStockWrapper       = new INVAdjustStockWrapper();
     this._adjustStock           = new INVAdjustStock();
     this._ProductWrapper        = new BDProductWrapper();
     this._adjustStockCollection = new INVAdjustStockCollection();
     this._isEdit = false;
     this._frmAdjustmentSearch = frmAdjustmentSearch;
 }
Пример #2
0
 public FrmAdjustStockAddEdit(int id, FrmAdjustmentSearch frmAdjustmentSearch)
 {
     InitializeComponent();
     this._invProductStockWrapper   = new INVProductStockWrapper();
     this._inventoryWrapper         = new INVInventoryWrapper();
     this._stockTypeWrapper         = new INVStockTypeWrapper();
     this._adjustStockReasonWrapper = new INVAdjustStockReasonWrapper();
     this._adjustStockWrapper       = new INVAdjustStockWrapper();
     this._adjustStock    = new INVAdjustStock();
     this._ProductWrapper = new BDProductWrapper();
     this._isEdit         = true;
     this._adjustStockID  = id;
     GetAdjustStockData(_adjustStockID.Value);
     this._frmAdjustmentSearch = frmAdjustmentSearch;
 }