C# Класс Revit.SDK.Samples.LevelsProperty.CS.LevelsForm

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

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

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

form for new levels

LevelsForm ( Command opt ) : System

The constructor is used to initialize some object.

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

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

addButton_Click ( object sender, EventArgs e ) : void

Used to a new item in the dataGridView control.

deleteButton_Click ( object sender, EventArgs e ) : void

Used to delete a item.

levelsDataGridView_CellValidating ( object sender, DataGridViewCellValidatingEventArgs e ) : void

Judge if the inputted Name is unique.

levelsDataGridView_CellValueChanged ( object sender, DataGridViewCellEventArgs e ) : void

Record the changed Item.

levelsDataGridView_DataError ( object sender, DataGridViewDataErrorEventArgs e ) : void

Judge if the inputted Elevation is valid.

okButton_Click ( object sender, EventArgs e ) : void

Used to make setting apply to the model.

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

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

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

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

form for new levels
public LevelsForm ( ) : System
Результат System

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

The constructor is used to initialize some object.
public LevelsForm ( Command opt ) : System
opt Command Used to get the Command class's object.
Результат System