/// Application start from here
static void Main()
{
Application.Ena bleVisualStyles ();
Application.Set CompatibleTextR enderingDefault (false);
Application.Run (new MDIColts ());
}
/// MDI load code having no problem
/// menuStrip is private System.Windows. Forms.MenuStrip menuStrip;
private void MDIColts_Load(o bject sender, EventArgs...
User Profile
Collapse
-
-
fine here is the code
foreach (ToolStripMenuI tem tsmi in menuStrip.Items )
{
if (tsmi.Text == "Security")
{
/// some code
}
}
in mdi load i call user login form, now as per user permission i want to hide/unhide the menu options
problem
1. this code is work f9 when i put this in mdi load but in user form it will return null object...Leave a comment:
-
How to dynamically control mdi menu c#.Net
Hi Dear All,
I create a window application in c#.net. I want to hide menu options when particular user login for example: in mdi menu there is Report menu there is report1 and report2 now when user1 login I want to show all option report1 and report2 but when user2 login I want to show only report1.
In vb6 it is very essay but because I am new in c#.net I couldn’t find the solution.
Please help me to find the...
No activity results to display
Show More
Leave a comment: