예제 #1
0
 /// <summary>
 /// Invoked when the application is launched normally by the end user.  Other entry points
 /// will be used such as when the application is launched to open a specific file.
 /// </summary>
 /// <param name="args">Details about the launch request and process.</param>
 protected override void OnLaunched(LaunchActivatedEventArgs args)
 {
     //CoreApplication.GetCurrentView().TitleBar.ExtendViewIntoTitleBar = true;
     m_window = new AppWindow
     {
         ExtendsContentIntoTitleBar = true,
         Title = Package.Current.DisplayName
     };
     m_window.Activate();
 }