private void trackBar1_Scroll(object sender, EventArgs e) { try { lock (thisLock) { map.Zoom = TRK_zoom.Value; } } catch { } }