Initializes a new instance of the class with a specified caption and event handler for the Click event of the menu item.
[Visual Basic] Public Sub New( _ ByVal text As String, _ ByVal onClick As EventHandler _ ) [C#] public MenuItem( string text, EventHandler onClick ); [C++] public: MenuItem( String* text, EventHandler* onClick );
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows .NET Server family
MenuItem Class | MenuItem Members | Wimark.Controls Namespace