Method | Description | |
---|---|---|
LevelsForm ( ) : System |
form for new levels
|
|
LevelsForm ( |
The constructor is used to initialize some object.
|
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Clean up any resources being used.
|
Method | Description | |
---|---|---|
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.
|
protected Dispose ( bool disposing ) : void | ||
disposing | bool | true if managed resources should be disposed; otherwise, false. |
return | void |
public LevelsForm ( |
||
opt | Used to get the Command class's object. | |
return | System |