Show ContextMenu Automatically
C#
3
Posts
2
Posters
0
Views
1
Watching
-
I'm creating a program that I need the context menu to show up automatically on load. I tried contextMenuStrip1.Show(this, 5, 5);, but it hides right away. Is there anyway that I can make it stay open until the mouse moves away from it or clicks away? JGA
-
I'm creating a program that I need the context menu to show up automatically on load. I tried contextMenuStrip1.Show(this, 5, 5);, but it hides right away. Is there anyway that I can make it stay open until the mouse moves away from it or clicks away? JGA
-
try this ContextMenu menu = new ContextMenu(); MenuItem item = new MenuItem("test"); menu.MenuItems.Add(item); menu.Show(this,new Point(10,10)); those who win are those who believe they can