Windows Develop Bookmark and Share   
 index > Windows Forms General > how to close menu programatically in c#
 

how to close menu programatically in c#

I would like to open and close menu strip programatically in c#, so I can start a form with a menu items already shows and close later with a timer event.

thanls in advance for your help.

Mercury12345  Tuesday, October 28, 2008 4:35 AM

To open you can use the 'ShowDropDown' method of a ToolStripMenuItem. To close simply set the focus to another control.

Regards,

Mark

Mark Verbraeken2  Tuesday, October 28, 2008 7:41 AM

To open you can use the 'ShowDropDown' method of a ToolStripMenuItem. To close simply set the focus to another control.

Regards,

Mark

Mark Verbraeken2  Tuesday, October 28, 2008 7:41 AM

You can use google to search for other answers

Custom Search

More Threads

• ListView with checkboxes in colums...
• Display a 'Wait Splashscreen' form but only after 1 second??
• Repainting A ListView Items
• datatable issue at runtime
• Detect clicks on dynamically added controls (controls added at runtime in fact)
• Form Identify
• Exception in winforms peekmessage
• Icons for hidden files
• Make Thread-Safe Calls to Windows Forms Controls
• show a forms text in the taskbar icon