diff --git a/PCUT/PCUT/PCUT.csproj b/PCUT/PCUT/PCUT.csproj index 6f34dc5..b91ef42 100644 --- a/PCUT/PCUT/PCUT.csproj +++ b/PCUT/PCUT/PCUT.csproj @@ -207,8 +207,8 @@ LogInformationPage.xaml - - Promotion.xaml + + PromotionPage.xaml UserGuidePage.xaml @@ -397,7 +397,7 @@ MSBuild:Compile Designer - + MSBuild:Compile Designer diff --git a/PCUT/PCUT/Pages/MainMenuPage.xaml.cs b/PCUT/PCUT/Pages/MainMenuPage.xaml.cs index 92698e4..d4b507f 100644 --- a/PCUT/PCUT/Pages/MainMenuPage.xaml.cs +++ b/PCUT/PCUT/Pages/MainMenuPage.xaml.cs @@ -13,6 +13,7 @@ using static Http.Core.Constants.HttpConstants; using Windows.Graphics.Display; using Http.Core.Contexts; using PCUT.Pages.UserGuide; +using PCUT.Pages.Promotion; // The Blank Page item template is documented at https://go.microsoft.com/fwlink/?LinkId=234238 @@ -73,6 +74,9 @@ namespace PCUT.Pages case "UserGuide": NavigateContentFrame(); break; + case "Promotion": + NavigateContentFrame(); + break; case "AdminCenter": NavigateContentFrame(); break; diff --git a/PCUT/PCUT/Pages/Promotion/Promotion.xaml b/PCUT/PCUT/Pages/Promotion/PromotionPage.xaml similarity index 91% rename from PCUT/PCUT/Pages/Promotion/Promotion.xaml rename to PCUT/PCUT/Pages/Promotion/PromotionPage.xaml index cdadb52..86b0b05 100644 --- a/PCUT/PCUT/Pages/Promotion/Promotion.xaml +++ b/PCUT/PCUT/Pages/Promotion/PromotionPage.xaml @@ -1,5 +1,5 @@  /// An empty page that can be used on its own or navigated to within a Frame. /// - public sealed partial class Promotion : Page + public sealed partial class PromotionPage : Page { - public Promotion() + public PromotionPage() { this.InitializeComponent(); }