From 64a9eeddd8448b5903b8c0939f0559921fb60747 Mon Sep 17 00:00:00 2001 From: emkael Date: Tue, 12 Sep 2017 18:42:01 +0200 Subject: Warning about inability to update section grouping during active session Fixes #21 --- Aktywator/MainForm.cs | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'Aktywator/MainForm.cs') 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); + } + } } -- cgit v1.2.3