C# Class CustomChrome.ChromeManager

Inheritance: System.Windows.Forms.NativeWindow
Exibir arquivo Open project: pvginkel/CustomChrome

Public Methods

Method Description
ChromeManager ( Form form, FormChrome chrome ) : System
CreateHandle ( CreateParams cp ) : void
GetBorderThickness ( ) : Padding
PaintNonClientArea ( ) : void
PointToClient ( Point screenPoint ) : Point

Protected Methods

Method Description
WndProc ( Message &m ) : void

Private Methods

Method Description
CalculateHitTest ( Point location ) : NonClientHitTest
CalculateNonClientAreaSize ( Rectangle &bounds ) : void
InitializeForm ( ) : void
PaintNonClientArea ( IntPtr hWnd, IntPtr hRgn ) : void
WmEraseBkgnd ( Message &m ) : void
WmNCActivate ( Message &msg ) : void
WmNCCalcSize ( Message &m ) : void
WmNCHitTest ( Message &m ) : void
WmNCLButtonDown ( Message &msg ) : void
WmNCLButtonUp ( Message &msg ) : void
WmNCMouseLeave ( Message &m ) : void
WmNCMouseMove ( Message &msg ) : void
WmNCPaint ( Message &msg ) : void
WmSetText ( Message &msg ) : void
WmSysCommand ( Message &m ) : void
WmWindowPosChanged ( Message &m ) : void
WmWindowPosChanging ( Message &m ) : void
form_HandleCreated ( object sender, EventArgs e ) : void
form_HandleDestroyed ( object sender, EventArgs e ) : void

Method Details

ChromeManager() public method

public ChromeManager ( Form form, FormChrome chrome ) : System
form System.Windows.Forms.Form
chrome FormChrome
return System

CreateHandle() public method

public CreateHandle ( CreateParams cp ) : void
cp System.Windows.Forms.CreateParams
return void

GetBorderThickness() public method

public GetBorderThickness ( ) : Padding
return Padding

PaintNonClientArea() public method

public PaintNonClientArea ( ) : void
return void

PointToClient() public method

public PointToClient ( Point screenPoint ) : Point
screenPoint Point
return Point

WndProc() protected method

protected WndProc ( Message &m ) : void
m System.Windows.Forms.Message
return void