C# Class ZForge.Controls.HeaderPanel

Datei anzeigen Open project: zhuangyy/Motion

Private Properties

Property Type Description
ComputeBorderWidth int
DrawBackground void
DrawBorder void
DrawCaption void
DrawShadow void
HeaderPanel_Scroll void
InitializeComponent void
PaintNonClientArea void
RecalcNonClientArea void
WmNCCalcSize void

Public Methods

Method Description
HeaderPanel ( ) : System

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

OnPaint ( PaintEventArgs e ) : void
OnResize ( EventArgs e ) : void
WndProc ( Message &m ) : void

Private Methods

Method Description
ComputeBorderWidth ( ) : int

Helper function to compute the border width

DrawBackground ( PaintEventArgs peArgs, HeaderPanelBorderStyles brdStyle ) : void
DrawBorder ( Graphics canvas ) : void
DrawCaption ( Graphics canvas ) : void
DrawShadow ( Graphics canvas ) : void
HeaderPanel_Scroll ( object sender, ScrollEventArgs e ) : void
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

PaintNonClientArea ( Graphics canvas ) : void
RecalcNonClientArea ( Rectangle &proposed ) : void
WmNCCalcSize ( Message &m ) : void

Method Details

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

HeaderPanel() public method

public HeaderPanel ( ) : System
return System

OnPaint() protected method

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

OnResize() protected method

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

WndProc() protected method

protected WndProc ( Message &m ) : void
m Message
return void