mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-12-21 14:09:40 +01:00
31 lines
894 B
C#
31 lines
894 B
C#
|
|
// Copyright (c) Microsoft Corporation
|
|||
|
|
// The Microsoft Corporation licenses this file to you under the MIT license.
|
|||
|
|
// See the LICENSE file in the project root for more information.
|
|||
|
|
using Microsoft.UI.Xaml;
|
|||
|
|
using Microsoft.UI.Xaml.Controls;
|
|||
|
|
using Microsoft.UI.Xaml.Media.Animation;
|
|||
|
|
|
|||
|
|
namespace Microsoft.PowerToys.Settings.UI.Flyout
|
|||
|
|
{
|
|||
|
|
/// <summary>
|
|||
|
|
/// An empty page that can be used on its own or navigated to within a Frame.
|
|||
|
|
/// </summary>
|
|||
|
|
public sealed partial class ShellPage : Page
|
|||
|
|
{
|
|||
|
|
public ShellPage()
|
|||
|
|
{
|
|||
|
|
this.InitializeComponent();
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
internal void SwitchToLaunchPage()
|
|||
|
|
{
|
|||
|
|
ContentFrame.Navigate(typeof(LaunchPage), null, new SuppressNavigationTransitionInfo());
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
private void Page_Loaded(object sender, RoutedEventArgs e)
|
|||
|
|
{
|
|||
|
|
SwitchToLaunchPage();
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|