public MainMenuWindow(Terminal.Gui.View parent, Model.User user) : base("Menu Główne")
 {
     this.user = user;
     _parent   = parent;
     InitControls();
     InitStyle();
 }
示例#2
0
 public UserListWindow(Terminal.Gui.View parent, List <Model.User> userList) : base("Zarządzaj użytkownikami")
 {
     this.users = userList;
     _parent    = parent;
     InitControls();
     InitStyle();
 }
        public UserReservationListWindow(Terminal.Gui.View parent, List <Model.Reservation> reservationList) : base("Lista moich rezerwacji")

        {
            this.reservations = reservationList;
            _parent           = parent;
            InitControls();
            InitStyle();
        }
示例#4
0
 public CarListWindow(Terminal.Gui.View parent, List <Model.Car> car_list, Model.User user, Controller.AppController controler) : base("Wypożyczalnia")
 {
     _parent           = parent;
     this.myController = controler;
     this.cars         = car_list;
     this.user         = user;
     InitControls();
     InitStyle();
 }
示例#5
0
        public ReservationListWindow(Terminal.Gui.View parent, List <Model.Reservation> reservationList, List <Model.User> users) : base("Zarządzaj rezerwacjami")

        {
            this.users        = users;
            this.reservations = reservationList;
            _parent           = parent;
            InitControls();
            InitStyle();
        }
示例#6
0
 public ReservationWindow(Terminal.Gui.View parent, List <Model.Car> cars, Model.Car selectedCar, Model.User user, Controller.AppController controller) : base("Dodaj rezerwację")
 {
     this.controller  = controller;
     this.cars        = cars;
     this.user        = user;
     this.selectedCar = selectedCar;
     _parent          = parent;
     InitControls();
     InitStyle();
 }
示例#7
0
 public AppSettings(Terminal.Gui.View parent) : base("Ustawienia aplikacji")
 {
     _parent = parent;
     InitControls();
     InitStyle();
 }