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



OpcLabs.EasyOpcForms Assembly > OpcLabs.EasyOpc.UA.Forms.Application Namespace > EasyUAFormsApplication Class > AddToSystemMenu Method : AddToSystemMenu(Form) Method
The form to which the system menu items will be added.
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 _
) 
'Usage
 
Dim instance As EasyUAFormsApplication
Dim form As Form
 
instance.AddToSystemMenu(form)
public void AddToSystemMenu( 
   Form form
)
public:
void AddToSystemMenu( 
   Form^ form
) 

Parameters

form
The form to which the system menu items will be added.
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.

With this method overload, the interactive user will not be allowed to change the password to the private key of the application certificate.

The system menu is accessed by clicking in the very top left corner of the window caption bar, or from the keyboard using Alt+Space.

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