C# Class BetterExplorer.App

Interaction logic for App.xaml
Inheritance: System.Windows.Application
Mostrar archivo Open project: Gainedge/BetterExplorer

Public Methods

Method Description
SelectCulture ( String culture ) : void

Sets the UI language

SelectCulture ( String culture, String filename ) : void

Sets the UI language

Protected Methods

Method Description
OnSessionEnding ( System.Windows.SessionEndingCancelEventArgs e ) : void

On finishing session

OnStartup ( System.Windows.StartupEventArgs e ) : void

On app start

Private Methods

Method Description
Application_ThreadException ( Object sender, ThreadExceptionEventArgs e ) : void

Handle all exceptions from current thread

CreateInitialTab ( MainWindow win, IListItemEx sho ) : void

Creates initial tab

CurrentDomain_UnhandledException ( Object sender, UnhandledExceptionEventArgs e ) : void

Handle all exceptions from current domain

Current_DispatcherUnhandledException ( Object sender, System.Windows.Threading.DispatcherUnhandledExceptionEventArgs e ) : void

Handle all exceptions from current dispatcher

Newt_PreviewMouseMove ( Object sender, MouseEventArgs e ) : void

On mouse move over the tab

SingleInstanceCallback ( Object sender, SingleInstanceApplication.InstanceCallbackEventArgs args ) : void

Single instance callback handler.

Win_StateChanged ( Object sender, EventArgs e ) : void

Rise on change of Main Window state

Method Details

OnSessionEnding() protected method

On finishing session
protected OnSessionEnding ( System.Windows.SessionEndingCancelEventArgs e ) : void
e System.Windows.SessionEndingCancelEventArgs SessionEndingCancel EventArgs
return void

OnStartup() protected method

On app start
protected OnStartup ( System.Windows.StartupEventArgs e ) : void
e System.Windows.StartupEventArgs Startup EventArgs
return void

SelectCulture() public method

Sets the UI language
public SelectCulture ( String culture ) : void
culture String Language code (ex. "en-EN")
return void

SelectCulture() public method

Sets the UI language
public SelectCulture ( String culture, String filename ) : void
culture String Language code (ex. "en-EN")
filename String The file to load the resources from
return void