Redigera

Dela via


IMenuEditorService.SetMenu(Menu) Method

Definition

Sets the specified menu visible on the form.

public:
 void SetMenu(System::Windows::Forms::Menu ^ menu);
public void SetMenu (System.Windows.Forms.Menu menu);
abstract member SetMenu : System.Windows.Forms.Menu -> unit
Public Sub SetMenu (menu As Menu)

Parameters

menu
Menu

The 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.

Applies to