C# Class Revit.SDK.Samples.NewRebar.CS.NewRebarForm

This is the main form for user to operate the Rebar creation.
Inheritance: System.Windows.Forms.Form
Afficher le fichier Open project: AMEE/revit Class Usage Examples

Méthodes publiques

Méthode Description
NewRebarForm ( ) : System

Default constructor.

NewRebarForm ( Autodesk rvtDoc ) : System

Constructor, initialize fields of RebarBarTypes and RebarShapes.

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Méthode Description
InitializeComponent ( ) : void

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

NewRebarForm_Load ( object sender, EventArgs e ) : void

Load event, Initialize controls data source.

UpdateUIStatus ( ) : void

Update the status of some controls.

byArcradioButton_CheckedChanged ( object sender, EventArgs e ) : void

byArcradioButton check status change event.

bySegmentsradioButton_CheckedChanged ( object sender, EventArgs e ) : void

bySegmentsradioButton check status change event.

cancelButton_Click ( object sender, EventArgs e ) : void

Cancel Button, return DialogResult.Cancel and close this form.

createShapeButton_Click ( object sender, EventArgs e ) : void

Present a dialog to customize a RebarShape.

okButton_Click ( object sender, EventArgs e ) : void

OK Button, return DialogResult.OK and close this form.

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

NewRebarForm() public méthode

Default constructor.
public NewRebarForm ( ) : System
Résultat System

NewRebarForm() public méthode

Constructor, initialize fields of RebarBarTypes and RebarShapes.
public NewRebarForm ( Autodesk rvtDoc ) : System
rvtDoc Autodesk
Résultat System