C# Class Revit.SDK.Samples.ProjectUnit.CS.ProjectUnitForm

Mostra file Open project: AMEE/revit Class Usage Examples

Public Methods

Method Description
ProjectUnitForm ( ProjectUnitData dataBuffer ) : System

Initialize GUI with ProjectUnitData

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
AddListItem ( Autodesk format ) : void

Add format which's discipline is the selected item of discipline combo box to the list

InitializeCom ( ) : void

Initialize the combo box and list view.

InitializeComponent ( ) : void

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

cancelButton_Click ( object sender, EventArgs e ) : void

Close the form when click cancel.

disciplineCombox_SelectedIndexChanged ( object sender, EventArgs e ) : void

Function handle the event that the selected index of combo box changed.

okButton_Click ( object sender, EventArgs e ) : void

Reset the project unit decimal symbol type when click ok.

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

ProjectUnitForm() public method

Initialize GUI with ProjectUnitData
public ProjectUnitForm ( ProjectUnitData dataBuffer ) : System
dataBuffer ProjectUnitData relevant data from revit
return System