예제 #1
0
 public FleetTrendVm(IFleetPlanService service)
     : base(service)
 {
     _service = service;
     _service.GetAirlineses(() => { });
     _fleetPlanContext = _service.Context;
     ViewModelInitializer();
     AddRadMenu(_aircraftWindow);
     InitializeVm();
 }
예제 #2
0
        public PassengerAircraftTrendVm(IFleetPlanService service)
            : base(service)
        {
            _service = service;
            _fleetPlanContext = _service.Context;
            _service.GetAirlineses(null);
            ViewModelInitializer();

            InitalizerRadWindows(_aircraftWindow, "Aircraft", 200);
            InitalizerRadWindows(_seatWindow, "Seat", 220);
            InitalizerRadWindows(_loadWindow, "Load", 240);
            AddRadMenu(_aircraftWindow);
            AddRadMenu(_seatWindow);
            AddRadMenu(_loadWindow);
            InitializeVm();
        }