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

Afficher le fichier Open project: AMEE/revit Class Usage Examples

Méthodes publiques

Méthode Description
ProjectUnitForm ( ProjectUnitData dataBuffer ) : System

Initialize GUI with ProjectUnitData

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Méthode 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 méthode

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

ProjectUnitForm() public méthode

Initialize GUI with ProjectUnitData
public ProjectUnitForm ( ProjectUnitData dataBuffer ) : System
dataBuffer ProjectUnitData relevant data from revit
Résultat System