C# 클래스 Revit.SDK.Samples.NewRoof.RoofForms.CS.RoofForm

The main form to create or delete roof in Revit.
상속: System.Windows.Forms.Form
파일 보기 프로젝트 열기: AMEE/revit

공개 메소드들

메소드 설명
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