Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
29 lines (25 sloc) 726 Bytes
using System;
using System.Threading.Tasks;
using Windows.ApplicationModel.Activation;
using Windows.UI.Xaml;
namespace Template10
{
sealed partial class App : Common.BootStrapper
{
public App() : base()
{
this.InitializeComponent();
}
public override Task OnInitializeAsync()
{
// use splitview shell
Window.Current.Content = new Views.Shell(this.RootFrame);
return base.OnInitializeAsync();
}
public override Task OnLaunchedAsync(ILaunchActivatedEventArgs e)
{
this.NavigationService.Navigate(typeof(Views.MainPage));
return Task.FromResult<object>(null);
}
}
}