1 // 2 // App.xaml.h 3 // Declaration of the App class. 4 // 5 6 #pragma once 7 8 #include "App.g.h" 9 10 namespace PhoneTutorial 11 { 12 /// <summary> 13 /// Provides application-specific behavior to supplement the default Application class. 14 /// </summary> 15 ref class App sealed 16 { 17 public: 18 App(); 19 20 virtual void OnLaunched(Windows::ApplicationModel::Activation::LaunchActivatedEventArgs^ e) override; 21 22 private: 23 Windows::UI::Xaml::Media::Animation::TransitionCollection^ _transitions; 24 Windows::Foundation::EventRegistrationToken _firstNavigatedToken; 25 26 void OnSuspending(Platform::Object^ sender, Windows::ApplicationModel::SuspendingEventArgs^ e); 27 void RootFrame_FirstNavigated(Platform::Object^ sender, Windows::UI::Xaml::Navigation::NavigationEventArgs^ e); 28 }; 29 } 30