I am displaying a context menu when the user right-clicks on a treeview node. I want to position the top of the menu at the bottom of the selected node and the left of the menu alligned with the left of the node.
The MouseUp event passes 'MouseEventArgs e', from which I can do:
contextMenuStrip1.Show(this, new Point(e.X, e.Y));
The problem is that I need to adjust the top & left a bit so that it is where I want it.
I think what I need to do is determine the top & left coordinates of the selected node.
Anyone know how to do this?
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people