C# Class REST_SampleCode.App

提供特定于应用程序的行为,以补充默认的应用程序类。
Inheritance: Windows.UI.Xaml.Application
Mostra file Open project: SuperMap/iClient-WP8-Example

Public Methods

Method Description
App ( ) : REST_SampleCode.Common

初始化单一实例应用程序对象。这是执行的创作代码的第一行, 逻辑上等同于 main() 或 WinMain()。

Protected Methods

Method Description
OnLaunched ( LaunchActivatedEventArgs args ) : void

在应用程序由最终用户正常启动时进行调用。 当启动应用程序以执行打开特定的文件或显示搜索结果等操作时 将使用其他入口点。

Private Methods

Method Description
App_CommandsRequested ( Windows sender, Windows args ) : void
OnPopupClosed ( object sender, object e ) : void

When the Popup closes we no longer need to monitor activation changes.

OnSuspending ( object sender, SuspendingEventArgs e ) : void

在将要挂起应用程序执行时调用。在不知道应用程序 将被终止还是恢复的情况下保存应用程序状态, 并让内存内容保持不变。

OnWindowActivated ( object sender, Windows e ) : void

We use the window's activated event to force closing the Popup since a user maybe interacted with something that didn't normally trigger an obvious dismiss.

onCommandsRequested ( SettingsPane settingsPane, SettingsPaneCommandsRequestedEventArgs eventArgs ) : void

This event is generated when the user opens the settings pane. During this event, append your SettingsCommand objects to the available ApplicationCommands vector to make them available to the SettingsPange UI.

onSettingsCommand ( IUICommand command ) : void

Method Details

App() public method

初始化单一实例应用程序对象。这是执行的创作代码的第一行, 逻辑上等同于 main() 或 WinMain()。
public App ( ) : REST_SampleCode.Common
return REST_SampleCode.Common

OnLaunched() protected method

在应用程序由最终用户正常启动时进行调用。 当启动应用程序以执行打开特定的文件或显示搜索结果等操作时 将使用其他入口点。
protected OnLaunched ( LaunchActivatedEventArgs args ) : void
args Windows.ApplicationModel.Activation.LaunchActivatedEventArgs 有关启动请求和过程的详细信息。
return void