public CreateCompanyCustomerCommand(
     CompanyCustomer companyCustomer,
     CompanyCustomerCatalog companyCustomerCatalog,
     CompanyCustomerItemViewModel ivm)
 {
     _companyCustomer        = companyCustomer;
     _companyCustomerCatalog = companyCustomerCatalog;
     _ivm = ivm;
 }
Exemplo n.º 2
0
        public DomainModel()
        {
            _companyCustomerCatalog            = new CompanyCustomerCatalog();
            _housingAssociationCustomerCatalog = new HousingAssociationCustomerCatalog();
            _privateCustomerCatalog            = new PrivateCustomerCatalog();

            _customers = new ObservableCollection <CustomerBase>();

            _zipCatalog = new ZipCatalog();


            _puttyCatalog     = new PuttyCatalog();
            _toolCatalog      = new ToolCatalog();
            _coverCatalog     = new CoverCatalog();
            _wallCoverCatalog = new WallCoverCatalog();
            _paintCatalog     = new PaintCatalog();

            _products = new ObservableCollection <ProductBase>();
        }
Exemplo n.º 3
0
 public CompanyCustomerItemViewModel()
 {
     _companyCustomer              = new CompanyCustomer();
     _companyCustomerCatalog       = new CompanyCustomerCatalog();
     _createCompanyCustomerCommand = new CreateCompanyCustomerCommand(_companyCustomer, _companyCustomerCatalog, this);
 }