C# Class DfBAdminToolkit.Common.Component.ButtonEx

Inheritance: System.Windows.Forms.Button
Afficher le fichier Open project: dropbox/DropboxBusinessAdminTool

Private Properties

Свойство Type Description
InitializeComponent void

Méthodes publiques

Méthode Description
ButtonEx ( ) : System
GetRoundedRect ( RectangleF r, float radius ) : GraphicsPath

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

OnClick ( EventArgs e ) : void
OnMouseDown ( MouseEventArgs e ) : void
OnMouseEnter ( EventArgs e ) : void
OnMouseLeave ( EventArgs e ) : void
OnMouseMove ( MouseEventArgs mevent ) : void
OnMouseUp ( MouseEventArgs mevent ) : void
OnPaint ( PaintEventArgs e ) : void
PaintCustomBackground ( PaintEventArgs e, Graphics g, Color tTopColorBegin, Color tTopColorEnd, Color tBottomColorBegin, Color tBottomColorEnd ) : void
PaintTransparentBackground ( Graphics g, Rectangle clipRect ) : void
TextAndImage ( Rectangle Rec, Graphics g, Color textColor ) : void

Private Methods

Méthode Description
InitializeComponent ( ) : void

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

Method Details

ButtonEx() public méthode

public ButtonEx ( ) : System
Résultat System

Dispose() protected méthode

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

GetRoundedRect() public static méthode

public static GetRoundedRect ( RectangleF r, float radius ) : GraphicsPath
r System.Drawing.RectangleF
radius float
Résultat System.Drawing.Drawing2D.GraphicsPath

OnClick() protected méthode

protected OnClick ( EventArgs e ) : void
e System.EventArgs
Résultat void

OnMouseDown() protected méthode

protected OnMouseDown ( MouseEventArgs e ) : void
e MouseEventArgs
Résultat void

OnMouseEnter() protected méthode

protected OnMouseEnter ( EventArgs e ) : void
e System.EventArgs
Résultat void

OnMouseLeave() protected méthode

protected OnMouseLeave ( EventArgs e ) : void
e System.EventArgs
Résultat void

OnMouseMove() protected méthode

protected OnMouseMove ( MouseEventArgs mevent ) : void
mevent MouseEventArgs
Résultat void

OnMouseUp() protected méthode

protected OnMouseUp ( MouseEventArgs mevent ) : void
mevent MouseEventArgs
Résultat void

OnPaint() protected méthode

protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs
Résultat void

PaintCustomBackground() protected méthode

protected PaintCustomBackground ( PaintEventArgs e, Graphics g, Color tTopColorBegin, Color tTopColorEnd, Color tBottomColorBegin, Color tBottomColorEnd ) : void
e PaintEventArgs
g System.Drawing.Graphics
tTopColorBegin Color
tTopColorEnd Color
tBottomColorBegin Color
tBottomColorEnd Color
Résultat void

PaintTransparentBackground() protected méthode

protected PaintTransparentBackground ( Graphics g, Rectangle clipRect ) : void
g System.Drawing.Graphics
clipRect System.Drawing.Rectangle
Résultat void

TextAndImage() protected méthode

protected TextAndImage ( Rectangle Rec, Graphics g, Color textColor ) : void
Rec System.Drawing.Rectangle
g System.Drawing.Graphics
textColor Color
Résultat void