C# Class ZForge.Controls.ExplorerBar.TaskItem

Inheritance: System.Windows.Forms.Button
Afficher le fichier Open project: zhuangyy/Motion Class Usage Examples

Private Properties

Свойство Type Description
FireCustomSettingsChanged void
InitDrawTextFlags void
InitStringFormat void

Méthodes publiques

Méthode Description
ResetCustomSettings ( ) : void

Resets the custom settings to their default values

TaskItem ( ) : System

Initializes a new instance of the TaskItem class with default settings

Méthodes protégées

Méthode Description
CalcGdiPlusPreferredHeight ( Graphics g ) : int

Calculates the preferred height of the TaskItem using GDI+

CalcGdiPlusPreferredWidth ( Graphics g ) : int

Calculates the preferred width of the TaskItem using GDI+

CalcGdiPreferredHeight ( Graphics g ) : int

Calculates the preferred height of the TaskItem using GDI

CalcGdiPreferredWidth ( Graphics g ) : int

Calculates the preferred width of the TaskItem using GDI

DrawGdiText ( Graphics g ) : void

DrawText ( Graphics g ) : void

OnCustomSettingsChanged ( EventArgs e ) : void

Raises the CustomSettingsChanged event

OnGotFocus ( EventArgs e ) : void

Raises the GotFocus event

OnMouseEnter ( EventArgs e ) : void

Raises the MouseEnter event

OnMouseLeave ( EventArgs e ) : void

Raises the MouseLeave event

OnPaint ( PaintEventArgs e ) : void

Raises the Paint event

OnPaintBackground ( PaintEventArgs e ) : void

Raises the PaintBackground event

OnSizeChanged ( EventArgs e ) : void

Raises the SizeChanged event

OnVisibleChanged ( EventArgs e ) : void

Raises the VisibleChanged event

Private Methods

Méthode Description
FireCustomSettingsChanged ( EventArgs e ) : void

Raises the CustomSettingsChanged event

InitDrawTextFlags ( ) : void

Initializes the TaskItem's DrawTextFlags object

InitStringFormat ( ) : void

Initializes the TaskItem's StringFormat object

Method Details

CalcGdiPlusPreferredHeight() protected méthode

Calculates the preferred height of the TaskItem using GDI+
protected CalcGdiPlusPreferredHeight ( Graphics g ) : int
g System.Drawing.Graphics The Graphics used to measure the TaskItem
Résultat int

CalcGdiPlusPreferredWidth() protected méthode

Calculates the preferred width of the TaskItem using GDI+
protected CalcGdiPlusPreferredWidth ( Graphics g ) : int
g System.Drawing.Graphics The Graphics used to measure the TaskItem
Résultat int

CalcGdiPreferredHeight() protected méthode

Calculates the preferred height of the TaskItem using GDI
protected CalcGdiPreferredHeight ( Graphics g ) : int
g System.Drawing.Graphics The Graphics used to measure the TaskItem
Résultat int

CalcGdiPreferredWidth() protected méthode

Calculates the preferred width of the TaskItem using GDI
protected CalcGdiPreferredWidth ( Graphics g ) : int
g System.Drawing.Graphics The Graphics used to measure the TaskItem
Résultat int

DrawGdiText() protected méthode

protected DrawGdiText ( Graphics g ) : void
g System.Drawing.Graphics
Résultat void

DrawText() protected méthode

protected DrawText ( Graphics g ) : void
g System.Drawing.Graphics
Résultat void

OnCustomSettingsChanged() protected méthode

Raises the CustomSettingsChanged event
protected OnCustomSettingsChanged ( EventArgs e ) : void
e System.EventArgs An EventArgs that contains the event data
Résultat void

OnGotFocus() protected méthode

Raises the GotFocus event
protected OnGotFocus ( EventArgs e ) : void
e System.EventArgs An EventArgs that contains the event data
Résultat void

OnMouseEnter() protected méthode

Raises the MouseEnter event
protected OnMouseEnter ( EventArgs e ) : void
e System.EventArgs An EventArgs that contains the event data
Résultat void

OnMouseLeave() protected méthode

Raises the MouseLeave event
protected OnMouseLeave ( EventArgs e ) : void
e System.EventArgs An EventArgs that contains the event data
Résultat void

OnPaint() protected méthode

Raises the Paint event
protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs A PaintEventArgs that contains the event data
Résultat void

OnPaintBackground() protected méthode

Raises the PaintBackground event
protected OnPaintBackground ( PaintEventArgs e ) : void
e PaintEventArgs A PaintEventArgs that contains the event data
Résultat void

OnSizeChanged() protected méthode

Raises the SizeChanged event
protected OnSizeChanged ( EventArgs e ) : void
e System.EventArgs An EventArgs that contains the event data
Résultat void

OnVisibleChanged() protected méthode

Raises the VisibleChanged event
protected OnVisibleChanged ( EventArgs e ) : void
e System.EventArgs An EventArgs that contains the event data
Résultat void

ResetCustomSettings() public méthode

Resets the custom settings to their default values
public ResetCustomSettings ( ) : void
Résultat void

TaskItem() public méthode

Initializes a new instance of the TaskItem class with default settings
public TaskItem ( ) : System
Résultat System