I have created 1 contextmenu for a listbox in C#.net 3.0 . For that context menu I have written one event handler for mouseup event . But when i click on contextmenu item that event is not captured. I have done following:
{ /*in constructor of main window */
listbox1.Contex tMenu.Items.Add ("save");
listbox1.Contex tMenu.MouseUp += new System.Window.I nput.MouseButto nEventHandler(C ontex tMenu_MouseUp);
....
...
User Profile
Collapse
-
Capture ContextMenu click event in C# .Net 3.0
-
handling context menu in .net3.0
I have created 1 contextmenu for a listbox in C#.net 3.0 . For that context menu I have written one event handler for mouseup event . But when i click on contextmenu item that event is not captured. I have done following:
{ /*in constructor of main window */
listbox1.Contex tMenu.Items.Add ("save");
listbox1.Contex tMenu.MouseUp += new System.Window.I nput.MouseButto nEventHandler(C ontextMenu_Mous eUp);
....
...
No activity results to display
Show More