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

ManageApplicationPermissionsBTN_Click() private method

Manages the permissions for the application.
private ManageApplicationPermissionsBTN_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void
        private void ManageApplicationPermissionsBTN_Click(object sender, EventArgs e)
        {
            try
            {
                // get application.
                ManagedApplication application = ApplicationToManageCTRL.GetSelectedApplication();;

                if (application == null)
                {
                    return;
                }

                // load the configuration.
                application.Reload();

                // show the dialog.
                new ManageAccessRulesDlg().ShowDialog(application);
            }
            catch (Exception exception)
            {
                GuiUtils.HandleException(this.Text, MethodBase.GetCurrentMethod(), exception);
            }
        }