C# Class Rsdn.Janus.SmilesToolbar

Inheritance: System.Windows.Forms.UserControl
ファイルを表示 Open project: rsdn/janus Class Usage Examples

Private Properties

Property Type Description
AlignRowOfControls void
ButtonInfoAdded void
ButtonInfoChanged void
ButtonInfoRemoved void
CalcMaxHeight int
FindButton int
InitializeComponent void
IsSpecialButton bool
OnButtonClick void
PostMessage bool
SmilesToolbarClick void
UpdateButtons void

Public Methods

Method Description
BeginUpdate ( ) : void
EndUpdate ( ) : void
SmilesToolbar ( ) : System

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

OnResize ( EventArgs e ) : void
WndProc ( Message &m ) : void

Private Methods

Method Description
AlignRowOfControls ( int topOffset, int rowHeight, int startIndex, int endIndex ) : void

Распологает контролы из переданного диапазана друг за другом.

ButtonInfoAdded ( ButtonInfoCollection sender, ButtonInfo buttonInfo ) : void
ButtonInfoChanged ( ButtonInfoCollection sender, ButtonInfo oldButtonInfo, ButtonInfo newButtonInfo ) : void
ButtonInfoRemoved ( ButtonInfoCollection sender, ButtonInfo buttonInfo ) : void
CalcMaxHeight ( int startIndex, int endIndex ) : int

Рассчитывает максимальный размер контрола входящего в диапазонэ

FindButton ( ButtonInfo buttonInfo ) : int
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

IsSpecialButton ( ButtonInfo buttonInfo ) : bool

Проверка кнопки на её "специальное" использование. На "специальных" кнопках не меняется курсор и не отлавливается нажатие мыши.

OnButtonClick ( ButtonInfo buttonInfo ) : void

Вызвает событие ButtonClick.

PostMessage ( IntPtr hWnd, int msg, int wParam, int lParam ) : bool
SmilesToolbarClick ( object sender, EventArgs e ) : void
UpdateButtons ( ) : void

Распологает кнопки в контроле в порядке в котором они встречаются в списке контролов.

Method Details

BeginUpdate() public method

public BeginUpdate ( ) : void
return void

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool
return void

EndUpdate() public method

public EndUpdate ( ) : void
return void

OnResize() protected method

protected OnResize ( EventArgs e ) : void
e System.EventArgs
return void

SmilesToolbar() public method

public SmilesToolbar ( ) : System
return System

WndProc() protected method

protected WndProc ( Message &m ) : void
m System.Windows.Forms.Message
return void