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

A base class for tree controls.
상속: System.Windows.Forms.UserControl
파일 보기 프로젝트 열기: OPCFoundation/UA-.NET

보호된 프로퍼티들

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

공개 메소드들

메소드 설명
BaseTreeCtrl ( ) : System

Initializes a new instance of the BaseTreeCtrl class.

보호된 메소드들

메소드 설명
AddNode ( TreeNode treeNode, object item ) : TreeNode

Adds an item to the tree.

AddNode ( TreeNode parent, object item, string text, string icon ) : TreeNode

Adds an item to the tree.

BeforeExpand ( TreeNode clickedNode ) : bool

Initializes a node before expanding it.

Dispose ( bool disposing ) : void

Clean up any resources being used.

EnableMenuItems ( TreeNode clickedNode ) : void

Enables the state of menu items.

GetDataToDrag ( TreeNode node ) : object

Returns the data to drag.

NodesTV_DragDrop ( object sender, DragEventArgs e ) : void

Handles the DragDrop event of the NodesTV control.

NodesTV_DragEnter ( object sender, DragEventArgs e ) : void

Handles the DragEnter event of the NodesTV control.

NodesTV_DragOver ( object sender, DragEventArgs e ) : void

Handles the DragOver event of the NodesTV control.

NodesTV_GiveFeedback ( object sender, System.Windows.Forms.GiveFeedbackEventArgs e ) : void

Handles the GiveFeedback event of the NodesTV control.

PickNode ( ) : void

Sends notifications whenever a node in the control is 'picked'.

SelectNode ( ) : void

Sends notifications whenever a node in the control is 'selected'.

UpdateNode ( TreeNode treeNode, object item, string text, string icon ) : void

Updates a tree node with the current contents of an object.

비공개 메소드들

메소드 설명
InitializeComponent ( ) : void

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

NodesTV_AfterSelect ( object sender, TreeViewEventArgs e ) : void
NodesTV_BeforeExpand ( object sender, System.Windows.Forms.TreeViewCancelEventArgs e ) : void
NodesTV_DoubleClick ( object sender, EventArgs e ) : void
NodesTV_MouseDown ( object sender, MouseEventArgs e ) : void

메소드 상세

AddNode() 보호된 메소드

Adds an item to the tree.
protected AddNode ( TreeNode treeNode, object item ) : TreeNode
treeNode System.Windows.Forms.TreeNode
item object
리턴 System.Windows.Forms.TreeNode

AddNode() 보호된 메소드

Adds an item to the tree.
protected AddNode ( TreeNode parent, object item, string text, string icon ) : TreeNode
parent System.Windows.Forms.TreeNode
item object
text string
icon string
리턴 System.Windows.Forms.TreeNode

BaseTreeCtrl() 공개 메소드

Initializes a new instance of the BaseTreeCtrl class.
public BaseTreeCtrl ( ) : System
리턴 System

BeforeExpand() 보호된 메소드

Initializes a node before expanding it.
protected BeforeExpand ( TreeNode clickedNode ) : bool
clickedNode System.Windows.Forms.TreeNode
리턴 bool

Dispose() 보호된 메소드

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

EnableMenuItems() 보호된 메소드

Enables the state of menu items.
protected EnableMenuItems ( TreeNode clickedNode ) : void
clickedNode System.Windows.Forms.TreeNode
리턴 void

GetDataToDrag() 보호된 메소드

Returns the data to drag.
protected GetDataToDrag ( TreeNode node ) : object
node System.Windows.Forms.TreeNode
리턴 object

NodesTV_DragDrop() 보호된 메소드

Handles the DragDrop event of the NodesTV control.
protected NodesTV_DragDrop ( object sender, DragEventArgs e ) : void
sender object The source of the event.
e System.Windows.Forms.DragEventArgs The instance containing the event data.
리턴 void

NodesTV_DragEnter() 보호된 메소드

Handles the DragEnter event of the NodesTV control.
protected NodesTV_DragEnter ( object sender, DragEventArgs e ) : void
sender object The source of the event.
e System.Windows.Forms.DragEventArgs The instance containing the event data.
리턴 void

NodesTV_DragOver() 보호된 메소드

Handles the DragOver event of the NodesTV control.
protected NodesTV_DragOver ( object sender, DragEventArgs e ) : void
sender object The source of the event.
e System.Windows.Forms.DragEventArgs The instance containing the event data.
리턴 void

NodesTV_GiveFeedback() 보호된 메소드

Handles the GiveFeedback event of the NodesTV control.
protected NodesTV_GiveFeedback ( object sender, System.Windows.Forms.GiveFeedbackEventArgs e ) : void
sender object The source of the event.
e System.Windows.Forms.GiveFeedbackEventArgs The instance containing the event data.
리턴 void

PickNode() 보호된 메소드

Sends notifications whenever a node in the control is 'picked'.
protected PickNode ( ) : void
리턴 void

SelectNode() 보호된 메소드

Sends notifications whenever a node in the control is 'selected'.
protected SelectNode ( ) : void
리턴 void

UpdateNode() 보호된 메소드

Updates a tree node with the current contents of an object.
protected UpdateNode ( TreeNode treeNode, object item, string text, string icon ) : void
treeNode System.Windows.Forms.TreeNode
item object
text string
icon string
리턴 void

프로퍼티 상세

NodesTV 보호되어 있는 프로퍼티

The TreeView contained in the Control.
protected TreeView,System.Windows.Forms NodesTV
리턴 System.Windows.Forms.TreeView