C# Класс Revit.SDK.Samples.NewRebar.CS.NewRebarForm

This is the main form for user to operate the Rebar creation.
Наследование: System.Windows.Forms.Form
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
NewRebarForm ( ) : System

Default constructor.

NewRebarForm ( Autodesk rvtDoc ) : System

Constructor, initialize fields of RebarBarTypes and RebarShapes.

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Clean up any resources being used.

Приватные методы

Метод Описание
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.

Описание методов

Dispose() защищенный Метод

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
Результат void

NewRebarForm() публичный Метод

Default constructor.
public NewRebarForm ( ) : System
Результат System

NewRebarForm() публичный Метод

Constructor, initialize fields of RebarBarTypes and RebarShapes.
public NewRebarForm ( Autodesk rvtDoc ) : System
rvtDoc Autodesk
Результат System