Пример #1
0
 public ElevatorSystemWidget(IElevatorSystem es)
 {
     eSystem = es;
     HBox hbox = new HBox(false, 3);
     hbox.PackStart(new ElevatorWidget(es.Elevator), false, false, 0);
     hbox.PackStart(new PersonListWidget(es.PersonList), true, true, 0);
     AddWithViewport(hbox);
     Child.ShowAll();
 }
Пример #2
0
 public ElevatorSystemHostedService(IElevatorSystem elevatorSystem, IWaiterService waiterService)
 {
     _elevatorSystem = elevatorSystem;
     _waiterService  = waiterService;
 }