C# Class TpTrayUtility.Components.TpList

Inheritance: System.Windows.Forms.Control
显示文件 Open project: TargetProcess/Tp.TrayUtility

Public Methods

Method Description
Add ( TpItem item ) : void
Filter ( string p ) : void
GetAt ( int index ) : TpItem
ReCalculate ( ) : void
Reset ( ) : void
Sort ( Comparison comparison ) : void
TpList ( ) : System
UnselectAll ( ) : void

Protected Methods

Method Description
IsInputKey ( Keys keyData ) : bool
OnKeyDown ( KeyEventArgs e ) : void
OnMouseWheel ( MouseEventArgs e ) : void

Private Methods

Method Description
Clear ( ) : void
Filter ( TpItem item ) : bool
Find ( Compare function ) : TpItem
Find ( object data ) : TpItem
item_ItemClicked ( object sender, EventArgs e ) : void
scrollBar_ValueChanged ( object sender, EventArgs e ) : void

Method Details

Add() public method

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

Filter() public method

public Filter ( string p ) : void
p string
return void

GetAt() public method

public GetAt ( int index ) : TpItem
index int
return TpItem

IsInputKey() protected method

protected IsInputKey ( Keys keyData ) : bool
keyData Keys
return bool

OnKeyDown() protected method

protected OnKeyDown ( KeyEventArgs e ) : void
e System.Windows.Forms.KeyEventArgs
return void

OnMouseWheel() protected method

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

ReCalculate() public method

public ReCalculate ( ) : void
return void

Reset() public method

public Reset ( ) : void
return void

Sort() public method

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

TpList() public method

public TpList ( ) : System
return System

UnselectAll() public method

public UnselectAll ( ) : void
return void