C# Class LiveBoard.App

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

Public Methods

Method 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

Protected Methods

Method 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

Method 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 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.Threading.Tasks
return System.Threading.Tasks

OnFileActivated() protected method

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

OnWindowCreated() protected method

protected OnWindowCreated ( WindowCreatedEventArgs args ) : void
args WindowCreatedEventArgs
return void

updateUserName() public static method

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