Beispiel #1
0
 public frmOpenningQuantities()
 {
     InitializeComponent();
     iNVProductStockCollection = new INVProductStockCollection();
     _iNVInventoryWrapper      = new INVInventoryWrapper();
     _bDProductWrapper         = new BDProductWrapper();
     _iNVProductStockWrapper   = new INVProductStockWrapper();
     FillInventoryCBX();
 }
Beispiel #2
0
        private void frmStockInquiry_Load(object sender, EventArgs e)
        {
            INVInventoryWrapper _inventoryWrapper = new INVInventoryWrapper();

            cmb_Inventory.DataSource    = _inventoryWrapper.SelectAll();
            cmb_Inventory.DisplayMember = "InventoryName";
            cmb_Inventory.ValueMember   = "InventoryID";
            cmb_Inventory.SelectedIndex = -1;
        }
Beispiel #3
0
 public FrmTransferOrderSearch()
 {
     InitializeComponent();
     base.lbl_FormHeader.Text       = "بحث";
     this._invtransferHeaderWrapper = new INVTransferHeaderWrapper();
     this._inventoryWrapper         = new INVInventoryWrapper();
     FillStokeCBX();
     InitiateGrid(null);
 }
 public frmPurchaseOrderSearch()
 {
     InitializeComponent();
     // base.toggelButton(base.btn_Close);
     base.lbl_FormHeader.Text = "فواتير الشراء";
     pURPurchaseHeaderWrapper = new PURPurchaseHeaderWrapper();
     invInventoryWerapper     = new INVInventoryWrapper();
     InitiateGrid();
 }
 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;
 }
Beispiel #6
0
 public frmSalesOrderAddEdit()
 {
     InitializeComponent();
     _bDTaxTypeWrapper      = new BDTaxTypeWrapper();
     _paymentTypeWrapper    = new PaymentTypeWrapper();
     _bDCustomerWrapper     = new BDCustomerWrapper();
     sALSalesLineCollection = new SALSalesLineCollection();
     _sALSalesHeader        = new SALSalesHeader();
     _sALSalesLinerWrapper  = new SALSalesLinerWrapper();
     _iNVInventoryWrapper   = new INVInventoryWrapper();
     FillCustomerCBX();
     FillPaymentTypeCBX();
     FillTaxTypeCBX();
     FillInventoryCBX();
 }
 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;
 }
 public FrmAddEditTransferOrder(FrmTransferOrderSearch frmTransferOrderSearch, int transferHeaderID)
 {
     InitializeComponent();
     this._bDTaxTypeWrapper       = new BDTaxTypeWrapper();
     this._paymentTypeWrapper     = new PaymentTypeWrapper();
     this._bDCustomerWrapper      = new BDCustomerWrapper();
     this.transferLineCollection  = new INVTransferLineCollection();
     this._inventoryWrapper       = new INVInventoryWrapper();
     this._transferHeaderWrapper  = new INVTransferHeaderWrapper();
     this._frmTransferOrderSearch = frmTransferOrderSearch;
     FillStokeCBX();
     if (transferHeaderID > 0)
     {
         this._transferHeaderID = transferHeaderID;
         GetTransferOrderData(transferHeaderID);
     }
 }
Beispiel #9
0
 public frmSalesOrderAddEdit(int salesHeaderID)
 {
     InitializeComponent();
     _bDTaxTypeWrapper      = new BDTaxTypeWrapper();
     _paymentTypeWrapper    = new PaymentTypeWrapper();
     _bDCustomerWrapper     = new BDCustomerWrapper();
     _sALSalesLinerWrapper  = new SALSalesLinerWrapper();
     _sALSalesHeaderWrapper = new SALSalesHeaderWrapper();
     _iNVInventoryWrapper   = new INVInventoryWrapper();
     FillCustomerCBX();
     FillPaymentTypeCBX();
     FillTaxTypeCBX();
     FillInventoryCBX();
     GetSalesOrderData(salesHeaderID);
     FillHeaderData();
     BindGrid();
 }