Can someone please point me to a good example of centering the map on a click? I'm using the desktop edition and just want to take the map and center it if the user clicks on the map. I looked through the How-To Examples, but didn't see anything that jumped out at me. Thanks.
Thank you for the code, but all it did was give me a Blue Screen.
Perhaps, instead of (new PointShape(0,0)) we need to give it the location of where the mouse was clicked. I set a breakpoint in the Click event and looked at the EventArgs e variable and it’s giving me an X,Y coordinate but that looks like screen coordinates, so how can that be converted into a Lat,Long?