Esempio n. 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>();
        }
        public frmTourGroupManager()
        {
            InitializeComponent();

            _tourGroupBus = new TourGroupBUS();

            _tourBus = new TourBUS();

            _passengerBus = new PassengerBUS();

            _customerBus = new CustomerBUS();

            _employeeTourGroupBus = new EmployeeTourGroupBUS();

            _transportTourGroupBus = new TransportTourGroupBUS();

            _transportBus = new TransportBUS();

            _employeeBus = new EmployeeBUS();

            _transportPresenter = new TransportPresenter(this);

            _tourGroupSearchPresenter = new TourGroupSearchPresenter(this);

            init();
        }
 public TransportSearchEngine()
 {
     _bus   = new TransportBUS();
     _entry = _bus.getEntries();
 }
Esempio n. 4
0
 public TransportPresenter(ITransportView view)
 {
     _view = view;
     _bus  = new TransportBUS();
 }