C# Class Project2.App

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

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode 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

Méthode 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 méthode

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
Résultat Project2.Common

InitMainPage() public méthode

public InitMainPage ( ) : void
Résultat void

MoveToScreen() public static méthode

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)
Résultat void

OnLaunched() protected méthode

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.
Résultat void