C# Class Revit.SDK.Samples.NewHostedSweep.CS.MainForm

Mostra file Open project: AMEE/revit Class Usage Examples

Public Methods

Method Description
MainForm ( ) : System

Default constructor

MainForm ( CreationMgr mgr ) : System

Customize constructor.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
InitializeComboBox ( ) : void

Initialize combobox data source.

InitializeComponent ( ) : void

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

MainForm_Load ( object sender, EventArgs e ) : void

Initialize combo-box.

RefreshListBox ( ) : void

Refresh list box data source.

buttonCreate_Click ( object sender, EventArgs e ) : void

Show a form to fetch edges for hosted-sweep creation, and then create the hosted-sweep.

buttonModify_Click ( object sender, EventArgs e ) : void

Show a form to modify the created hosted-sweep.

buttonOK_Click ( object sender, EventArgs e ) : void

Close this form.

comboBoxHostedSweepType_SelectedIndexChanged ( object sender, EventArgs e ) : void

Update the list-box data source according to the combobox selection.

listBoxHostedSweeps_SelectedValueChanged ( object sender, EventArgs e ) : void

Update "Modify" button status according to the list-box selection item.

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

MainForm() public method

Default constructor
public MainForm ( ) : System
return System

MainForm() public method

Customize constructor.
public MainForm ( CreationMgr mgr ) : System
mgr CreationMgr
return System