C# Класс SIL.FieldWorks.Common.Controls.FwTextPanel

Extends the panel control to support text, including text containing mnemonic specifiers.
Наследование: System.Windows.Forms.Panel
Показать файл Открыть проект

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