System.Windows.Forms.Design.IMenuEditorService.SetMenu Method

Sets the specified menu visible on the form.

Syntax

public void SetMenu (System.Windows.Forms.Menu menu)

Parameters

menu
The System.Windows.Forms.Menu to render.

Remarks

The menu is painted at the top of a form's window frame and can be directly edited by the user.

Requirements

Namespace: System.Windows.Forms.Design
Assembly: System.Design (in System.Design.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0