Hi,
I am creating a c# windows application with 2 forms. First form has a menu and some menu items. If any meny item is disabled, what can be done, so it is enabled from the second form.
E.g. Second form is for login, and when a user logs correctly, to be able to use the menus from the first form.
Thanks,
Trifon.
Problem with enable and disable menus
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Vimal KandasamyRank #2,151 · 661 reputationPosted Mar 13, 2009, 1:40 AM EDT
hi
initialy disable all menu items... if an user login correctly,enable it using the code
Menu1.FindItem("Itemtext").Enabled = true;
when the log out again disable it...
Trifon Dinev141 reputationPosted Mar 13, 2009, 3:40 AM EDT
I'll try and will tell you later if everything is ok.