public frmCustomerAccountEdit(int customerID, FrmCustomerSearch _frmCustomerSearch)
 {
     InitializeComponent();
     this._customerID = customerID;
     this._bDCustomerWrapper = new BDCustomerWrapper();
     this._customer = new BDCustomer();
     this.frmCustomerSearchObj = _frmCustomerSearch;
     FillCustomerData();
 }
Beispiel #2
0
 public frmCustomerAccounts()
 {
     InitializeComponent();
     base.lbl_FormHeader.Text = "بحث";
     base.btn_Add.Visible = false;
     base.btn_Delete.Visible = false;
     this._customerAccountWrapper = new BDCustomerAccountWrapper();
     this._customerWrapper = new BDCustomerWrapper();
     FillCustomerCBX();
     //InitiateGrid(null);
 }
Beispiel #3
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();
 }
Beispiel #4
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();
 }
 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();
     }
 }
Beispiel #6
0
 public FrmCustomerSearch()
 {
     InitializeComponent();
     _bDCustomerWrapper = new BDCustomerWrapper();
 }
Beispiel #7
0
 public FrmCustomerAddEdit(int? CustomerId)
 {
     InitializeComponent();
     customerWrapper = new BDCustomerWrapper();
     CustomerID = CustomerId;
 }
Beispiel #8
0
 public FrmCustomerAddEdit()
 {
     InitializeComponent();
     customerWrapper = new BDCustomerWrapper();
    
 }