C# Class CustomChrome.ChromeManager

Inheritance: System.Windows.Forms.NativeWindow
Afficher le fichier Open project: pvginkel/CustomChrome

Méthodes publiques

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

Méthodes protégées

Méthode Description
WndProc ( Message &m ) : void

Private Methods

Méthode 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 méthode

public ChromeManager ( Form form, FormChrome chrome ) : System
form System.Windows.Forms.Form
chrome FormChrome
Résultat System

CreateHandle() public méthode

public CreateHandle ( CreateParams cp ) : void
cp System.Windows.Forms.CreateParams
Résultat void

GetBorderThickness() public méthode

public GetBorderThickness ( ) : Padding
Résultat Padding

PaintNonClientArea() public méthode

public PaintNonClientArea ( ) : void
Résultat void

PointToClient() public méthode

public PointToClient ( Point screenPoint ) : Point
screenPoint Point
Résultat Point

WndProc() protected méthode

protected WndProc ( Message &m ) : void
m System.Windows.Forms.Message
Résultat void