Export (0) Print
Expand All

ContextMenu Constructor

.NET Framework 1.1

Initializes a new instance of the ContextMenu class.

Overload List

Initializes a new instance of the ContextMenu class with no menu items specified.

Supported by the .NET Compact Framework.

[Visual Basic] Public Sub New()
[C#] public ContextMenu();
[C++] public: ContextMenu();
[JScript] public function ContextMenu();

Initializes a new instance of the ContextMenu class with a specified set of MenuItem objects.

[Visual Basic] Public Sub New(MenuItem())
[C#] public ContextMenu(MenuItem[]);
[C++] public: ContextMenu(MenuItem*[]);
[JScript] public function ContextMenu(MenuItem[]);

See Also

ContextMenu Class | ContextMenu Members | System.Windows.Forms Namespace

Show:
© 2015 Microsoft