123456789101112131415161718192021222324252627282930313233343536 |
- //
- // App.xaml.h
- // App 类的声明。
- //
- #pragma once
- #include "App.g.h"
- namespace SDLPal
- {
- /// <summary>
- /// 提供特定于应用程序的行为,以补充默认的应用程序类。
- /// </summary>
- ref class App sealed
- {
- internal:
- App();
- property bool LastCrashed;
- protected:
- virtual void OnLaunched(Windows::ApplicationModel::Activation::LaunchActivatedEventArgs^ e) override;
- virtual void OnActivated(Windows::ApplicationModel::Activation::IActivatedEventArgs^ args) override;
- private:
- Windows::UI::Xaml::Media::Animation::TransitionCollection^ _transitions;
- Windows::Foundation::EventRegistrationToken _firstNavigatedToken;
- void OnSuspending(Platform::Object^ sender, Windows::ApplicationModel::SuspendingEventArgs^ e);
- void RootFrame_FirstNavigated(Platform::Object^ sender, Windows::UI::Xaml::Navigation::NavigationEventArgs^ e);
- };
- }
- extern HANDLE g_eventHandle;
|