App.xaml.h 818 B

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