GMAP in a Form called with ShowDialog() Trouble on closing

Topics: Windows Forms
Jun 22, 2011 at 5:10 PM



I have been trying to find the error, but I don't know how to solve the problem. Maybe someone had the same problem too or someone knows why this problem occures.

I call a WinForm from an other Form where the GMap Control is located in (ShowDialog()). So far so good, but when I try to close the dialog the Form with the GMap control closes and the mainform blockades for about eight seconds.

I tried to do a lot of debugging, but I couldn't find the reason for the time the mainform blockades. It just blockades if i load a map, if I do not load a map and close the form it works fine.

Can anybody please tell me what's the problem in that case?

Thanks and best regards.

Jun 22, 2011 at 5:35 PM

it's known issue

Jun 22, 2011 at 5:36 PM

is there anything I can do to avoid this issue?

Jun 22, 2011 at 5:44 PM

on Close Event, call Hide();