Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sublass Menu and use
Message
De
24/02/2006 11:17:39
 
 
À
23/02/2006 01:23:58
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
01098289
Message ID:
01098920
Vues:
14
Thanks - I also had to switch the visible property on/off between the two as they both show up if I don't.

Thanks!

>You can drop multiple menustrips on the form. Set the mainmenustrip property of the form to the initial menu to display.
>
>Then on the click method of the menu option that is to change the menu just run the code:
>
>this.Menu = NewMenutoDisplay
>
>
>
>>Hi,
>>
>>Winforms/C#
>>
>>Is there any way (or what is best way) to create independant, sublassed menus and then have them get instantiated and displayed/removed on a form at runtime? Here is what I'm trying to accomplish. I would like to have my main app form's (mdi form) menu change depending on selections - i.e. the user picks something from one menu and a whole new menu appears -I'm not talking just a few item changes or additions, but a wholesale new menu appearing.
>>
>>Thanks,
Ken B. Matson
GCom2 Solutions
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform