2015-02-18 23:23:41 +08:00
|
|
|
|
//
|
|
|
|
|
// App.xaml.h
|
|
|
|
|
// Declaration of the App class.
|
|
|
|
|
//
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include "App.g.h"
|
|
|
|
|
|
|
|
|
|
namespace PhoneTutorial
|
|
|
|
|
{
|
2015-02-21 00:49:10 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Provides application-specific behavior to supplement the default Application class.
|
|
|
|
|
/// </summary>
|
|
|
|
|
ref class App sealed
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
App();
|
2015-02-18 23:23:41 +08:00
|
|
|
|
|
2015-02-21 00:49:10 +08:00
|
|
|
|
virtual void OnLaunched(Windows::ApplicationModel::Activation::LaunchActivatedEventArgs^ e) override;
|
2015-02-18 23:23:41 +08:00
|
|
|
|
|
2015-02-21 00:49:10 +08:00
|
|
|
|
private:
|
|
|
|
|
Windows::UI::Xaml::Media::Animation::TransitionCollection^ _transitions;
|
|
|
|
|
Windows::Foundation::EventRegistrationToken _firstNavigatedToken;
|
2015-02-18 23:23:41 +08:00
|
|
|
|
|
2015-02-21 00:49:10 +08:00
|
|
|
|
void OnSuspending(Platform::Object^ sender, Windows::ApplicationModel::SuspendingEventArgs^ e);
|
|
|
|
|
void RootFrame_FirstNavigated(Platform::Object^ sender, Windows::UI::Xaml::Navigation::NavigationEventArgs^ e);
|
|
|
|
|
};
|
2015-02-18 23:23:41 +08:00
|
|
|
|
}
|