summaryrefslogtreecommitdiff
path: root/Aktywator/Tournament.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Aktywator/Tournament.cs')
-rw-r--r--Aktywator/Tournament.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/Aktywator/Tournament.cs b/Aktywator/Tournament.cs
index fd6fec1..117b1da 100644
--- a/Aktywator/Tournament.cs
+++ b/Aktywator/Tournament.cs
@@ -61,6 +61,8 @@ namespace Aktywator
{
grid.Rows.Remove(r);
}
+ grid.Update();
+ grid.Refresh();
}
virtual internal bool updateNameListRow(DataGridView grid, int pairNumber, List<string> names)
@@ -97,6 +99,7 @@ namespace Aktywator
row.Cells.Add(cell);
}
grid.Rows.Add(row);
+ grid.FirstDisplayedScrollingRowIndex = grid.RowCount - 1;
}
virtual internal void clearCellLocks(DataGridView grid)