fix promotion page navigation
This commit is contained in:
parent
709d7fd442
commit
ab1f543ae5
|
@ -207,8 +207,8 @@
|
||||||
<Compile Include="Pages\Logs\LogInformationPage.xaml.cs">
|
<Compile Include="Pages\Logs\LogInformationPage.xaml.cs">
|
||||||
<DependentUpon>LogInformationPage.xaml</DependentUpon>
|
<DependentUpon>LogInformationPage.xaml</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="Pages\Promotion\Promotion.xaml.cs">
|
<Compile Include="Pages\Promotion\PromotionPage.xaml.cs">
|
||||||
<DependentUpon>Promotion.xaml</DependentUpon>
|
<DependentUpon>PromotionPage.xaml</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="Pages\UserGuide\UserGuidePage.xaml.cs">
|
<Compile Include="Pages\UserGuide\UserGuidePage.xaml.cs">
|
||||||
<DependentUpon>UserGuidePage.xaml</DependentUpon>
|
<DependentUpon>UserGuidePage.xaml</DependentUpon>
|
||||||
|
@ -397,7 +397,7 @@
|
||||||
<Generator>MSBuild:Compile</Generator>
|
<Generator>MSBuild:Compile</Generator>
|
||||||
<SubType>Designer</SubType>
|
<SubType>Designer</SubType>
|
||||||
</Page>
|
</Page>
|
||||||
<Page Include="Pages\Promotion\Promotion.xaml">
|
<Page Include="Pages\Promotion\PromotionPage.xaml">
|
||||||
<Generator>MSBuild:Compile</Generator>
|
<Generator>MSBuild:Compile</Generator>
|
||||||
<SubType>Designer</SubType>
|
<SubType>Designer</SubType>
|
||||||
</Page>
|
</Page>
|
||||||
|
|
|
@ -13,6 +13,7 @@ using static Http.Core.Constants.HttpConstants;
|
||||||
using Windows.Graphics.Display;
|
using Windows.Graphics.Display;
|
||||||
using Http.Core.Contexts;
|
using Http.Core.Contexts;
|
||||||
using PCUT.Pages.UserGuide;
|
using PCUT.Pages.UserGuide;
|
||||||
|
using PCUT.Pages.Promotion;
|
||||||
|
|
||||||
// The Blank Page item template is documented at https://go.microsoft.com/fwlink/?LinkId=234238
|
// The Blank Page item template is documented at https://go.microsoft.com/fwlink/?LinkId=234238
|
||||||
|
|
||||||
|
@ -73,6 +74,9 @@ namespace PCUT.Pages
|
||||||
case "UserGuide":
|
case "UserGuide":
|
||||||
NavigateContentFrame<UserGuidePage>();
|
NavigateContentFrame<UserGuidePage>();
|
||||||
break;
|
break;
|
||||||
|
case "Promotion":
|
||||||
|
NavigateContentFrame<PromotionPage>();
|
||||||
|
break;
|
||||||
case "AdminCenter":
|
case "AdminCenter":
|
||||||
NavigateContentFrame<AdminCenterPage>();
|
NavigateContentFrame<AdminCenterPage>();
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<Page
|
<Page
|
||||||
x:Class="PCUT.Pages.Promotion.Promotion"
|
x:Class="PCUT.Pages.Promotion.PromotionPage"
|
||||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
xmlns:local="using:PCUT.Pages.Promotion"
|
xmlns:local="using:PCUT.Pages.Promotion"
|
|
@ -20,9 +20,9 @@ namespace PCUT.Pages.Promotion
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// An empty page that can be used on its own or navigated to within a Frame.
|
/// An empty page that can be used on its own or navigated to within a Frame.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public sealed partial class Promotion : Page
|
public sealed partial class PromotionPage : Page
|
||||||
{
|
{
|
||||||
public Promotion()
|
public PromotionPage()
|
||||||
{
|
{
|
||||||
this.InitializeComponent();
|
this.InitializeComponent();
|
||||||
}
|
}
|
Loading…
Reference in New Issue