C# Класс Revit.SDK.Samples.NewHostedSweep.CS.MainForm

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
MainForm ( ) : System

Default constructor

MainForm ( CreationMgr mgr ) : System

Customize constructor.

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Clean up any resources being used.

Приватные методы

Метод Описание
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.

Описание методов

Dispose() защищенный Метод

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
Результат void

MainForm() публичный Метод

Default constructor
public MainForm ( ) : System
Результат System

MainForm() публичный Метод

Customize constructor.
public MainForm ( CreationMgr mgr ) : System
mgr CreationMgr
Результат System