C# 클래스 SIL.FieldWorks.Common.Controls.FwTextPanel

Extends the panel control to support text, including text containing mnemonic specifiers.
상속: System.Windows.Forms.Panel
파일 보기 프로젝트 열기: sillsdev/FieldWorks

Private Properties

프로퍼티 타입 설명
CalculateTextRectangle void

공개 메소드들

메소드 설명
ChildControl_LocationChanged ( object sender, EventArgs e ) : void

ChildControl_Resize ( object sender, EventArgs e ) : void

FwTextPanel ( ) : System

보호된 메소드들

메소드 설명
OnControlAdded ( System.Windows.Forms.ControlEventArgs e ) : void

OnControlRemoved ( System.Windows.Forms.ControlEventArgs e ) : void

OnPaint ( PaintEventArgs e ) : void

Paint the text on the panel, if there is any.

OnResize ( EventArgs e ) : void

Make sure to repaint when resizing.

ProcessMnemonic ( char charCode ) : bool

Make sure the text in the header label acts like a normal label in that it responds to Alt+letter keys to send focus to the next control in the tab order.

비공개 메소드들

메소드 설명
CalculateTextRectangle ( ) : void

Calculates the rectangle of the text when there are child controls. This method assumes that controls to the right of the text should clip the text. However, if the controls are above and below the text, this method will probably screw up the text drawing.

메소드 상세

ChildControl_LocationChanged() 공개 메소드

public ChildControl_LocationChanged ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
리턴 void

ChildControl_Resize() 공개 메소드

public ChildControl_Resize ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
리턴 void

FwTextPanel() 공개 메소드

public FwTextPanel ( ) : System
리턴 System

OnControlAdded() 보호된 메소드

protected OnControlAdded ( System.Windows.Forms.ControlEventArgs e ) : void
e System.Windows.Forms.ControlEventArgs
리턴 void

OnControlRemoved() 보호된 메소드

protected OnControlRemoved ( System.Windows.Forms.ControlEventArgs e ) : void
e System.Windows.Forms.ControlEventArgs
리턴 void

OnPaint() 보호된 메소드

Paint the text on the panel, if there is any.
protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs
리턴 void

OnResize() 보호된 메소드

Make sure to repaint when resizing.
protected OnResize ( EventArgs e ) : void
e System.EventArgs
리턴 void

ProcessMnemonic() 보호된 메소드

Make sure the text in the header label acts like a normal label in that it responds to Alt+letter keys to send focus to the next control in the tab order.
protected ProcessMnemonic ( char charCode ) : bool
charCode char
리턴 bool