C# Class MetroFramework.Forms.MetroForm.MetroRealisticDropShadow

Inheritance: System.Windows.Forms.Form
ファイルを表示 Open project: AshishKilmist/MetroFramework

Public Methods

Method Description
MetroRealisticDropShadow ( Form targetForm ) : System

Protected Methods

Method Description
ClearShadow ( ) : void
OnLoad ( EventArgs e ) : void
OnPaint ( PaintEventArgs e ) : void
PaintShadow ( ) : void

Private Methods

Method Description
DrawBlurBorder ( ) : Bitmap
DrawOutsetShadow ( int hShadow, int vShadow, int blur, int spread, Color color, Rectangle shadowCanvasArea ) : Image
DrawRoundedRectangle ( Graphics g, Rectangle bounds, int cornerRadius, Pen drawPen, Color fillColor ) : void
SetBitmap ( Bitmap bitmap, byte opacity ) : void

Method Details

ClearShadow() protected method

protected ClearShadow ( ) : void
return void

MetroRealisticDropShadow() public method

public MetroRealisticDropShadow ( Form targetForm ) : System
targetForm System.Windows.Forms.Form
return System

OnLoad() protected method

protected OnLoad ( EventArgs e ) : void
e System.EventArgs
return void

OnPaint() protected method

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

PaintShadow() protected method

protected PaintShadow ( ) : void
return void