This looks like a bug. When I turn multithreading option on WinformsMap, application locks.When I remove option, all works fine.
Here are details to reproduce:
· Take your sample DesktopEditionSample_RulerOverlay_CS_100730
· Add option to Load_form: winformsMap1.ThreadingMode = MapThreadingMode.Multithreaded;
· Start application. When you click, application hangs
· When you break in debugger, it shows it is waining in method RulerTrackInteractiveOverlay. DrawCore on line Lock.EnterWriteLock();