C# Class PersonalAnalytics.App

Interaction logic for App.xaml
Inheritance: System.Windows.Application, ISingleInstanceApp
Exibir arquivo Open project: sealuzh/PersonalAnalytics

Public Methods

Method Description
SignalExternalCommandLineArgs ( IList args ) : bool

This method is used to handle the command line arguments of the second instance.

Protected Methods

Method Description
OnStartup ( System.Windows.StartupEventArgs e ) : void

OnStartup registers all trackers to be available to the user

Private Methods

Method Description
App_DispatcherUnhandledException ( object sender, System.Windows.Threading.DispatcherUnhandledExceptionEventArgs e ) : void

Handles all the exceptions that are not caught by the application.

App_SessionEnding ( object sender, System.Windows.SessionEndingCancelEventArgs e ) : void

Ads a firewall exception

Application is closed

GetPublishedAppVersion ( ) : string

Gets and Formats the currently published application version.

Main ( ) : void
RegisterAppForPcStartup ( ) : void

Adds the program in the registry as a startup program if it isn't already set.

Method Details

OnStartup() protected method

OnStartup registers all trackers to be available to the user
protected OnStartup ( System.Windows.StartupEventArgs e ) : void
e System.Windows.StartupEventArgs
return void

SignalExternalCommandLineArgs() public method

This method is used to handle the command line arguments of the second instance.
public SignalExternalCommandLineArgs ( IList args ) : bool
args IList
return bool