Refresh When Form Minimized

Aug 25, 2006 at 8:31 PM

If the window that contains the SharpMap.Forms.MapImage is minimized when the map is refreshed, the Refresh method of MapImage.cs throws a System.ArgumentException which could probably be solved with something like:

public override void Refresh()
if (_Map != null && !this.Size.IsEmpty)

Sorry I don't have time right now to put together an example and or test a fix. Thanks as always for a great library!