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

The MainForm Class is the main user interface to manage the Space elements and Zone elements
Наследование: System.Windows.Forms.Form
Показать файл Открыть проект Примеры использования класса

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

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

The constructor of MainForm.

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

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

Clean up any resources being used.

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

Метод Описание
InitializeComponent ( ) : void

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

MainForm ( ) : System

The default constructor of MainForm.

MainForm_Load ( object sender, EventArgs e ) : void

When the MainForm is loaded, initialize related controls.

Update ( Level level ) : void

Update the spacesListView and spacesListView.

createSpacesButton_Click ( object sender, EventArgs e ) : void

When createSpacesButton is clicked, then create spaces and update the spacesListView

createZoneButton_Click ( object sender, EventArgs e ) : void

When createZoneButton is clicked, then create a new Zone element.

editZoneButton_Click ( object sender, EventArgs e ) : void

When editZoneButton is clicked, show the ZoneEditorForm to edit the selected ZoneNode.

levelComboBox_SelectedIndexChanged ( object sender, EventArgs e ) : void

When the levelComboBox selected index is changed, update the spacesListView and zonesTreeView.

zonesTreeView_AfterSelect ( object sender, TreeViewEventArgs e ) : void

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

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() публичный Метод

The constructor of MainForm.
public MainForm ( DataManager dataManager ) : System
dataManager DataManager
Результат System