From 535451e59b41598ca9a846301c3b2cf39e446831 Mon Sep 17 00:00:00 2001 From: "drake.pham" Date: Fri, 25 Oct 2024 09:08:01 +0700 Subject: [PATCH] Add loginformation page --- PCUT/PCUT/PCUT.csproj | 7 +++++++ PCUT/PCUT/Pages/AdminCenterPage.xaml | 1 + PCUT/PCUT/Pages/AdminCenterPage.xaml.cs | 6 +++++- PCUT/PCUT/Pages/Logs/LogInformationPage.xaml | 14 ++++++++++++++ PCUT/PCUT/Pages/Logs/LogInformationPage.xaml.cs | 17 +++++++++++++++++ 5 files changed, 44 insertions(+), 1 deletion(-) create mode 100644 PCUT/PCUT/Pages/Logs/LogInformationPage.xaml create mode 100644 PCUT/PCUT/Pages/Logs/LogInformationPage.xaml.cs diff --git a/PCUT/PCUT/PCUT.csproj b/PCUT/PCUT/PCUT.csproj index fb7e32a..b784ee3 100644 --- a/PCUT/PCUT/PCUT.csproj +++ b/PCUT/PCUT/PCUT.csproj @@ -194,6 +194,9 @@ CategoriesViewPage.xaml + + LogInformationPage.xaml + UserGuidePage.xaml @@ -361,6 +364,10 @@ Designer MSBuild:Compile + + MSBuild:Compile + Designer + MSBuild:Compile Designer diff --git a/PCUT/PCUT/Pages/AdminCenterPage.xaml b/PCUT/PCUT/Pages/AdminCenterPage.xaml index 55ea1c2..3c908ce 100644 --- a/PCUT/PCUT/Pages/AdminCenterPage.xaml +++ b/PCUT/PCUT/Pages/AdminCenterPage.xaml @@ -29,6 +29,7 @@ + diff --git a/PCUT/PCUT/Pages/AdminCenterPage.xaml.cs b/PCUT/PCUT/Pages/AdminCenterPage.xaml.cs index 5318e06..47ecd00 100644 --- a/PCUT/PCUT/Pages/AdminCenterPage.xaml.cs +++ b/PCUT/PCUT/Pages/AdminCenterPage.xaml.cs @@ -1,4 +1,5 @@ -using System; +using PCUT.Pages.Logs; +using System; using System.Collections.Generic; using System.IO; using System.Linq; @@ -53,6 +54,9 @@ namespace PCUT.Pages case "Users": ContentFrame.Navigate(typeof(UserListPage)); break; + case "Logs": + ContentFrame.Navigate(typeof(LogInformationPage)); + break; } sender.IsPaneOpen = true; } diff --git a/PCUT/PCUT/Pages/Logs/LogInformationPage.xaml b/PCUT/PCUT/Pages/Logs/LogInformationPage.xaml new file mode 100644 index 0000000..6692088 --- /dev/null +++ b/PCUT/PCUT/Pages/Logs/LogInformationPage.xaml @@ -0,0 +1,14 @@ + + + + + + diff --git a/PCUT/PCUT/Pages/Logs/LogInformationPage.xaml.cs b/PCUT/PCUT/Pages/Logs/LogInformationPage.xaml.cs new file mode 100644 index 0000000..9da01ed --- /dev/null +++ b/PCUT/PCUT/Pages/Logs/LogInformationPage.xaml.cs @@ -0,0 +1,17 @@ +using Windows.UI.Xaml.Controls; + +// The Blank Page item template is documented at https://go.microsoft.com/fwlink/?LinkId=234238 + +namespace PCUT.Pages.Logs +{ + /// + /// An empty page that can be used on its own or navigated to within a Frame. + /// + public sealed partial class LogInformationPage : Page + { + public LogInformationPage() + { + this.InitializeComponent(); + } + } +}