This sample code shows you how to use the MainMenu and MenuItem classes to add a menu and click handler for a Windows Form.
Editorial changes — reviews, status changes and edits — are shown to the author of this article and to the editors.