Inactive mouse move event
Date: March 30, 2010 08:25PM
Hi,it is glad to share with other peers here. Actually, I get to know with the MapWindow from the codeproject. I found it was very helpful. Recently I am working on my final project which will use some GIS stuff. I would like to access the coordinates of certain points in a shape file. So I tested the MouseMoveEvent of axMap, try to display the X, Y coordinates while the mouse moving on the axMap. But it seems like there is no reactions of the MouseMoveEvent. I have attached my code below, hopefully someone can help me out kindly. Thanks!
private void axMap1_MouseMoveEvent(object sender, AxMapWinGIS._DMapEvents_MouseMoveEvent e)
tsStatusXlabel.Text = e.x.ToString("f3");
tsStatusYLabel.Text = e.y.ToString("f3");