C# Class Opc.Ua.Client.Controls.BrowseTreeCtrl

Displays a hierarchy of nodes.
Inheritance: Opc.Ua.Client.Controls.BaseTreeCtrl
Datei anzeigen Open project: OPCFoundation/UA-.NET Class Usage Examples

Public Methods

Method Description
BrowseTreeCtrl ( ) : System

Initializes a new instance of the BrowseTreeCtrl class.

Initialize ( Session session, NodeId rootId, NodeId viewId, NodeId referenceTypeId, BrowseDirection browseDirection ) : void

Displays the a root in the control.

Protected Methods

Method Description
BeforeExpand ( TreeNode clickedNode ) : bool
Dispose ( bool disposing ) : void

Clean up any resources being used.

EnableMenuItems ( TreeNode clickedNode ) : void
SelectNode ( ) : void

Private Methods

Method Description
BrowseChildren ( TreeNode parent ) : bool

Browses the children of the node and updates the tree.

BrowseDirectionCTRL_SelectedIndexChanged ( object sender, EventArgs e ) : void
InitializeComponent ( ) : void

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

ReferenceTypeCTRL_ReferenceSelectionChanged ( object sender, ReferenceTypeCtrl e ) : void
RootBTN_Click ( object sender, EventArgs e ) : void
SelectChildrenMI_Click ( object sender, EventArgs e ) : void
SelectMI_Click ( object sender, EventArgs e ) : void
UpdateNode ( TreeNode parent, ReferenceDescriptionCollection references ) : void

Adds the browse results to the node (if not null).

Method Details

BeforeExpand() protected method

protected BeforeExpand ( TreeNode clickedNode ) : bool
clickedNode System.Windows.Forms.TreeNode
return bool

BrowseTreeCtrl() public method

Initializes a new instance of the BrowseTreeCtrl class.
public BrowseTreeCtrl ( ) : System
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

EnableMenuItems() protected method

protected EnableMenuItems ( TreeNode clickedNode ) : void
clickedNode System.Windows.Forms.TreeNode
return void

Initialize() public method

Displays the a root in the control.
public Initialize ( Session session, NodeId rootId, NodeId viewId, NodeId referenceTypeId, BrowseDirection browseDirection ) : void
session Session
rootId NodeId
viewId NodeId
referenceTypeId NodeId
browseDirection BrowseDirection
return void

SelectNode() protected method

protected SelectNode ( ) : void
return void