C# Class Revit.SDK.Samples.AddSpaceAndZone.CS.ZoneEditorForm

Mostrar archivo Open project: AMEE/revit Class Usage Examples

Public Methods

Method Description
ZoneEditorForm ( DataManager dataManager, ZoneNode zoneNode ) : System

The constructor of ZoneEditorForm class.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
InitializeComponent ( ) : void

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

UpdateSpaceList ( ) : void

Update the AvailableSpacesListView and CurrentSpacesListView

ZoneEditorForm ( ) : System

The default constructor of ZoneEditorForm class.

ZoneEditorForm_Load ( object sender, EventArgs e ) : void

When the ZoneEditorForm is loaded, update the AvailableSpacesListView and CurrentSpacesListView

addSpaceButton_Click ( object sender, EventArgs e ) : void

When the addSpace Button is clicked, the selected spaces will be added to the current Zone element.

okButton_Click ( object sender, EventArgs e ) : void

When OK button is clicked, close the ZoneEditorForm.

removeSpaceButton_Click ( object sender, EventArgs e ) : void

When the removeSpace Button is clicked, the selected spaces will be removed from the current Zone element.

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

ZoneEditorForm() public method

The constructor of ZoneEditorForm class.
public ZoneEditorForm ( DataManager dataManager, ZoneNode zoneNode ) : System
dataManager DataManager
zoneNode ZoneNode
return System