summaryrefslogtreecommitdiff
path: root/Aktywator/MainForm.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Aktywator/MainForm.cs')
-rw-r--r--Aktywator/MainForm.cs9
1 files changed, 9 insertions, 0 deletions
diff --git a/Aktywator/MainForm.cs b/Aktywator/MainForm.cs
index 978b4bc..712a104 100644
--- a/Aktywator/MainForm.cs
+++ b/Aktywator/MainForm.cs
@@ -529,5 +529,14 @@ namespace Aktywator
namesTimer.Interval = Convert.ToInt32(numNamesRefreshInterval.Value) * 1000;
}
+ private void namesGridView_CellMouseEnter(object sender, DataGridViewCellEventArgs e)
+ {
+ if (e.RowIndex > -1 && e.ColumnIndex > 0)
+ {
+ DataGridViewCell cell = namesGridView.Rows[e.RowIndex].Cells[e.ColumnIndex];
+ cell.ToolTipText = tournament.shortenNameToBWS(cell.Value.ToString());
+ }
+ }
+
}
}