private void EditMI_Click(object sender, EventArgs e)
        {
            try
            {
                if (ItemsLV.SelectedItems.Count != 1)
                {
                    return;
                }

                if (m_catid != ConfigUtils.CATID_RegisteredDotNetOpcServers)
                {
                    return;
                }

                Guid clsid = (Guid)ItemsLV.SelectedItems[0].Tag;

                RegisteredDotNetOpcServer server = new RegisterServerDlg().ShowDialog(new RegisteredDotNetOpcServer(clsid));

                if (server != null)
                {
                    UpdateItem(ItemsLV.SelectedItems[0], server.Clsid);
                }
            }
            catch (Exception exception)
            {
                GuiUtils.HandleException(this.Text, MethodBase.GetCurrentMethod(), exception);
            }
        }
        private void EditMI_Click(object sender, EventArgs e)
        {
            try
            {
                if (ItemsLV.SelectedItems.Count != 1)
                {
                    return;
                }

                if (m_catid != ConfigUtils.CATID_RegisteredDotNetOpcServers)
                {
                    return;
                }

                Guid clsid = (Guid)ItemsLV.SelectedItems[0].Tag;

                RegisteredDotNetOpcServer server = new RegisterServerDlg().ShowDialog(new RegisteredDotNetOpcServer(clsid));

                if (server != null)
                {
                    UpdateItem(ItemsLV.SelectedItems[0], server.Clsid);
                }
            }
            catch (Exception exception)
            {
                GuiUtils.HandleException(this.Text, MethodBase.GetCurrentMethod(), exception);
            }
        }