MenuStrip Constructor ()

 

Initializes a new instance of the MenuStrip class.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public:
MenuStrip()

Use this constructor to create a MenuStrip to which you can add ToolStripMenuItem objects.

The following code example demonstrates the MenuStrip constructor. This example is part of a larger example provided for the ToolStripPanel class.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show: