C# Класс ZForge.Controls.ExplorerBar.TaskItem

Наследование: System.Windows.Forms.Button
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
FireCustomSettingsChanged void
InitDrawTextFlags void
InitStringFormat void

Открытые методы

Метод Описание
ResetCustomSettings ( ) : void

Resets the custom settings to their default values

TaskItem ( ) : System

Initializes a new instance of the TaskItem class with default settings

Защищенные методы

Метод Описание
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

Приватные методы

Метод Описание
FireCustomSettingsChanged ( EventArgs e ) : void

Raises the CustomSettingsChanged event

InitDrawTextFlags ( ) : void

Initializes the TaskItem's DrawTextFlags object

InitStringFormat ( ) : void

Initializes the TaskItem's StringFormat object

Описание методов

CalcGdiPlusPreferredHeight() защищенный Метод

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
Результат int

CalcGdiPlusPreferredWidth() защищенный Метод

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
Результат int

CalcGdiPreferredHeight() защищенный Метод

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
Результат int

CalcGdiPreferredWidth() защищенный Метод

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
Результат int

DrawGdiText() защищенный Метод

protected DrawGdiText ( Graphics g ) : void
g System.Drawing.Graphics
Результат void

DrawText() защищенный Метод

protected DrawText ( Graphics g ) : void
g System.Drawing.Graphics
Результат void

OnCustomSettingsChanged() защищенный Метод

Raises the CustomSettingsChanged event
protected OnCustomSettingsChanged ( EventArgs e ) : void
e System.EventArgs An EventArgs that contains the event data
Результат void

OnGotFocus() защищенный Метод

Raises the GotFocus event
protected OnGotFocus ( EventArgs e ) : void
e System.EventArgs An EventArgs that contains the event data
Результат void

OnMouseEnter() защищенный Метод

Raises the MouseEnter event
protected OnMouseEnter ( EventArgs e ) : void
e System.EventArgs An EventArgs that contains the event data
Результат void

OnMouseLeave() защищенный Метод

Raises the MouseLeave event
protected OnMouseLeave ( EventArgs e ) : void
e System.EventArgs An EventArgs that contains the event data
Результат void

OnPaint() защищенный Метод

Raises the Paint event
protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs A PaintEventArgs that contains the event data
Результат void

OnPaintBackground() защищенный Метод

Raises the PaintBackground event
protected OnPaintBackground ( PaintEventArgs e ) : void
e PaintEventArgs A PaintEventArgs that contains the event data
Результат void

OnSizeChanged() защищенный Метод

Raises the SizeChanged event
protected OnSizeChanged ( EventArgs e ) : void
e System.EventArgs An EventArgs that contains the event data
Результат void

OnVisibleChanged() защищенный Метод

Raises the VisibleChanged event
protected OnVisibleChanged ( EventArgs e ) : void
e System.EventArgs An EventArgs that contains the event data
Результат void

ResetCustomSettings() публичный Метод

Resets the custom settings to their default values
public ResetCustomSettings ( ) : void
Результат void

TaskItem() публичный Метод

Initializes a new instance of the TaskItem class with default settings
public TaskItem ( ) : System
Результат System