C# Class Wlipper.WlipperForm

Inheritance: System.Windows.Forms.Form
Show file Open project: MrksKwsnck/Wlipper

Public Properties

Property Type Description
insertingHistory bool

Private Properties

Property Type Description
BothHaveIdenticalContentAndFormats void
CheckForUpdate bool
ClipboardMenuItem_Click void
CuttingHistory void
DeleteTmpDoc void
InitializeComponent void
InitializeDocument void
InitializeView void
LoadPreferences void
MakeItSo void
PrepareTextForToolStripMenuItem string
PrepareTextForToolTipText string
RearrangeList void
SavePreferences void
ToggleWindow void
WlipperForm_FormClosing void
buttonCancel_Click void
buttonOk_Click void
notifyIcon_MouseUp void
numericUpDown_KeyPress void
toolStripMenuItemClear_Click void
toolStripMenuItemHelp_Click void
toolStripMenuItemPreferences_Click void
toolStripMenuItemQuit_Click void
toolStripMenuItemUpdate_Click void

Public Methods

Method Description
GetHistories ( ) : uint

Returns the number of history items.

ReregisterToolStripMenuItemClick ( object sender, EventArgs e ) : void

For testing purpose re-registering the application to the clipboard chain for listening on changes.

WlipperForm ( ) : System

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Verwendete Ressourcen bereinigen.

Private Methods

Method Description
BothHaveIdenticalContentAndFormats ( bool &alreadyRetrieved, object lastItem, object newItem ) : void

Comparing two format arrays with content from clipboard

CheckForUpdate ( bool silent = true ) : bool

Check for update availability and pop up a message if so.

ClipboardMenuItem_Click ( object sender, EventArgs e ) : void
CuttingHistory ( ) : void

Cuts the amount of history entries if needed.

DeleteTmpDoc ( ) : void

Delete the temporary documentation file(s) on program exit.

InitializeComponent ( ) : void

Erforderliche Methode für die Designerunterstützung. Der Inhalt der Methode darf nicht mit dem Code-Editor geändert werden.

InitializeDocument ( ) : void
InitializeView ( ) : void
LoadPreferences ( ) : void
MakeItSo ( ) : void

For processing the clipboard after the appropriate event occurred.

PrepareTextForToolStripMenuItem ( string text ) : string

Removes all newlines and tabulators and cuts from both sides to length given via preferences.

PrepareTextForToolTipText ( string text ) : string

Cuts to length given via preferences.

RearrangeList ( ) : void

Rearrange list of captured clipboard entries

SavePreferences ( ) : void
ToggleWindow ( ) : void

Toggles the visibility of the Form.

WlipperForm_FormClosing ( object sender, FormClosingEventArgs e ) : void
buttonCancel_Click ( object sender, EventArgs e ) : void
buttonOk_Click ( object sender, EventArgs e ) : void
notifyIcon_MouseUp ( object sender, MouseEventArgs e ) : void
numericUpDown_KeyPress ( object sender, KeyPressEventArgs e ) : void
toolStripMenuItemClear_Click ( object sender, EventArgs e ) : void
toolStripMenuItemHelp_Click ( object sender, EventArgs e ) : void

Retrieve documentation file from assembly resource for opening.

toolStripMenuItemPreferences_Click ( object sender, EventArgs e ) : void
toolStripMenuItemQuit_Click ( object sender, EventArgs e ) : void
toolStripMenuItemUpdate_Click ( object sender, EventArgs e ) : void

Method Details

Dispose() protected method

Verwendete Ressourcen bereinigen.
protected Dispose ( bool disposing ) : void
disposing bool True, wenn verwaltete Ressourcen gelöscht werden sollen; andernfalls False.
return void

GetHistories() public method

Returns the number of history items.
public GetHistories ( ) : uint
return uint

ReregisterToolStripMenuItemClick() public method

For testing purpose re-registering the application to the clipboard chain for listening on changes.
public ReregisterToolStripMenuItemClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

WlipperForm() public method

public WlipperForm ( ) : System
return System

Property Details

insertingHistory public property

public bool insertingHistory
return bool