Method | Description | |
---|---|---|
App ( ) : REST_SampleCode.Common |
初始化单一实例应用程序对象。这是执行的创作代码的第一行, 逻辑上等同于 main() 或 WinMain()。
|
Method | Description | |
---|---|---|
OnLaunched ( |
在应用程序由最终用户正常启动时进行调用。 当启动应用程序以执行打开特定的文件或显示搜索结果等操作时 将使用其他入口点。
|
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, |
在将要挂起应用程序执行时调用。在不知道应用程序 将被终止还是恢复的情况下保存应用程序状态, 并让内存内容保持不变。
|
|
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 ( |
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 |
protected OnLaunched ( |
||
args | 有关启动请求和过程的详细信息。 | |
return | void |