Connecting Tech Pros Worldwide Help | Site Map

regarding menuStrip (help)

Member
 
Join Date: Mar 2008
Posts: 72
#1: Jul 2 '09
Could anyone tell me how to disable the menuStrip when a Link click?
let say my Menu as below:
File
>Open FormA
>Open FormB

Once I clicked the Open FormA link, the Open FormA would be disable e.g.like fade effect.


Please guide. Thanks
Expert
 
Join Date: Jun 2008
Location: Pretoria, South Africa
Posts: 410
#2: Jul 2 '09

re: regarding menuStrip (help)


Hi

Well, each button in a menu strip is exactly that, a button which has an 'enabled' property. Each button should have a unique identifier (name property)

Each form has an OnLoad event, maybe you could use the above properties in the load event of the form...

Give it a try and post some code if you get stuck.

Good luck
Member
 
Join Date: Mar 2008
Posts: 72
#3: Jul 3 '09

re: regarding menuStrip (help)


Hi cloud255, Thank you.
Reply


Similar C# / C Sharp bytes