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

ファイルを表示 Open project: OPCFoundation/UA-.NET

Public Methods

Method Description
Add ( NodeId nodeId ) : void

Adds a node to the control.

GetNodeList ( ) : IList

Returns the list of nodes in the control.

Initialize ( Session session, IList nodeIds ) : void

Initializes the control with a set of items.

NodeListCtrl ( ) : System

Initializes a new instance of the NodeListCtrl class.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

EnableMenuItems ( ListViewItem clickedItem ) : void
ItemsLV_DragDrop ( object sender, DragEventArgs e ) : void

Handles a drop event.

SelectItems ( ) : void
UpdateItem ( ListViewItem listItem, object item ) : void

Private Methods

Method Description
DeleteMI_Click ( object sender, EventArgs e ) : void
InitializeComponent ( ) : void

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

Method Details

Add() public method

Adds a node to the control.
public Add ( NodeId nodeId ) : void
nodeId NodeId
return void

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 ( ListViewItem clickedItem ) : void
clickedItem ListViewItem
return void

GetNodeList() public method

Returns the list of nodes in the control.
public GetNodeList ( ) : IList
return IList

Initialize() public method

Initializes the control with a set of items.
public Initialize ( Session session, IList nodeIds ) : void
session Session
nodeIds IList
return void

ItemsLV_DragDrop() protected method

Handles a drop event.
protected ItemsLV_DragDrop ( object sender, DragEventArgs e ) : void
sender object
e DragEventArgs
return void

NodeListCtrl() public method

Initializes a new instance of the NodeListCtrl class.
public NodeListCtrl ( ) : System
return System

SelectItems() protected method

protected SelectItems ( ) : void
return void

UpdateItem() protected method

protected UpdateItem ( ListViewItem listItem, object item ) : void
listItem ListViewItem
item object
return void