In MainForm.cs inside DeviceGb (groupbox) i have created a label (label3).
how can I associate this label with a registry value?
example i have this value in object type "register":
Logical Name "1.1.2.8.0.255"
Value=1234567,6
is there a simple function, example value=ReadValue("1.1.2.8.0.255") in some class?
And how can I use it in MainForm?
I replied the "read" Command of the menu and called it test. Can I change this function in any way for read my value?
Thx!!
private void testToolStripMenuItem_Click(object sender, EventArgs e)
{
if (tabControl1.SelectedIndex == 0)
{
//Set focus to the tree or Read count do not updated.
this.ObjectTree.Focus();
if (this.ObjectTree.SelectedNode != null)
{
TransactionWork = new GXAsyncWork(this, OnAsyncStateChange, Read, OnError, null, new object[] { this.ObjectTree.SelectedNode.Tag, SelectedView });
TransactionWork.Start();
}
You should read the association view. After that, you can see all the objects in the tree.
If you do your changes, your implementation is custom implementation and it's hard to update to the new versions.
Hi Jediace,
Hi Jediace,
You should read the association view. After that, you can see all the objects in the tree.
If you do your changes, your implementation is custom implementation and it's hard to update to the new versions.
BR,
Mikko