Esempio n. 1
0
        public RoomMapViewModel()
        {
            ofd = new OpenFileDialog {
                Filter = "All Supported Image Files (*.jpg;*.png;*.bmp)|*.jpg;*.png;*.bmp|JPEG Files (*.jpg)|*.jpg|Bitmap Files (*.bmp)|*.bmp|PNG Files (*.png)|*.png", DefaultExt = "*.jpg;*.png;*.bmp"
            };
            ListFloors = new ObservableCollection <Floor>(WinHueSettings.LoadFloorPlans());

            _deleteFloor = new List <string>();
        }
Esempio n. 2
0
 public void LoadFloorPlans()
 {
     SelectedFloorPlan = null;
     ListFloorPlans    = new ObservableCollection <Floor>(WinHueSettings.LoadFloorPlans());
 }