C# Class TpTrayUtility.Components.TpDropDown

Inheritance: System.Windows.Forms.Control
Exibir arquivo Open project: TargetProcess/Tp.TrayUtility

Public Methods

Method Description
Add ( TpItem item ) : void
SelectItem ( Compare function ) : void
SelectItem ( Object data ) : void
SelectItem ( Object data, bool supress ) : void
SelectItem ( TpItem item, bool supress ) : void
Sort ( Comparison comparison ) : void
TpDropDown ( ) : System

Protected Methods

Method Description
OnMouseDown ( MouseEventArgs e ) : void
OnMouseEnter ( EventArgs e ) : void
OnMouseLeave ( EventArgs e ) : void
OnMouseUp ( MouseEventArgs e ) : void
OnPaint ( PaintEventArgs e ) : void
OnResize ( EventArgs e ) : void

Private Methods

Method Description
Clear ( ) : void
Find ( Compare function ) : TpItem
Find ( Object data ) : TpItem
HideList ( ) : void
ReCalculate ( ) : void
ShowList ( ) : void
innerList_ItemSelected ( object sender, EventArgs e ) : void
innerList_KeyPress ( object sender, KeyPressEventArgs e ) : void
mouseHook_MouseClick ( object sender, MouseEventArgs e ) : void

Method Details

Add() public method

public Add ( TpItem item ) : void
item TpItem
return void

OnMouseDown() protected method

protected OnMouseDown ( MouseEventArgs e ) : void
e MouseEventArgs
return void

OnMouseEnter() protected method

protected OnMouseEnter ( EventArgs e ) : void
e System.EventArgs
return void

OnMouseLeave() protected method

protected OnMouseLeave ( EventArgs e ) : void
e System.EventArgs
return void

OnMouseUp() protected method

protected OnMouseUp ( MouseEventArgs e ) : void
e MouseEventArgs
return void

OnPaint() protected method

protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs
return void

OnResize() protected method

protected OnResize ( EventArgs e ) : void
e System.EventArgs
return void

SelectItem() public method

public SelectItem ( Compare function ) : void
function Compare
return void

SelectItem() public method

public SelectItem ( Object data ) : void
data Object
return void

SelectItem() public method

public SelectItem ( Object data, bool supress ) : void
data Object
supress bool
return void

SelectItem() public method

public SelectItem ( TpItem item, bool supress ) : void
item TpItem
supress bool
return void

Sort() public method

public Sort ( Comparison comparison ) : void
comparison Comparison
return void

TpDropDown() public method

public TpDropDown ( ) : System
return System