summaryrefslogtreecommitdiff
path: root/Aktywator/MainForm.cs
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2017-08-23 17:46:08 +0200
committeremkael <emkael@tlen.pl>2017-08-23 17:46:08 +0200
commit39e94f5ba8ad1232eba6c2f2ab338da3239e0070 (patch)
tree529f2e62afd2ff5c9ed5b5a0f88716d9db435165 /Aktywator/MainForm.cs
parente163f07d1c39f122a12fcb503fe75dd15aabe0ae (diff)
Additional options for refreshing names list preview
Diffstat (limited to 'Aktywator/MainForm.cs')
-rw-r--r--Aktywator/MainForm.cs11
1 files changed, 11 insertions, 0 deletions
diff --git a/Aktywator/MainForm.cs b/Aktywator/MainForm.cs
index a359dbb..978b4bc 100644
--- a/Aktywator/MainForm.cs
+++ b/Aktywator/MainForm.cs
@@ -518,5 +518,16 @@ namespace Aktywator
tournament.displayNameList(namesGridView);
}
+ private void button1_Click(object sender, EventArgs e)
+ {
+ tournament.clearCellLocks(namesGridView);
+ tournament.displayNameList(namesGridView);
+ }
+
+ private void numNamesRefreshInterval_ValueChanged(object sender, EventArgs e)
+ {
+ namesTimer.Interval = Convert.ToInt32(numNamesRefreshInterval.Value) * 1000;
+ }
+
}
}