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; }
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; }
private void mnuItem_Adjustment_Click(object sender, EventArgs e) { FrmAdjustmentSearch frm = new FrmAdjustmentSearch(); switchForm(frm); }