App.xaml.h 660 B

12345678910111213141516171819202122232425262728293031
  1. //
  2. // App.xaml.h
  3. // Declaration of the App class.
  4. //
  5. #pragma once
  6. #include "App.g.h"
  7. namespace VSXaml {
  8. /// <summary>
  9. /// Provides application-specific behavior to supplement the default
  10. /// Application class.
  11. /// </summary>
  12. ref class App sealed
  13. {
  14. protected:
  15. virtual void OnLaunched(
  16. Windows::ApplicationModel::Activation::LaunchActivatedEventArgs ^
  17. e) override;
  18. internal : App();
  19. private:
  20. void OnSuspending(Platform::Object ^ sender,
  21. Windows::ApplicationModel::SuspendingEventArgs ^ e);
  22. void OnNavigationFailed(
  23. Platform::Object ^ sender,
  24. Windows::UI::Xaml::Navigation::NavigationFailedEventArgs ^ e);
  25. };
  26. }