End Google Ads 201810 - BS.net 01 --> I have written the following code. It displays the notify icon in the system tray. But when I right click on the icon in the system it's not showing any menu there. I can't understand why this is not showing the menu. Can someone help me to show this?


ContextMenuStrip cms = new ContextMenuStrip();


ToolStripMenuItem mI1 = new ToolStripMenuItem();
mI1.Text = "Exit";

mI1.Click += new EventHandler(Click_Handler); //Add

cms.Items.Add(mI1);

notifyIcon1.ContextMenuStrip = cms;
notifyIcon1.Visible = true;


notifyIcon1.Visible = true;
notifyIcon1.BalloonTipTitle = "My service";
notifyIcon1.Icon = new Icon("utility1.Ico");
notifyIcon1.BalloonTipText = "Started Successfully";
notifyIcon1.Text = "Service is running";
notifyIcon1.ShowBalloonTip(500);