C# Class Quickstarts.AlarmConditionClient.SetAreaFilterDlg

Prompts the user to select an area to use as an event filter.
Inheritance: System.Windows.Forms.Form
Mostra file Open project: OPCFoundation/UA-.NET Class Usage Examples

Public Methods

Method Description
SetAreaFilterDlg ( ) : System

Creates an empty form.

ShowDialog ( Session session ) : Opc.Ua.NodeId

Displays the available areas in a tree view.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
BrowseTV_AfterSelect ( object sender, TreeViewEventArgs e ) : void

Handles the AfterSelect event of the BrowseTV control.

BrowseTV_BeforeExpand ( object sender, System.Windows.Forms.TreeViewCancelEventArgs e ) : void

Handles the BeforeExpand event of the BrowseTV control.

BrowseTV_DoubleClick ( object sender, EventArgs e ) : void

Handles the DoubleClick event of the BrowseTV control.

InitializeComponent ( ) : void

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

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

SetAreaFilterDlg() public method

Creates an empty form.
public SetAreaFilterDlg ( ) : System
return System

ShowDialog() public method

Displays the available areas in a tree view.
public ShowDialog ( Session session ) : Opc.Ua.NodeId
session Opc.Ua.Client.Session The session.
return Opc.Ua.NodeId