C# Класс Revit.SDK.Samples.AutoTagRooms.CS.AutoTagRoomsForm

The graphic user interface of auto tag rooms
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
AutoTagRoomsForm ( RoomsData roomsData ) : System

Constructor of AutoTagRoomsForm

levelsComboBox_DropDown ( object sender, EventArgs e ) : void

When the levelsComboBox drop down, adjust its width

tagTypesComboBox_DropDown ( object sender, EventArgs e ) : void

When the tagTypesComboBox drop down, adjust its width

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

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

Clean up any resources being used.

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

Метод Описание
AdjustWidthComboBox_DropDown ( object sender, System e ) : void

Adjust combo box drop down list width to longest string width

AutoTagRoomsForm ( ) : System

Default constructor of AutoTagRoomsForm

AutoTagRoomsForm_Load ( object sender, EventArgs e ) : void

When the AutoTagRoomsForm is loading, initialize the levelsComboBox and tagTypesComboBox

InitRoomListView ( ) : void

Initialize the roomsListView

InitializeComponent ( ) : void

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

UpdateRoomsList ( ) : void

Update the rooms information in the specified level

autoTagButton_Click ( object sender, EventArgs e ) : void

When clicked the autoTag button, then tag all rooms in the specified level.

levelsComboBox_SelectedIndexChanged ( object sender, EventArgs e ) : void

When selected different level, then update the roomsListView.

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

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

Constructor of AutoTagRoomsForm
public AutoTagRoomsForm ( RoomsData roomsData ) : System
roomsData RoomsData The data source of AutoTagRoomsForm
Результат System

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

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

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

When the levelsComboBox drop down, adjust its width
public levelsComboBox_DropDown ( object sender, EventArgs e ) : void
sender object
e EventArgs
Результат void

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

When the tagTypesComboBox drop down, adjust its width
public tagTypesComboBox_DropDown ( object sender, EventArgs e ) : void
sender object
e EventArgs
Результат void