C# Class Opc.Ua.Sample.Controls.SelectClauseListCtrl

Inheritance: Opc.Ua.Client.Controls.BaseListCtrl
显示文件 Open project: OPCFoundation/UA-.NET

Public Methods

Method Description
AddSelectClause ( ReferenceDescription reference ) : void

Adds a select clause to the control.

Clear ( ) : void

Clears the contents of the control,

GetSelectClauses ( ) : SimpleAttributeOperandCollection

Returns the SelectClauses in the control.

Initialize ( Session session, SimpleAttributeOperandCollection selectClauses ) : void

Sets the nodes in the control.

SelectClauseListCtrl ( ) : System

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

EnableMenuItems ( System.Windows.Forms.ListViewItem clickedItem ) : void
ItemsLV_DragDrop ( object sender, DragEventArgs e ) : void

Handles a drop event.

UpdateItem ( System.Windows.Forms.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.

ViewMI_Click ( object sender, EventArgs e ) : void

Method Details

AddSelectClause() public method

Adds a select clause to the control.
public AddSelectClause ( ReferenceDescription reference ) : void
reference ReferenceDescription
return void

Clear() public method

Clears the contents of the control,
public Clear ( ) : void
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 ( System.Windows.Forms.ListViewItem clickedItem ) : void
clickedItem System.Windows.Forms.ListViewItem
return void

GetSelectClauses() public method

Returns the SelectClauses in the control.
public GetSelectClauses ( ) : SimpleAttributeOperandCollection
return SimpleAttributeOperandCollection

Initialize() public method

Sets the nodes in the control.
public Initialize ( Session session, SimpleAttributeOperandCollection selectClauses ) : void
session Opc.Ua.Client.Session
selectClauses SimpleAttributeOperandCollection
return void

ItemsLV_DragDrop() protected method

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

SelectClauseListCtrl() public method

public SelectClauseListCtrl ( ) : System
return System

UpdateItem() protected method

protected UpdateItem ( System.Windows.Forms.ListViewItem listItem, object item ) : void
listItem System.Windows.Forms.ListViewItem
item object
return void