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

Afficher le fichier Open project: OPCFoundation/UA-.NET

Méthodes publiques

Méthode Description
AddValueId ( ReferenceDescription reference ) : void

Adds a value to the control.

Clear ( ) : void

Clears the contents of the control,

GetValueIds ( ) : ReadValueIdCollection

Returns the items in the control.

Initialize ( Session session, ReadValueIdCollection valueIds ) : void

Sets the nodes in the control.

ReadValueListCtrl ( ) : System

Méthodes protégées

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

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

Private Methods

Méthode Description
DeleteMI_Click ( object sender, EventArgs e ) : void
EditMI_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.

NewMI_Click ( object sender, EventArgs e ) : void

Method Details

AddValueId() public méthode

Adds a value to the control.
public AddValueId ( ReferenceDescription reference ) : void
reference ReferenceDescription
Résultat void

Clear() public méthode

Clears the contents of the control,
public Clear ( ) : void
Résultat void

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

protected EnableMenuItems ( ListViewItem clickedItem ) : void
clickedItem ListViewItem
Résultat void

GetValueIds() public méthode

Returns the items in the control.
public GetValueIds ( ) : ReadValueIdCollection
Résultat ReadValueIdCollection

Initialize() public méthode

Sets the nodes in the control.
public Initialize ( Session session, ReadValueIdCollection valueIds ) : void
session Session
valueIds ReadValueIdCollection
Résultat void

ItemsLV_DragDrop() protected méthode

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

PickItems() protected méthode

protected PickItems ( ) : void
Résultat void

ReadValueListCtrl() public méthode

public ReadValueListCtrl ( ) : System
Résultat System

UpdateItem() protected méthode

protected UpdateItem ( ListViewItem listItem, object item ) : void
listItem ListViewItem
item object
Résultat void