C# Class CustomChrome.DropShadow

Inheritance: System.Windows.Forms.Control
显示文件 Open project: pvginkel/CustomChrome

Public Methods

Method Description
DropShadow ( Form form, DropShadowBorder border ) : System
Synchronize ( Rectangle formBounds ) : void

Protected Methods

Method Description
OnPaint ( PaintEventArgs e ) : void
WndProc ( Message &m ) : void

Private Methods

Method Description
CalculateBounds ( Rectangle formBounds ) : Rectangle
DrawBorder ( Graphics graphics, Bitmap image, Rectangle rectangle ) : void
DrawImage ( Graphics graphics, Bitmap image, Point location ) : void
DropShadow ( ) : System
WmNCHitTest ( Message &m ) : void

Method Details

DropShadow() public method

public DropShadow ( Form form, DropShadowBorder border ) : System
form System.Windows.Forms.Form
border DropShadowBorder
return System

OnPaint() protected method

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

Synchronize() public method

public Synchronize ( Rectangle formBounds ) : void
formBounds System.Drawing.Rectangle
return void

WndProc() protected method

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