C# 클래스 ZForge.Controls.ExplorerBar.TaskItem

상속: System.Windows.Forms.Button
파일 보기 프로젝트 열기: zhuangyy/Motion 1 사용 예제들

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