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
Afficher le fichier Open project: OPCFoundation/UA-.NET

Méthodes publiques

Méthode Description
CertificateStoreTreeCtrl ( ) : System

Initializes the control.

Initialize ( ) : void

Provides the configuration to use when displaying the control.

Méthodes protégées

Méthode 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

Méthode 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 méthode

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

CertificateStoreTreeCtrl() public méthode

Initializes the control.
public CertificateStoreTreeCtrl ( ) : System
Résultat System

Dispose() protected méthode

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

EnableMenuItems() protected méthode

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

GetDataToDrag() protected méthode

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

Initialize() public méthode

Provides the configuration to use when displaying the control.
public Initialize ( ) : void
Résultat void

NodesTV_DragDrop() protected méthode

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

NodesTV_DragEnter() protected méthode

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

NodesTV_DragOver() protected méthode

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

SelectNode() protected méthode

Updates the controls after a node is selected.
protected SelectNode ( ) : void
Résultat void

UpdateNode() protected méthode

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
Résultat void