public Main()
        {
            Application.Current.MainWindow.WindowState = WindowState.Maximized;
            //Maak de db connectie aan
            RoomService.Instance.Get(0);

            Navigator = Navigator.Instance;

            //Listen naar propertychanged events van de navigator om de navigation bar te updaten
            Navigator.PropertyChanged += OnNavigatorChange;

            Navigator.Push(new HomeView());
            GotoHome     = new PageCommand(() => new HomeView());
            GotoProducts = new PageCommand(() => new ViewProductsView());
            GotoDesigns  = new PageCommand(
                () => {
                ViewDesignsView DesignCatalog = new ViewDesignsView();
                DesignCatalog.DesignSelected += (o, e) => {
                    Navigator.Instance.Replace(new DesignEditorView(e.Value));
                };
                return(DesignCatalog);
            }
                );
            GotoRooms = new PageCommand(() => new ViewRoomsView());
        }
 public Home()
 {
     GotoDesigns = new PageCommand(
         () => {
         ViewDesignsView DesignCatalog = new ViewDesignsView();
         DesignCatalog.DesignSelected += (o, e) => {
             Navigator.Instance.Replace(new DesignEditorView(e.Value));
         };
         return(DesignCatalog);
     }
         );
     GotoProducts = new PageCommand(() => new ViewProductsView());
     GotoRooms    = new PageCommand(() => new ViewRoomsView());
 }