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

Prompts the use to select a store from a list stores on a machine.
Inheritance: Opc.Ua.Client.Controls.BaseTreeCtrl
ファイルを表示 Open project: OPCFoundation/UA-.NET

Public Methods

Method Description
CertificateStoreTreeCtrl ( ) : System

Initializes the control.

Initialize ( ) : void

Provides the configuration to use when displaying the control.

Protected Methods

Method Description
BeforeExpand ( TreeNode clickedNode ) : bool

Fetches the children before expanding a node.

Dispose ( bool disposing ) : void

Clean up any resources being used.

EnableMenuItems ( TreeNode clickedNode ) : void

Enables the menu items.

GetDataToDrag ( TreeNode node ) : object

Returns the data to drag.

NodesTV_DragDrop ( object sender, DragEventArgs e ) : void

Handles a drop event.

NodesTV_DragEnter ( object sender, DragEventArgs e ) : void

Handles a drag enter event.

NodesTV_DragOver ( object sender, DragEventArgs e ) : void

Handles a drag over event.

SelectNode ( ) : void

Updates the controls after a node is selected.

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

Updates the properties of a node in the view.

Private Methods

Method Description
CopyMI_Click ( object sender, EventArgs e ) : void
FetchChildren ( TreeNode parent ) : void

Updates the children of a node.

InitializeComponent ( ) : void

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

PasteMI_Click ( object sender, EventArgs e ) : void
SetIcon ( TreeNode treeNode, ContainerInfo info ) : void

Sets the icon for the tree node.

Method Details

BeforeExpand() protected method

Fetches the children before expanding a node.
protected BeforeExpand ( TreeNode clickedNode ) : bool
clickedNode System.Windows.Forms.TreeNode
return bool

CertificateStoreTreeCtrl() public method

Initializes the control.
public CertificateStoreTreeCtrl ( ) : 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

Enables the menu items.
protected EnableMenuItems ( TreeNode clickedNode ) : void
clickedNode System.Windows.Forms.TreeNode
return void

GetDataToDrag() protected method

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

Initialize() public method

Provides the configuration to use when displaying the control.
public Initialize ( ) : void
return void

NodesTV_DragDrop() protected method

Handles a drop event.
protected NodesTV_DragDrop ( object sender, DragEventArgs e ) : void
sender object
e System.Windows.Forms.DragEventArgs
return void

NodesTV_DragEnter() protected method

Handles a drag enter event.
protected NodesTV_DragEnter ( object sender, DragEventArgs e ) : void
sender object
e System.Windows.Forms.DragEventArgs
return void

NodesTV_DragOver() protected method

Handles a drag over event.
protected NodesTV_DragOver ( object sender, DragEventArgs e ) : void
sender object
e System.Windows.Forms.DragEventArgs
return void

SelectNode() protected method

Updates the controls after a node is selected.
protected SelectNode ( ) : void
return void

UpdateNode() protected method

Updates the properties of a node in the view.
protected UpdateNode ( TreeNode treeNode, object item, string text, string icon ) : void
treeNode System.Windows.Forms.TreeNode
item object
text string
icon string
return void