C# Class Papercut.UI.MainWindow

Interaction logic for MainWindow.xaml
Inheritance: System.Windows.Window
Mostra file Open project: wiggle/papercut-web

Public Methods

Method Description
MainWindow ( ) : System

Initializes a new instance of the MainWindow class. Initializes a new instance of the MainWindow class. Initializes a new instance of the MainWindow class.

Protected Methods

Method Description
OnStateChanged ( EventArgs e ) : void

The on state changed.

Private Methods

Method Description
AddNewMessage ( MessageEntry entry ) : void

Add a newly received message and show the balloon notification

Exit_Click ( object sender, RoutedEventArgs e ) : void

The exit_ click.

GetObjectDataFromPoint ( System.Windows.Controls.ListBox source, Point point ) : string

The get object data from point.

GoToSite ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void

The go to site.

LoadMessages ( ) : void

Load existing messages from the file system

MouseDownHandler ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void

The mouse down handler.

Options_Click ( object sender, RoutedEventArgs e ) : void

The options_ click.

Processor_MessageReceived ( object sender, MessageEventArgs e ) : void

The processor_ message received.

SetBrowserDocument ( MailMessageEx mailMessageEx ) : void

Write the HTML to a temporary file and render it to the HTML view

SetTabs ( ) : void

The set tabs.

Window_Closing ( object sender, CancelEventArgs e ) : void

The window_ closing.

deleteButton_Click ( object sender, RoutedEventArgs e ) : void

The delete button_ click.

forwardButton_Click ( object sender, RoutedEventArgs e ) : void

The forward button_ click.

messagesList_SelectionChanged ( object sender, System.Windows.Controls.SelectionChangedEventArgs e ) : void

The messages list_ selection changed.

Method Details

MainWindow() public method

Initializes a new instance of the MainWindow class. Initializes a new instance of the MainWindow class. Initializes a new instance of the MainWindow class.
public MainWindow ( ) : System
return System

OnStateChanged() protected method

The on state changed.
protected OnStateChanged ( EventArgs e ) : void
e System.EventArgs /// The e. ///
return void