From dfeb167691167afe4e1f6d45310061ef19c6b38b Mon Sep 17 00:00:00 2001 From: TheJoKlLa Date: Thu, 16 Sep 2021 22:50:01 +0200 Subject: [PATCH] Changed: MachinePage to new Machine API --- Borepin/Borepin/App.xaml.cs | 8 ++- Borepin/Borepin/Borepin.csproj | 3 + Borepin/Borepin/Page/MachinePage.xaml | 4 +- .../Borepin/PageModel/MachineListPageModel.cs | 26 +++---- Borepin/Borepin/PageModel/MachinePageModel.cs | 72 +++++++------------ .../ViewModel/ServerListItemViewModel.cs | 25 +++---- 6 files changed, 61 insertions(+), 77 deletions(-) diff --git a/Borepin/Borepin/App.xaml.cs b/Borepin/Borepin/App.xaml.cs index fa19df7..6368efa 100644 --- a/Borepin/Borepin/App.xaml.cs +++ b/Borepin/Borepin/App.xaml.cs @@ -41,16 +41,18 @@ namespace Borepin containerRegistry.RegisterForNavigation(); containerRegistry.RegisterForNavigation(); containerRegistry.RegisterForNavigation(); - containerRegistry.RegisterForNavigation("AddServerProcess_LoginPasswordPage"); - containerRegistry.RegisterForNavigation("AddServerProcess_HostSelectPage"); - containerRegistry.RegisterForNavigation("AddServerProcess_LoginChoosePage"); containerRegistry.RegisterForNavigation(); containerRegistry.RegisterForNavigation(); containerRegistry.RegisterForNavigation(); containerRegistry.RegisterForNavigation(); + containerRegistry.RegisterForNavigation("SetUpProcess_WelcomePage"); containerRegistry.RegisterForNavigation("SetUpProcess_ScanPage"); + containerRegistry.RegisterForNavigation("AddServerProcess_LoginPasswordPage"); + containerRegistry.RegisterForNavigation("AddServerProcess_HostSelectPage"); + containerRegistry.RegisterForNavigation("AddServerProcess_LoginChoosePage"); + // Register Dialog containerRegistry.RegisterDialog(); diff --git a/Borepin/Borepin/Borepin.csproj b/Borepin/Borepin/Borepin.csproj index 5738be6..71862f2 100644 --- a/Borepin/Borepin/Borepin.csproj +++ b/Borepin/Borepin/Borepin.csproj @@ -98,6 +98,9 @@ MSBuild:UpdateDesignTimeXaml + + MSBuild:UpdateDesignTimeXaml + MSBuild:UpdateDesignTimeXaml diff --git a/Borepin/Borepin/Page/MachinePage.xaml b/Borepin/Borepin/Page/MachinePage.xaml index b47e264..b58a669 100644 --- a/Borepin/Borepin/Page/MachinePage.xaml +++ b/Borepin/Borepin/Page/MachinePage.xaml @@ -21,8 +21,8 @@