C# Class Project2.App

Provides application-specific behavior to supplement the default Application class.
Inheritance: Windows.UI.Xaml.Application
Mostra file Open project: nuclearpidgeon/graphicsproj2 Class Usage Examples

Public Methods

Method Description
App ( ) : Project2.Common

Initializes the singleton application object. This is the first line of authored code executed, and as such is the logical equivalent of main() or WinMain().

InitMainPage ( ) : void
MoveToScreen ( Type nextScreen ) : void

Invoked when you wish to switch to another screen. The content of rootFrame is switched to a new instance of the supplied `nextScreen` argument.

Protected Methods

Method Description
OnLaunched ( LaunchActivatedEventArgs args ) : void

Invoked when the application is launched normally by the end user. Other entry points will be used when the application is launched to open a specific file, to display search results, and so forth.

Private Methods

Method Description
OnSuspending ( object sender, SuspendingEventArgs e ) : void

Invoked when application execution is being suspended. Application state is saved without knowing whether the application will be terminated or resumed with the contents of memory still intact.

Method Details

App() public method

Initializes the singleton application object. This is the first line of authored code executed, and as such is the logical equivalent of main() or WinMain().
public App ( ) : Project2.Common
return Project2.Common

InitMainPage() public method

public InitMainPage ( ) : void
return void

MoveToScreen() public static method

Invoked when you wish to switch to another screen. The content of rootFrame is switched to a new instance of the supplied `nextScreen` argument.
public static MoveToScreen ( Type nextScreen ) : void
nextScreen System.Type The Type of the page you wish to move to. typeof(Example)
return void

OnLaunched() protected method

Invoked when the application is launched normally by the end user. Other entry points will be used when the application is launched to open a specific file, to display search results, and so forth.
protected OnLaunched ( LaunchActivatedEventArgs args ) : void
args Windows.ApplicationModel.Activation.LaunchActivatedEventArgs Details about the launch request and process.
return void