C# Class Revit.SDK.Samples.Rooms.CS.roomsInformationForm

Show file Open project: AMEE/revit Class Usage Examples

Public Methods

Method Description
roomsInformationForm ( ) : System

constructor

roomsInformationForm ( RoomsData data ) : System

Overload the constructor

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
DisplayDartmentsInfo ( ) : void

display total rooms' information for each department

DisplayRooms ( ReadOnlyCollection roomList, bool isHaveTag ) : void

add rooms of list roomsWithTag to the listview

InitializeComponent ( ) : void

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

RoomInfoForm_Load ( object sender, EventArgs e ) : void

when the form was loaded, display the information of rooms

addTagButton_Click ( object sender, EventArgs e ) : void

create room tags for the rooms which are lack of tags

exportButton_Click ( object sender, EventArgs e ) : void

Save the information into an Excel file

reorderButton_Click ( object sender, EventArgs e ) : void

reorder rooms' number

Method Details

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

roomsInformationForm() public method

constructor
public roomsInformationForm ( ) : System
return System

roomsInformationForm() public method

Overload the constructor
public roomsInformationForm ( RoomsData data ) : System
data RoomsData an instance of Data class
return System