コード例 #1
0
        public fmSearch()
        {
            InitializeComponent();
            postInit();
            _customerSearchpresenter  = new CustomerSearchPresenter(this);
            _tourSearchpresenter      = new TourSearchPresenter(this);
            _tourGroupSearchPresenter = new TourGroupSearchPresenter(this);

            _bus   = new TourCategoryBUS();
            _entry = _bus.getEntries();

            _destinationBus = new DestinationBUS();
            _detinations    = _destinationBus.getEntries();

            _tourPriceBus = new TourPriceBUS();
            _tourPrices   = _tourPriceBus.getEntries();
            _minPrice     = _tourPriceBus.getMinPrice();
            _maxPrice     = _tourPriceBus.getMaxPrice();

            _transportBUS = new TransportBUS();
            _transports   = _transportBUS.getEntries();

            _tourGroupBus  = new TourGroupBUS();
            _minDepartDate = _tourGroupBus.getMinDepartDate();
            _maxReturnDate = _tourGroupBus.getMaxReturnDate();

            tourGroupSearchEngine = new SearchEngine <TourGroup>();
        }
コード例 #2
0
 public TransportSearchEngine()
 {
     _bus   = new TransportBUS();
     _entry = _bus.getEntries();
 }
コード例 #3
0
 public void loadAllTransports()
 {
     _transports = _bus.getEntries();
     _view.upateTransportsView(_transports);
 }