C# Class Revit.SDK.Samples.TransactionControl.CS.CreateWallForm

A Form used to create a wall
Inheritance: System.Windows.Forms.Form
显示文件 Open project: AMEE/revit Class Usage Examples

Public Methods

Method Description
CreateWallForm ( ExternalCommandData commandData ) : System

Constructor

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
Initialize ( ) : void

do some initialization work: get all levels and wall types in active document and add them to combo box

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

try to create a wall. if failed, keep this dialog, otherwise, close it.

Method Details

CreateWallForm() public method

Constructor
public CreateWallForm ( ExternalCommandData commandData ) : System
commandData ExternalCommandData the external command data
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