private void MapCtl_Resize(object sender, EventArgs e) { if (_mapLayer.Terminating) { return; } _mapLayer.Resize(Width, Height); _netLayer.Resize(Width, Height); _imageLayer.Resize(Width, Height); }