How to move the map by clicking the arrow buttons?

Aug 4, 2011 at 2:52 PM

hello:

I have a question:

how to move the map by clicking the arrow buttons on a WinForm?

Any help will be appreciated.

Regards, 

S.G.

Aug 10, 2011 at 12:00 PM

mapViewPort.ViewExtents.SetCenter(new Coordinate(mapViewPort.ViewExtents.Center.X - dx, mapViewPort.ViewExtents.Center.Y - dy));
mapViewPort.Refresh();