C# Class OZWForm.MainForm

Inheritance: System.Windows.Forms.Form
Datei anzeigen Open project: Yadoms/yadoms Class Usage Examples

Public Methods

Method Description
MainForm ( ) : System

Initializes a new instance of the MainForm class.

NotificationHandler ( ZWNotification notification ) : void

The notifications handler.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
DoCommand ( ZWControllerCommand command ) : void

Does the command.

GetNode ( UInt32 homeId, Byte nodeId ) : Node

Gets the node.

GetValue ( ZWValueID v ) : string

Gets the value.

InitializeComponent ( ) : void

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

NodeGridView_CellMouseDown ( object sender, System.Windows.Forms.DataGridViewCellMouseEventArgs e ) : void

Handles the CellMouseDown event of the NodeGridView control.

NodeGridView_CellParsing ( object sender, System.Windows.Forms.DataGridViewCellParsingEventArgs e ) : void

Handles the CellParsing event of the NodeGridView control.

NotificationHandler ( ) : void

The notification handler.

PowerOffToolStripMenuItem_Click ( object sender, EventArgs e ) : void

Handles the Click event of the PowerOffToolStripMenuItem control.

PowerOnToolStripMenuItem_Click ( object sender, EventArgs e ) : void

Handles the Click event of the PowerOnToolStripMenuItem control.

SaveToolStripMenuItem_Click ( object sender, EventArgs e ) : void

Handles the Click event of the SaveToolStripMenuItem control.

addDeviceToolStripMenuItem_Click ( object sender, EventArgs e ) : void

Handles the Click event of the addDeviceToolStripMenuItem control.

addSecureDeviceToolStripMenuItem_Click ( object sender, EventArgs e ) : void

Handles the Click event of the addSecureDeviceToolStripMenuItem control.

assignReturnRouteToolStripMenuItem_Click ( object sender, EventArgs e ) : void

Handles the Click event of the assignReturnRouteToolStripMenuItem control.

createNewPrmaryControllerToolStripMenuItem_Click ( object sender, EventArgs e ) : void

Handles the Click event of the createNewPrmaryControllerToolStripMenuItem control.

deleteReturnRouteToolStripMenuItem_Click ( object sender, EventArgs e ) : void

Handles the Click event of the deleteReturnRouteToolStripMenuItem control.

eraseAllToolStripMenuItem_Click ( object sender, EventArgs e ) : void

Handles the Click event of the eraseAllToolStripMenuItem control.

hasNodeFailedToolStripMenuItem_Click ( object sender, EventArgs e ) : void

Handles the Click event of the hasNodeFailedToolStripMenuItem control.

markNodeAsFailedToolStripMenuItem_Click ( object sender, EventArgs e ) : void

Handles the Click event of the markNodeAsFailedToolStripMenuItem control.

propertiesToolStripMenuItem_Click ( object sender, EventArgs e ) : void

Handles the Click event of the propertiesToolStripMenuItem control.

receiveConfigurationToolStripMenuItem_Click ( object sender, EventArgs e ) : void

Handles the Click event of the receiveConfigurationToolStripMenuItem control.

removeDeviceToolStripMenuItem_Click ( object sender, EventArgs e ) : void

Handles the Click event of the removeDeviceToolStripMenuItem control.

replaceFailedNodeToolStripMenuItem_Click ( object sender, EventArgs e ) : void

Handles the Click event of the replaceFailedNodeToolStripMenuItem control.

requestNetworkUpdateToolStripMenuItem_Click ( object sender, EventArgs e ) : void

Handles the Click event of the requestNetworkUpdateToolStripMenuItem control.

requestNodeNeighborUpdateToolStripMenuItem_Click ( object sender, EventArgs e ) : void

Handles the Click event of the requestNodeNeighborUpdateToolStripMenuItem control.

softToolStripMenuItem_Click ( object sender, EventArgs e ) : void

Handles the Click event of the softToolStripMenuItem control.

transferPrimaryRoleToolStripMenuItem_Click ( object sender, EventArgs e ) : void

Handles the Click event of the transferPrimaryRoleToolStripMenuItem control.

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

MainForm() public method

Initializes a new instance of the MainForm class.
public MainForm ( ) : System
return System

NotificationHandler() public method

The notifications handler.
public NotificationHandler ( ZWNotification notification ) : void
notification ZWNotification The notification.
return void