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

Encapsulates a simple panel whose border, by default is 3D if visual styles aren't enabled and is a single line (painted using visual styles) when visual styles are enabled.
Наследование: FwTextPanel
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
FwPanel ( ) : System

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

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

After the panel has been resized, force the border to be repainted. I found that often, after resizing the panel at runtime (e.g. when it's docked inside a splitter panel and the splitter moved), the portion of the border that was newly repainted didn't show the overriden border color handled by the WndProc above.

OnPaintBackground ( PaintEventArgs e ) : void

WndProc ( Message &m ) : void

Catch the non client area paint message so we can paint a border around the explorer bar that isn't black.

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

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

public FwPanel ( ) : System
Результат System

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

After the panel has been resized, force the border to be repainted. I found that often, after resizing the panel at runtime (e.g. when it's docked inside a splitter panel and the splitter moved), the portion of the border that was newly repainted didn't show the overriden border color handled by the WndProc above.
protected OnClientSizeChanged ( EventArgs e ) : void
e System.EventArgs
Результат void

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

protected OnPaintBackground ( PaintEventArgs e ) : void
e System.Windows.Forms.PaintEventArgs
Результат void

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

Catch the non client area paint message so we can paint a border around the explorer bar that isn't black.
protected WndProc ( Message &m ) : void
m System.Windows.Forms.Message
Результат void