C# Class Revit.SDK.Samples.FrameBuilder.CS.CreateFrameForm

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

Public Methods

Method Description
CreateFrameForm ( FrameData data ) : System

constructor

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
CreateFrameForm ( ) : System

constructor without parameter is forbidden

CreateFramingForm_Load ( object sender, EventArgs e ) : void

initialize controls

DuplicateSymbol ( FrameTypesMgr typesMgr, Object symbol ) : bool

provide user UI to duplicate FamilySymbols

InitializeComponent ( ) : void

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

OKButton_Click ( object sender, EventArgs e ) : void

create the Frame

RefreshListControl ( ListControl list, FrameTypesMgr typesMgr ) : void

refresh the ListControl's datasource

beamDuplicateButton_Click ( object sender, EventArgs e ) : void

duplicate beam type

beamTypeComboBox_SelectedIndexChanged ( object sender, EventArgs e ) : void

set type of beam

braceDuplicateButton_Click ( object sender, EventArgs e ) : void

duplicate brace type

braceTypeComboBox_SelectedIndexChanged ( object sender, EventArgs e ) : void

set type of brace

cancelButton_Click ( object sender, EventArgs e ) : void

cancel all command

columnDuplicateButton_Click ( object sender, EventArgs e ) : void

duplicate column type

columnTypeComboBox_SelectedIndexChanged ( object sender, EventArgs e ) : void

set type of column

distanceTextBox_Validating ( object sender, CancelEventArgs e ) : void

validate the input value set back to its old value if input is invalid

floorNumberTextBox_Validating ( object sender, CancelEventArgs e ) : void

validate the input value set back to its old value if input is invalid

levelHeightTextBox_Validating ( object sender, CancelEventArgs e ) : void

validate the input value set back to its old value if input is invalid

originAngletextBox_Validating ( object sender, CancelEventArgs e ) : void

validate the input value set back to its old value if input is invalid

originXtextBox_Validating ( object sender, CancelEventArgs e ) : void

validate the input value set back to its old value if input is invalid

originYtextBox_Validating ( object sender, CancelEventArgs e ) : void

validate the input value set back to its old value if input is invalid

xNumberTextBox_Validating ( object sender, CancelEventArgs e ) : void

validate the input value set back to its old value if input is invalid

yNumberTextBox_Validating ( object sender, CancelEventArgs e ) : void

validate the input value set back to its old value if input is invalid

Method Details

CreateFrameForm() public method

constructor
public CreateFrameForm ( FrameData data ) : System
data FrameData necessary data to create
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