C# Class FrameTrapped.ViewModels.MainViewModel

Inheritance: Caliburn.Micro.Screen
显示文件 Open project: jhogoforbroke/Frame-Trapped

Public Methods

Method Description
Exit ( ) : void

Exit the application.

OnDropFile ( DragEventArgs e ) : void

Opens files by drag and drop

OnKeyDown ( KeyEventArgs e ) : void

Handle keyboard shortcuts.

Private Methods

Method Description
MainViewModel ( IWindowManager windowManager, IEventAggregator events ) : System.ComponentModel.Composition
UpdateTitle ( string title ) : void

Updates the application title with what view you are on.

Method Details

Exit() public method

Exit the application.
public Exit ( ) : void
return void

OnDropFile() public method

Opens files by drag and drop
public OnDropFile ( DragEventArgs e ) : void
e DragEventArgs The instance containing the event data.
return void

OnKeyDown() public method

Handle keyboard shortcuts.
public OnKeyDown ( KeyEventArgs e ) : void
e KeyEventArgs Key event arguments.
return void