summaryrefslogtreecommitdiff
path: root/Aktywator
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2017-11-18 13:01:22 +0100
committeremkael <emkael@tlen.pl>2017-11-18 13:01:22 +0100
commit3e81ce7e22d6405d31425b835c3d1fb24c052daa (patch)
treedfd6901d9354584729615f05994f9d715e4402cb /Aktywator
parenta1ff38c72ff67fd980e7354645ed51159d10575e (diff)
Fixing issues with adding rows to data grid
Diffstat (limited to 'Aktywator')
-rw-r--r--Aktywator/Resources/BuildDate.txt2
-rw-r--r--Aktywator/Tournament.cs3
2 files changed, 4 insertions, 1 deletions
diff --git a/Aktywator/Resources/BuildDate.txt b/Aktywator/Resources/BuildDate.txt
index 3649349..4accc51 100644
--- a/Aktywator/Resources/BuildDate.txt
+++ b/Aktywator/Resources/BuildDate.txt
@@ -1 +1 @@
-2017-11-10
+2017-11-18
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)