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



OpcLabs.EasyOpcForms Assembly > OpcLabs.EasyOpc.UA.Forms.Application Namespace > EasyUAFormsApplication Class > AddToSystemMenu Method : AddToSystemMenu(Form,Boolean) Method
The form to which the system menu items will be added.
Determines whether the interactive user will be allowed to change the password to the private key of the application certificate.
Adds items related to OPC UA application to the system menu of the given form.
Syntax
'Declaration
 
Public Overloads Sub AddToSystemMenu( _
   ByVal form As Form, _
   ByVal allowChangePrivateKeyPassword As Boolean _
) 
'Usage
 
Dim instance As EasyUAFormsApplication
Dim form As Form
Dim allowChangePrivateKeyPassword As Boolean
 
instance.AddToSystemMenu(form, allowChangePrivateKeyPassword)
public void AddToSystemMenu( 
   Form form,
   bool allowChangePrivateKeyPassword
)
public:
void AddToSystemMenu( 
   Form^ form,
   bool allowChangePrivateKeyPassword
) 

Parameters

form
The form to which the system menu items will be added.
allowChangePrivateKeyPassword
Determines whether the interactive user will be allowed to change the password to the private key of the application certificate.
Remarks

The method adds the "Administer OPC UA Application" command to the system menu of the form, allowing the user to view and manage the certificate trust, and the own 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