C# Class Revit.SDK.Samples.CurtainSystem.CS.UI.CreateCurtainSystemDialog

显示文件 Open project: AMEE/revit Class Usage Examples

Public Methods

Method Description
CreateCurtainSystemDialog ( MyDocument mydoc ) : System

constructor

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
CreateCurtainSystemDialog_FormClosing ( object sender, FormClosingEventArgs e ) : void
InitializeComponent ( ) : void

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

button1_Click ( object sender, EventArgs e ) : void
byFaceArrayCheckBox_CheckedChanged ( object sender, EventArgs e ) : void

check/uncheck the "by face array" flag

clearButton_Click ( object sender, EventArgs e ) : void

clear the selected faces

createCSButton_Click ( object sender, EventArgs e ) : void

create a new curtain system by the selected faces

reverseSelButton_Click ( object sender, EventArgs e ) : void

reverse the selection

reverseSelection_Click ( object sender, EventArgs e ) : void
selectAllButton_Click ( object sender, EventArgs e ) : void

select all the faces

Method Details

CreateCurtainSystemDialog() public method

constructor
public CreateCurtainSystemDialog ( MyDocument mydoc ) : System
mydoc MyDocument /// the document of the sample ///
return System

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