public RasporedjivanjeOpreme(Room room, Inventory inventory, OpremaWindow parent)
 {
     InitializeComponent();
     this._parent              = parent;
     _selectedInventory        = inventory;
     _selectedRoom             = room;
     RoomsComboBox.ItemsSource = _roomController.DisplayRoomsForRelocating(_selectedRoom);
 }
Beispiel #2
0
        public RasporedjivanjeStatickeWindow(Room room, Inventory inventory, OpremaWindow parent)
        {
            InitializeComponent();
            this._parent              = parent;
            _selectedinventory        = inventory;
            _selectedRoom             = room;
            RoomsComboBox.ItemsSource = _roomController.DisplayRoomsForRelocating(_selectedRoom);

            CalendarDateRange calendar = new CalendarDateRange(DateTime.MinValue, DateTime.Today.AddDays(-1));

            DateTo.BlackoutDates.Add(calendar);
        }