C# Class OZWForm.ControllerCommandDlg

Inheritance: System.Windows.Forms.Form
Show file Open project: Yadoms/yadoms Class Usage Examples

Public Methods

Method Description
ControllerCommandDlg ( MainForm _mainDlg, ZWManager _manager, UInt32 homeId, ZWControllerCommand _op, Byte nodeId ) : System

Initializes a new instance of the ControllerCommandDlg class.

MyControllerStateChangedHandler ( ZWControllerState state ) : void

Handles controller state changes.

NotificationHandler ( ZWNotification notification ) : void

Handles Notifications.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
ButtonCancel_Click ( object sender, EventArgs e ) : void

Handles the Click event of the ButtonCancel control.

InitializeComponent ( ) : void

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

SetButtonEnabled ( bool enabled ) : void

Sets the button enabled.

SetButtonText ( String text ) : void

Sets the button text.

SetDialogText ( String text ) : void

Sets the dialog text.

Method Details

ControllerCommandDlg() public method

Initializes a new instance of the ControllerCommandDlg class.
public ControllerCommandDlg ( MainForm _mainDlg, ZWManager _manager, UInt32 homeId, ZWControllerCommand _op, Byte nodeId ) : System
_mainDlg MainForm The main form.
_manager ZWManager The manager.
homeId System.UInt32 The home identifier.
_op ZWControllerCommand The Controller Command.
nodeId Byte The node identifier.
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

MyControllerStateChangedHandler() public static method

Handles controller state changes.
public static MyControllerStateChangedHandler ( ZWControllerState state ) : void
state ZWControllerState The state.
return void

NotificationHandler() public static method

Handles Notifications.
public static NotificationHandler ( ZWNotification notification ) : void
notification ZWNotification The notification.
return void