fix promotion page navigation
This commit is contained in:
parent
709d7fd442
commit
ab1f543ae5
|
@ -207,8 +207,8 @@
|
|||
<Compile Include="Pages\Logs\LogInformationPage.xaml.cs">
|
||||
<DependentUpon>LogInformationPage.xaml</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Pages\Promotion\Promotion.xaml.cs">
|
||||
<DependentUpon>Promotion.xaml</DependentUpon>
|
||||
<Compile Include="Pages\Promotion\PromotionPage.xaml.cs">
|
||||
<DependentUpon>PromotionPage.xaml</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Pages\UserGuide\UserGuidePage.xaml.cs">
|
||||
<DependentUpon>UserGuidePage.xaml</DependentUpon>
|
||||
|
@ -397,7 +397,7 @@
|
|||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
</Page>
|
||||
<Page Include="Pages\Promotion\Promotion.xaml">
|
||||
<Page Include="Pages\Promotion\PromotionPage.xaml">
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
</Page>
|
||||
|
|
|
@ -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<UserGuidePage>();
|
||||
break;
|
||||
case "Promotion":
|
||||
NavigateContentFrame<PromotionPage>();
|
||||
break;
|
||||
case "AdminCenter":
|
||||
NavigateContentFrame<AdminCenterPage>();
|
||||
break;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<Page
|
||||
x:Class="PCUT.Pages.Promotion.Promotion"
|
||||
x:Class="PCUT.Pages.Promotion.PromotionPage"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:local="using:PCUT.Pages.Promotion"
|
|
@ -20,9 +20,9 @@ namespace PCUT.Pages.Promotion
|
|||
/// <summary>
|
||||
/// An empty page that can be used on its own or navigated to within a Frame.
|
||||
/// </summary>
|
||||
public sealed partial class Promotion : Page
|
||||
public sealed partial class PromotionPage : Page
|
||||
{
|
||||
public Promotion()
|
||||
public PromotionPage()
|
||||
{
|
||||
this.InitializeComponent();
|
||||
}
|
Loading…
Reference in New Issue