示例#1
0
 public frmPurchaseOrderSearch()
 {
     InitializeComponent();
     // base.toggelButton(base.btn_Close);
     base.lbl_FormHeader.Text = "فواتير الشراء";
     pURPurchaseHeaderWrapper = new PURPurchaseHeaderWrapper();
     invInventoryWerapper = new INVInventoryWrapper();
     InitiateGrid();
 }
示例#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;

        }
示例#3
0
 public frmOpenningQuantities()
 {
     InitializeComponent();
     iNVProductStockCollection = new INVProductStockCollection();
     _iNVInventoryWrapper = new INVInventoryWrapper();
     _bDProductWrapper = new BDProductWrapper();
     _iNVProductStockWrapper = new INVProductStockWrapper();
     FillInventoryCBX();
 }
示例#4
0
 public FrmTransferOrderSearch()
 {
     InitializeComponent();
     base.lbl_FormHeader.Text = "بحث";
     this._invtransferHeaderWrapper = new INVTransferHeaderWrapper();
     this._inventoryWrapper = new INVInventoryWrapper();
     FillStokeCBX();
     InitiateGrid(null);
 }
示例#5
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;
 }
示例#6
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;
 }
示例#7
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();
 }
示例#8
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();
 }
示例#9
0
 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);
         disableCBX();
     }
 }