private void SetPredictionsTooltip(Prediction prediction) { if (predictions.InvokeRequired) { predictions.Invoke(new Action<Prediction>(SetPredictionsTooltip), prediction); return; } if (_setPredictionsToolTip) { toolTip.SetToolTip(predictions, null); if (prediction != null) toolTip.SetToolTip(predictions, prediction.GetDetails(0)); } }