C# 클래스 Revit.SDK.Samples.AutoTagRooms.CS.AutoTagRoomsForm

The graphic user interface of auto tag rooms
파일 보기 프로젝트 열기: AMEE/revit 1 사용 예제들

공개 메소드들

메소드 설명
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