Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing User & Updating form
Message
From
24/09/2007 12:46:56
Jeff Corder
Ambit Technologies, LLC
Missouri, United States
 
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
01245853
Message ID:
01256364
Views:
22
>I have added security to the main form. Menu options appear and disappear as planned. However, when the main form is already displayed and I change users (UserLoginForm), the security for the menu does not update. Specifically, if someone with a different security status logs in, the changes are not reflected. How do I get the menu to update?

You need to reinstantiate the menu strip to get it to pick up the new settings.


Reinstantiate as in

this.mainMenuStrip = new OakLeaf.MM.Main.Windows.Forms.mmMenuStrip();

and add the items, events...?

Or is there an obvious way I'm overlooking (as usual)

Thanks,
Jeff
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform