C# Класс ToolAndControlSampleCS.FontToolControl

Показать файл Открыть проект

Private Properties

Свойство Тип Описание
ArcGISCategoryRegistration void
ArcGISCategoryUnregistration void
DeleteObject bool
ICommand void
ICommand void
IToolControl bool
IToolControl void
InitializeComponent void
OnDocumentSession void
RegisterFunction void
SetUpDocumentEvent void
UnregisterFunction void
cboFont_DrawItem void
cboFont_DropDownClosed void
cboFont_SelectedValueChanged void

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

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

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

Метод Описание
Dispose ( bool disposing ) : void

Clean up any resources being used.

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

Метод Описание
ArcGISCategoryRegistration ( Type registerType ) : void

Required method for ArcGIS Component Category registration - Do not modify the contents of this method with the code editor.

ArcGISCategoryUnregistration ( Type registerType ) : void

Required method for ArcGIS Component Category unregistration - Do not modify the contents of this method with the code editor.

DeleteObject ( IntPtr hObject ) : bool
ICommand ( ) : void
ICommand ( object hook ) : void
IToolControl ( esriCmdBarType barType ) : bool
IToolControl ( ICompletionNotify complete ) : void
InitializeComponent ( ) : void

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

OnDocumentSession ( ) : void
RegisterFunction ( Type registerType ) : void
SetUpDocumentEvent ( IDocument myDocument ) : void
UnregisterFunction ( Type registerType ) : void
cboFont_DrawItem ( object sender, DrawItemEventArgs e ) : void

Custom drawing when item is selected in the drop down to render the actual font

cboFont_DropDownClosed ( object sender, EventArgs e ) : void
cboFont_SelectedValueChanged ( object sender, EventArgs e ) : void

Optional, wire the cboFont's SelectedValueChanged event if you want to use this tool control to set the default text font of the document

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

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

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
Результат void

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

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