private void ButtonClose_Click(object sender, EventArgs e) { mapForm.HideTopPanel(); mapController.RemoveOverlays(mapForm.GetMap()); Close(); }