C# Class ATMLCommonLibrary.controls.switching.SwitchPortControl

显示文件 Open project: UtrsSoftware/ATMLWorkBench

Protected Properties

Property Type Description
btnAdd System.Windows.Forms.ToolStripButton
btnDelete System.Windows.Forms.ToolStripButton
btnEdit System.Windows.Forms.ToolStripButton
toolStrip1 System.Windows.Forms.ToolStrip

Private Properties

Property Type Description
ControlsToData void
DataToControls void
DeleteSelectedRows void
InitializeComponent void
SetEditMode void
btnAdd_Click void
btnDelete_Click void
btnEdit_Click void

Public Methods

Method Description
SwitchPortControl ( ) : System

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
ControlsToData ( ) : void
DataToControls ( ) : void
DeleteSelectedRows ( DataGridView dataGridView ) : void
InitializeComponent ( ) : void

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

SetEditMode ( DataGridView dataGridView ) : void
btnAdd_Click ( object sender, EventArgs e ) : void
btnDelete_Click ( object sender, EventArgs e ) : void
btnEdit_Click ( object sender, EventArgs e ) : void

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

SwitchPortControl() public method

public SwitchPortControl ( ) : System
return System

Property Details

btnAdd protected_oe property

protected System.Windows.Forms.ToolStripButton btnAdd
return System.Windows.Forms.ToolStripButton

btnDelete protected_oe property

protected System.Windows.Forms.ToolStripButton btnDelete
return System.Windows.Forms.ToolStripButton

btnEdit protected_oe property

protected System.Windows.Forms.ToolStripButton btnEdit
return System.Windows.Forms.ToolStripButton

toolStrip1 protected_oe property

protected System.Windows.Forms.ToolStrip toolStrip1
return System.Windows.Forms.ToolStrip