C# Класс GrayIris.Utilities.UI.Controls.Design.YaTabControlDesigner

Provides a custom ControlDesigner for the YaTabControl.
Наследование: System.Windows.Forms.Design.ControlDesigner
Показать файл Открыть проект

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

Метод Описание
DoDefaultAction ( ) : void

Overridden. Inherited from IDesigner.DoDefaultAction().

Initialize ( IComponent component ) : void

Overridden. Inherited from ControlDesigner.

This designer exists exclusively for YaTabControls. If component does not inherit from YaTabControl, then this method throws an ArgumentException.

YaTabControlDesigner ( ) : System

Creates an instance of the YaTabControlDesigner class.

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

Метод Описание
WndProc ( Message &m ) : void

Overridden. Inherited from ControlDesigner.

Checks for WM_LBUTTONDOWN events and uses that to select the appropriate tab in the YaTabControl.

Приватные методы

Метод Описание
AddTab ( object sender, EventArgs ea ) : void

Event handler for the "Add Tab" verb.

ComponentRemoved ( object sender, ComponentEventArgs cea ) : void

Watches for the removal of YaTabDrawerBases and, should one get removed that is assigned to the YaTabControl, then set the YaTabControl.TabDrawer property to null.

GetNewTabName ( ) : string

Gets a new tab name for the a tab.

RemoveTab ( object sender, EventArgs ea ) : void

Event handler for the "Remove Tab" verb.

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

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

Overridden. Inherited from IDesigner.DoDefaultAction().
public DoDefaultAction ( ) : void
Результат void

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

Overridden. Inherited from ControlDesigner.
This designer exists exclusively for YaTabControls. If component does not inherit from YaTabControl, then this method throws an ArgumentException.
/// Thrown if this designer gets used with a class that does not /// inherit from . ///
public Initialize ( IComponent component ) : void
component IComponent /// The to which this designer gets attached. ///
Результат void

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

Overridden. Inherited from ControlDesigner.
Checks for WM_LBUTTONDOWN events and uses that to select the appropriate tab in the YaTabControl.
protected WndProc ( Message &m ) : void
m System.Windows.Forms.Message /// The message. ///
Результат void

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

Creates an instance of the YaTabControlDesigner class.
public YaTabControlDesigner ( ) : System
Результат System