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.
Loading
Trifon DinevPosted Mar 13, 2009, 7:40 AM
I'll try and will tell you later if everything is ok.
Vimal KandasamyPosted Mar 13, 2009, 5:40 AM
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...