2nd Map Control & Re-using Layers from 1st Map Control?

Nov 19, 2013 at 2:55 PM

I have an app with an embedded MapWinGIS control. I would like to allow the end user to open a new dialog with a 2nd embedded MapWinGIS control, but I am hesitant to do so if I will have to reload all of the same data layers on the 2nd Map control.

Is there any way to use the existing layers of the 1st Map control so I don't need to re-read these shapefiles from disk.

Does my dialog need to be modal?
Would I have to lock the 1st Map Control when the 2nd Map control is opn?
Any other advice? Ideas?

Nov 19, 2013 at 3:19 PM
Hello cdv,
I may have some usefull code in my application Velsto, e.g. use of Delegates. You may download the source from https://velsto.codeplex.com. Sent any queries you have to [email removed].
Greetings Maurits