Initializes a new instance of the class with a specified caption, event handler, and associated shortcut key for the menu item.
[Visual Basic] Public Sub New( _ ByVal text As String, _ ByVal onClick As EventHandler, _ ByVal shortcut As Shortcut _ ) [C#] public MenuItem( string text, EventHandler onClick, Shortcut shortcut ); [C++] public: MenuItem( String* text, EventHandler* onClick, Shortcut shortcut );
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