C# Класс Revit.SDK.Samples.NewRoof.RoofForms.CS.RoofForm

The main form to create or delete roof in Revit.
Наследование: System.Windows.Forms.Form
Показать файл Открыть проект

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

Метод Описание
RoofForm ( RoofsManager roofsManager ) : System

The construct of the RoofForm class.

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

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

Clean up any resources being used.

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

Метод Описание
EditRoofItem ( object sender, RoofItem item ) : void

Edit a roof's properties.

InitializeComponent ( ) : void

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

RoofForm ( ) : System

The private construct.

RoofForm_Load ( object sender, EventArgs e ) : void

When the RoofForm was loaded, then initialize data of the controls in the form.

createExtrusionRoof ( ) : void

Create a extrusion roof.

createFootPrintRoof ( ) : void

Create a new footprint roof.

createRoofButton_Click ( object sender, EventArgs e ) : void

when createRoofButton was clicked, then create a new roof.

editRoofButton_Click ( object sender, EventArgs e ) : void

When editRoofButton was click, then create a new RoofEditorForm to edit the selected roof.

extrusionEndTextBox_Validating ( object sender, CancelEventArgs e ) : void

Validate the extrusion end value.

extrusionStartTextBox_Validating ( object sender, CancelEventArgs e ) : void

Validate the extrusion start value.

roofsListView_MouseDoubleClick ( object sender, MouseEventArgs e ) : void

When the event occurred, then create a new RoofEditorForm to edit the roof.

selectFootPrintButton_Click ( object sender, EventArgs e ) : void

When selectFootPrintButton was clicked, then select some footprint loops in Revit.

selectProfileButton_Click ( object sender, EventArgs e ) : void

When selectFootPrintButton was clicked, then select profile in Revit.

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

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

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

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

The construct of the RoofForm class.
public RoofForm ( RoofsManager roofsManager ) : System
roofsManager RoofsManager A reference to the roofs manager
Результат System