Initial navigaiton work; opening Windows

This commit is contained in:
TheXamlGuy
2024-02-04 22:06:55 +00:00
parent 110ac407f5
commit 43f96fd4f0
19 changed files with 228 additions and 94 deletions
+2 -1
View File
@@ -8,7 +8,6 @@ using Microsoft.UI.Dispatching;
using Microsoft.UI.Xaml;
using System.Reflection;
using Hyperbar.Widget.Windows;
using Microsoft.UI.Xaml.Markup;
namespace Hyperbar.Windows;
@@ -46,6 +45,8 @@ public partial class App :
args.Placement = DesktopApplicationBarPlacemenet.Top;
});
services.AddNavigationHandler<WindowHandler>();
services.AddSingleton<DesktopApplicationBar>();
services.AddContentTemplate<ApplicationBarViewModel, ApplicationBarView>();
services.AddContentTemplate<PrimaryViewModel, PrimaryView>();