C# Class Revit.SDK.Samples.TagBeam.CS.TagBeamForm

Form to get input from user to create beam tags.
Inheritance: System.Windows.Forms.Form
Mostra file Open project: AMEE/revit Class Usage Examples

Public Methods

Method Description
TagBeamForm ( TagBeamData dataBuffer ) : System

Initialize GUI with TagBeamData

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
InitializeComboBoxes ( ) : void

Initialize the combo boxes.

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.

okButton_Click ( object sender, EventArgs e ) : void

Create tags on beam's start and end.

tagComboBox_SelectedIndexChanged ( object sender, EventArgs e ) : void

Update tag types in tagComboBox according to the selected tag mode.

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

TagBeamForm() public method

Initialize GUI with TagBeamData
public TagBeamForm ( TagBeamData dataBuffer ) : System
dataBuffer TagBeamData relevant data from revit
return System