CADability dotNET
Loads a MainMenu from the menu resource with the provided name. For the unmodified standard resource the menuname will be "SDI Menu"

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

Syntax

C#
public static MainMenu LoadMenu(
	string MenuName,
	IFrame frame
)
Visual Basic
Public Shared Function LoadMenu ( _
	MenuName As String, _
	frame As IFrame _
) As MainMenu
Visual C++
public:
static MainMenu^ LoadMenu(
	String^ MenuName, 
	IFrame^ frame
)

Parameters

MenuName
Type: System..::..String
Name of the menu to load
frame
Type: CADability..::..IFrame
Frame which handles the menu commands

Return Value

See Also