Пример #1
0
 public frmCustomerAccountEdit(int customerID, FrmCustomerSearch _frmCustomerSearch)
 {
     InitializeComponent();
     this._customerID = customerID;
     this._bDCustomerWrapper = new BDCustomerWrapper();
     this._customer = new BDCustomer();
     this.frmCustomerSearchObj = _frmCustomerSearch;
     FillCustomerData();
 }
Пример #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);
 }
Пример #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();
 }
Пример #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();
 }
Пример #5
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();
     }
 }
Пример #6
0
 public FrmCustomerSearch()
 {
     InitializeComponent();
     _bDCustomerWrapper = new BDCustomerWrapper();
 }
Пример #7
0
 public FrmCustomerAddEdit(int? CustomerId)
 {
     InitializeComponent();
     customerWrapper = new BDCustomerWrapper();
     CustomerID = CustomerId;
 }
Пример #8
0
 public FrmCustomerAddEdit()
 {
     InitializeComponent();
     customerWrapper = new BDCustomerWrapper();
    
 }