C# Class LiveBoard.App

Provides application-specific behavior to supplement the default Application class.
Inheritance: Windows.UI.Xaml.Application
Afficher le fichier Open project: vapps/Modern_LiveBoard

Méthodes publiques

Méthode Description
App ( ) : System.Threading.Tasks

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

updateUserName ( TextBlock userName, System.Boolean signIn ) : System.Threading.Tasks.Task

Méthodes protégées

Méthode Description
OnFileActivated ( FileActivatedEventArgs args ) : void

Handle file activations.

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.

OnWindowCreated ( WindowCreatedEventArgs args ) : void

Private Methods

Méthode Description
OnCommandsRequested ( SettingsPane sender, SettingsPaneCommandsRequestedEventArgs args ) : void
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 ( ) : System.Threading.Tasks
Résultat System.Threading.Tasks

OnFileActivated() protected méthode

Handle file activations.
protected OnFileActivated ( FileActivatedEventArgs args ) : void
args Windows.ApplicationModel.Activation.FileActivatedEventArgs
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

OnWindowCreated() protected méthode

protected OnWindowCreated ( WindowCreatedEventArgs args ) : void
args WindowCreatedEventArgs
Résultat void

updateUserName() public static méthode

public static updateUserName ( TextBlock userName, System.Boolean signIn ) : System.Threading.Tasks.Task
userName Windows.UI.Xaml.Controls.TextBlock
signIn System.Boolean
Résultat System.Threading.Tasks.Task