C# Class Revit.SDK.Samples.NewRoof.RoofForms.CS.RoofEditorForm

ファイルを表示 Open project: AMEE/revit Class Usage Examples

Public Methods

Method Description
RoofEditorForm ( RoofsManager roofsManager, RoofBase roof ) : System

The construct of the RoofEditorForm class.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
InitializeComponent ( ) : void

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

RoofEditorForm ( ) : System

The private construct.

RoofEditorForm_Load ( object sender, EventArgs e ) : void

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

okButton_Click ( object sender, EventArgs e ) : void

When the OK button was clicked, update the roof type of the editing roof.

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

RoofEditorForm() public method

The construct of the RoofEditorForm class.
public RoofEditorForm ( RoofsManager roofsManager, RoofBase roof ) : System
roofsManager RoofsManager A reference to the roofs manager
roof RoofBase The roof which will be edited.
return System