C# Class RevitLookup.Test.SDKSamples.LevelProperties.LevelsForm

Datei anzeigen Open project: jeremytammik/RevitLookup Class Usage Examples

Public Methods

Method Description
LevelsForm ( ) : System

LevelsForm ( LevelsCommand opt ) : System

Private Methods

Method Description
OKButton_Click ( object sender, EventArgs e ) : void

Used to make setting apply to the model.

addButton_Click ( object sender, EventArgs e ) : void

Used to add a new item in the dataGridView control.

deleteButton_Click ( object sender, EventArgs e ) : void

Used to delete an item.

levelsDataGridView_CellValidating ( object sender, DataGridViewCellValidatingEventArgs e ) : void

Judge if the Name entered is unique.

levelsDataGridView_CellValueChanged ( object sender, DataGridViewCellEventArgs e ) : void

Record the changed Item.

levelsDataGridView_DataError ( object sender, DataGridViewDataErrorEventArgs e ) : void

Judge if the Elevation is valid.

Method Details

LevelsForm() public method

public LevelsForm ( ) : System
return System

LevelsForm() public method

public LevelsForm ( LevelsCommand opt ) : System
opt LevelsCommand Used to get the LevelsCommand class's object.
return System