CADability dotNET
Remove the menu item from the given menue with the given ID. This work ofcourse only with menus composed of items of type MenuItemWithID.

Namespace: CADability.UserInterface
Assembly: CADability (in CADability.dll) Version: 1.1.4254.24737 (1.1.*)

Syntax

C#
public static bool RemoveMenuItem(
	Menu toModify,
	string MenuID
)
Visual Basic
Public Shared Function RemoveMenuItem ( _
	toModify As Menu, _
	MenuID As String _
) As Boolean
Visual C++
public:
static bool RemoveMenuItem(
	Menu^ toModify, 
	String^ MenuID
)

Parameters

toModify
Type: System.Windows.Forms..::..Menu
menu to modify
MenuID
Type: System..::..String
id of menu to remove

Return Value

true, if item was found, false otherwise

See Also