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

Inheritance: Opc.Ua.Client.Controls.BaseListCtrl
ファイルを表示 Open project: OPCFoundation/UA-.NET

Public Methods

Method Description
Clear ( ) : void

Clears the contents of the control,

ContentFilterElementListCtrl ( ) : System
GetElements ( ) : List

Returns the list of elements in the control.

GetFilter ( ) : ContentFilter

Returns the filter in the control.

Initialize ( Session session, ContentFilter filter ) : void

Sets the nodes in the control.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

EnableMenuItems ( System.Windows.Forms.ListViewItem clickedItem ) : void
UpdateItem ( System.Windows.Forms.ListViewItem listItem, object item, int index ) : void

Private Methods

Method Description
CreateElementAndMI_Click ( object sender, EventArgs e ) : void
CreateElementNotMI_Click ( object sender, EventArgs e ) : void
CreateElementOrMI_Click ( object sender, EventArgs e ) : void
DeleteMI_Click ( object sender, EventArgs e ) : void
EditValueMI_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.

SelectNodeMI_Click ( object sender, EventArgs e ) : void
SetOperatorMI_Click ( object sender, EventArgs e ) : void
Update ( ContentFilter filter ) : void

Updates the control with a new filter.

Method Details

Clear() public method

Clears the contents of the control,
public Clear ( ) : void
return void

ContentFilterElementListCtrl() public method

public ContentFilterElementListCtrl ( ) : 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

protected EnableMenuItems ( System.Windows.Forms.ListViewItem clickedItem ) : void
clickedItem System.Windows.Forms.ListViewItem
return void

GetElements() public method

Returns the list of elements in the control.
public GetElements ( ) : List
return List

GetFilter() public method

Returns the filter in the control.
public GetFilter ( ) : ContentFilter
return ContentFilter

Initialize() public method

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

UpdateItem() protected method

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