C# Class OrbitRabbits.App

Inheritance: Application
显示文件 Open project: WaveEngine/QuickStarters

Public Methods

Method Description
App ( ) : System

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().

Draw ( System.TimeSpan elapsedTime ) : void
Initialize ( ) : void
OnActivated ( ) : void

Called when [activated].

OnDeactivate ( ) : void

Called when [deactivate].

OnNavigationFailed ( object sender, System.Windows.Navigation.NavigationFailedEventArgs e ) : void

Invoked when Navigation to a certain page fails

Update ( System.TimeSpan elapsedTime ) : void

Protected Methods

Method Description
OnLaunched ( LaunchActivatedEventArgs e ) : void

Invoked when the application is launched normally by the end user. Other entry points will be used such as when the application is launched to open a specific file.

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 ( ) : System
return System

Draw() public method

public Draw ( System.TimeSpan elapsedTime ) : void
elapsedTime System.TimeSpan
return void

Initialize() public method

public Initialize ( ) : void
return void

OnActivated() public method

Called when [activated].
public OnActivated ( ) : void
return void

OnDeactivate() public method

Called when [deactivate].
public OnDeactivate ( ) : void
return void

OnLaunched() protected method

Invoked when the application is launched normally by the end user. Other entry points will be used such as when the application is launched to open a specific file.
protected OnLaunched ( LaunchActivatedEventArgs e ) : void
e LaunchActivatedEventArgs Details about the launch request and process.
return void

OnNavigationFailed() public method

Invoked when Navigation to a certain page fails
public OnNavigationFailed ( object sender, System.Windows.Navigation.NavigationFailedEventArgs e ) : void
sender object The Frame which failed navigation
e System.Windows.Navigation.NavigationFailedEventArgs Details about the navigation failure
return void

Update() public method

public Update ( System.TimeSpan elapsedTime ) : void
elapsedTime System.TimeSpan
return void