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
파일 보기 프로젝트 열기: AMEE/revit 1 사용 예제들

공개 메소드들

메소드 설명
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