Opc.Ua.Configuration.MainForm.NewComServerBTN_Click C# (CSharp) Method

NewComServerBTN_Click() private method

private NewComServerBTN_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void
        private void NewComServerBTN_Click(object sender, EventArgs e)
        {
            try
            {
                new NewEndpointDlg().ShowDialog(m_configuration, null);
                ComServersCTRL.Initialize(m_configuration);
                MessageBox.Show("Restart the 'UA COM Server Wrapper' (Administrative Tools -> Services) for any changes to take effect");
            }
            catch (Exception exception)
            {
                GuiUtils.HandleException(this.Text, MethodBase.GetCurrentMethod(), exception);
            }
        }