C# Class HeapProfiler.CustomTooltip

Inheritance: System.Windows.Forms.Form
显示文件 Open project: kg/HeapProfiler Class Usage Examples

Public Properties

Property Type Description
Content TooltipContentBase
Owner ITooltipOwner

Protected Properties

Property Type Description
BackgroundRenderer System.Windows.Forms.VisualStyles.VisualStyleRenderer

Public Methods

Method Description
CustomTooltip ( ITooltipOwner owner ) : System
FitContentOnScreen ( Graphics g, TooltipContentBase content, Font &font, Point &tooltipPosition, Size &tooltipSize ) : void
GetDefaultStringFormat ( ) : StringFormat
SetContent ( TooltipContentBase content ) : void

Protected Methods

Method Description
AdjustMouseEvent ( MouseEventArgs &e ) : bool
OnMouseClick ( MouseEventArgs e ) : void
OnMouseDown ( MouseEventArgs e ) : void
OnMouseMove ( MouseEventArgs e ) : void
OnMouseUp ( MouseEventArgs e ) : void
OnPaint ( PaintEventArgs e ) : void
OnPaintBackground ( PaintEventArgs e ) : void
UpdateRegion ( ) : void

Private Methods

Method Description
DeltaTooltip_FormClosed ( object sender, System.Windows.Forms.FormClosedEventArgs e ) : void

Method Details

AdjustMouseEvent() protected method

protected AdjustMouseEvent ( MouseEventArgs &e ) : bool
e MouseEventArgs
return bool

CustomTooltip() public method

public CustomTooltip ( ITooltipOwner owner ) : System
owner ITooltipOwner
return System

FitContentOnScreen() public static method

public static FitContentOnScreen ( Graphics g, TooltipContentBase content, Font &font, Point &tooltipPosition, Size &tooltipSize ) : void
g System.Drawing.Graphics
content TooltipContentBase
font System.Drawing.Font
tooltipPosition Point
tooltipSize System.Drawing.Size
return void

GetDefaultStringFormat() public static method

public static GetDefaultStringFormat ( ) : StringFormat
return System.Drawing.StringFormat

OnMouseClick() protected method

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

OnMouseDown() protected method

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

OnMouseMove() protected method

protected OnMouseMove ( MouseEventArgs e ) : void
e MouseEventArgs
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

OnPaintBackground() protected method

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

SetContent() public method

public SetContent ( TooltipContentBase content ) : void
content TooltipContentBase
return void

UpdateRegion() protected method

protected UpdateRegion ( ) : void
return void

Property Details

BackgroundRenderer protected_oe property

protected VisualStyleRenderer,System.Windows.Forms.VisualStyles BackgroundRenderer
return System.Windows.Forms.VisualStyles.VisualStyleRenderer

Content public_oe property

public TooltipContentBase,HeapProfiler Content
return TooltipContentBase

Owner public_oe property

public ITooltipOwner Owner
return ITooltipOwner