View Single Post

  #1 (permalink)  
Old 01-30-2007
Gianmaria Gianmaria is offline
Member
Yellow Belt
 
Join Date: Dec 2004
Posts: 44
Exclamation MapPoint OCX SLOW on close.

Hi,
i use mappoint ocx 2006 in some .net 2.0 applications. My usual is to use a form with mappoint ocx running in.
When i close the forum i use:

this.Close()

and handle the closing event too in this way:

private void MapForm_FormClosing(object sender, FormClosingEventArgs e)
{
this.axMappointControl1.ActiveMap.Saved = true;
}

now i find that my application (this is not the main form of my app) is very slow on closing the form.

There is something i can do to enprove performance when closing?

Regards,
Gianmaria
Reply With Quote