OPC Studio User's Guide and Reference
AddToSystemMenu(Form,Boolean,Boolean) Method



OpcLabs.EasyOpcForms Assembly > OpcLabs.EasyOpc.UA.Forms.Application Namespace > EasyUAFormsApplication Class > AddToSystemMenu Method : AddToSystemMenu(Form,Boolean,Boolean) Method
The form to which the system menu items will be added.

The value of this parameter cannot be null (Nothing in Visual Basic).

Specifies whether user interface for Pull Certificate Management will be available to the user.
Determines whether the interactive user will be allowed to change the password to the private key of the application certificate.
Adds OPC UA application items to the forms' system menu, specifying whether changing the private key password should be allowed.
Syntax
'Declaration
 
Public Overloads Sub AddToSystemMenu( _
   ByVal form As Form, _
   ByVal allowPullCertificateManagement As Boolean, _
   ByVal allowChangePrivateKeyPassword As Boolean _
) 
'Usage
 
Dim instance As EasyUAFormsApplication
Dim form As Form
Dim allowPullCertificateManagement As Boolean
Dim allowChangePrivateKeyPassword As Boolean
 
instance.AddToSystemMenu(form, allowPullCertificateManagement, allowChangePrivateKeyPassword)

Parameters

form
The form to which the system menu items will be added.

The value of this parameter cannot be null (Nothing in Visual Basic).

allowPullCertificateManagement
Specifies whether user interface for Pull Certificate Management will be available to the user.
allowChangePrivateKeyPassword
Determines whether the interactive user will be allowed to change the password to the private key of the application certificate.
Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also