private void ShowHitInfo(GridHitInfo hi)
{
if (hi.InRowCell)
{
if (afr_counter != null)
{
// fetch correct counter
int current_afrcounter = (int)afr_counter[(afr_counter.Length - ((hi.RowHandle + 1) * m_TableWidth)) + hi.Column.AbsoluteIndex];
// show number of measurements in balloon
string detailline = "# measurements: " + current_afrcounter.ToString();
toolTipController1.ShowHint(detailline, "Information", Cursor.Position);
}
}
else
{
toolTipController1.HideHint();
}
}