diff options
author | emkael <emkael@tlen.pl> | 2017-09-12 18:42:01 +0200 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2017-09-12 18:42:01 +0200 |
commit | 616b4d11f37fc4ad2cecb1a14a2d2cdc6b8486b9 (patch) | |
tree | 5bbbb6fe7ca3f2e1e9743672c268f22cff6d9ef0 /Aktywator/MainForm.cs | |
parent | e2f9413e05d4565e16eff21cb3bb25f5a0b509d4 (diff) |
Warning about inability to update section grouping during active session
Diffstat (limited to 'Aktywator/MainForm.cs')
-rw-r--r-- | Aktywator/MainForm.cs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Aktywator/MainForm.cs b/Aktywator/MainForm.cs index 11718a7..1942dd2 100644 --- a/Aktywator/MainForm.cs +++ b/Aktywator/MainForm.cs @@ -280,12 +280,18 @@ namespace Aktywator xRepeatResults.Enabled = true; xShowPercentage.Enabled = true; xResultsOverview.Enabled = true; + xGroupSections.Enabled = true; } else { xRepeatResults.Enabled = false; xShowPercentage.Enabled = false; xResultsOverview.Enabled = false; + xGroupSections.Enabled = false; + } + if (cbSettingsSection.Items.Count > 2) + { + bws.sectionGroupWarning(); } } @@ -557,5 +563,10 @@ namespace Aktywator namesTimer.Enabled = checkBox1.Checked; } + private void lGroupSectionsWarning_Click(object sender, EventArgs e) + { + MessageBox.Show("Opcja grupowania zapisów w sektorach (albo osobnego maksowania sektorów) nie może być zaktualizowana w trakcie trwania sesji!", "Ustawienia grupowania zapisów w sektorach", MessageBoxButtons.OK, MessageBoxIcon.Question); + } + } } |