C# 클래스 Opc.Ua.Client.Controls.BrowseTreeViewCtrl

A control which displays browse tree.
상속: System.Windows.Forms.UserControl
파일 보기 프로젝트 열기: OPCFoundation/UA-.NET

공개 프로퍼티들

프로퍼티 타입 설명
BrowseTV System.Windows.Forms.TreeView

공개 메소드들

메소드 설명
BrowseTreeViewCtrl ( ) : System

Creates a new instance of the control.

ChangeSession ( Session session ) : void

Changes the session used by the control.

GetChildOfSelectedNode ( int index ) : ReferenceDescription

Returns the child node at the specified index.

Initialize ( Session session, Opc.Ua.NodeId rootId ) : void

Initializes the control with a root and a set of hierarchial reference types to follow.

RefreshSelection ( ) : void

The reference for the parent of the currently selected node.

SelectNode ( NodeId nodeId ) : bool

Selects a node in the control.

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Clean up any resources being used.

비공개 메소드들

메소드 설명
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.

BrowseTV_MouseDown ( object sender, MouseEventArgs e ) : void
Browse_RefreshMI_Click ( object sender, EventArgs e ) : void
ChangeSession ( Session session, bool refresh ) : void

Changes the session used by the control.

InitializeComponent ( ) : void

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

SelectNode ( TreeNodeCollection nodes, NodeId nodeId ) : bool

Recursively finds and selects a node in the control.

메소드 상세

BrowseTreeViewCtrl() 공개 메소드

Creates a new instance of the control.
public BrowseTreeViewCtrl ( ) : System
리턴 System

ChangeSession() 공개 메소드

Changes the session used by the control.
public ChangeSession ( Session session ) : void
session Opc.Ua.Client.Session The session.
리턴 void

Dispose() 보호된 메소드

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
리턴 void

GetChildOfSelectedNode() 공개 메소드

Returns the child node at the specified index.
public GetChildOfSelectedNode ( int index ) : ReferenceDescription
index int
리턴 Opc.Ua.ReferenceDescription

Initialize() 공개 메소드

Initializes the control with a root and a set of hierarchial reference types to follow.
public Initialize ( Session session, Opc.Ua.NodeId rootId ) : void
session Opc.Ua.Client.Session The session.
rootId Opc.Ua.NodeId The root of the hierarchy to browse.
리턴 void

RefreshSelection() 공개 메소드

The reference for the parent of the currently selected node.
public RefreshSelection ( ) : void
리턴 void

SelectNode() 공개 메소드

Selects a node in the control.
public SelectNode ( NodeId nodeId ) : bool
nodeId NodeId
리턴 bool

프로퍼티 상세

BrowseTV 공개적으로 프로퍼티

The tree control.
public System.Windows.Forms.TreeView BrowseTV
리턴 System.Windows.Forms.TreeView