private void dataGridView_HomeItems_CellMouseEnter(object sender, DataGridViewCellEventArgs e) { if (Scrolling == false && e.ColumnIndex >= 0 && e.ColumnIndex < 2 && e.RowIndex > -1) { String text = ""; try { int Id = Convert.ToInt32(this.dataGridView_HomeItems.Rows[e.RowIndex].Cells[0].Value); if (Id > 0 && MainWindow.lEnableShowInfo == true) { if (TaskEditor.LoadedElements == true) { text += Extensions.ColorClean(Extensions.GetHomeItemProps(Id)); } } this.dataGridView_HomeItems.Rows[e.RowIndex].Cells[e.ColumnIndex].ToolTipText = text; } catch { this.dataGridView_HomeItems.Rows[e.RowIndex].Cells[e.ColumnIndex].ToolTipText = text; } } }