C# Class DBCViewer.DefinitionEditor

显示文件 Open project: tomrus88/dbcviewer Class Usage Examples

Public Methods

Method Description
DefinitionEditor ( MainForm mainForm ) : System
InitDefinitions ( ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
CheckColumns ( ) : bool
CreateDefaultDefinition ( ) : Table
DefinitionEditorNew_FormClosing ( object sender, FormClosingEventArgs e ) : void
DefinitionEditorNew_Load ( object sender, EventArgs e ) : void
InitForm ( Table def ) : void
InitializeComponent ( ) : void

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

WriteXml ( ) : void
doneButton_Click ( object sender, EventArgs e ) : void
editorDataGridView_CellValueChanged ( object sender, DataGridViewCellEventArgs e ) : void
editorDataGridView_DefaultValuesNeeded ( object sender, DataGridViewRowEventArgs e ) : void
editorDataGridView_DragDrop ( object sender, DragEventArgs e ) : void
editorDataGridView_DragEnter ( object sender, DragEventArgs e ) : void
editorDataGridView_MouseDown ( object sender, MouseEventArgs e ) : void
editorDataGridView_UserAddedRow ( object sender, DataGridViewRowEventArgs e ) : void
editorDataGridView_UserDeletedRow ( object sender, DataGridViewRowEventArgs e ) : void

Method Details

DefinitionEditor() public method

public DefinitionEditor ( MainForm mainForm ) : System
mainForm MainForm
return System

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

InitDefinitions() public method

public InitDefinitions ( ) : void
return void