From: Dave C. <dav...@gm...> - 2008-08-23 03:40:42
|
How can I capture where the right click occurred in world coords? public class CustomContextMenu : NPlot.Windows.PlotSurface2D.PlotContextMenu { public CustomContextMenu() : base() { ArrayList menuItems = this.MenuItems; PlotShowCoordinatesMenuItem miHi = new PlotShowCoordinatesMenuItem("HI Im Bingo", 1, HandleBingo); menuItems.Insert(1, miHi); this.SetMenuItems(menuItems); } public void HandleBingo(Object sender, EventArgs e) { MessageBox.Show("HI BINGO!"); /////////// this.PlotSurface2D. ???? to show where this occurred????? /////////// this.plotSurface2D_.Refresh(); } } -- ___________________ Dav...@gm... Lake Oswego, OR 801-473-9213 ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ |