From a6d968da1ea8031767fbdef02ccc89953d3de2a2 Mon Sep 17 00:00:00 2001 From: emkael Date: Fri, 16 Nov 2018 23:20:31 +0100 Subject: Scoring settings warnings expanded --- Aktywator/Bws.cs | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'Aktywator/Bws.cs') diff --git a/Aktywator/Bws.cs b/Aktywator/Bws.cs index 55b83a2..3d111e2 100644 --- a/Aktywator/Bws.cs +++ b/Aktywator/Bws.cs @@ -548,11 +548,7 @@ namespace Aktywator public void sectionGroupWarning() { - main.lGroupSectionsWarning.Visible = false; - if (main.xShowResults.Checked || this.detectDifferentRecordsInSections()) - { - main.lGroupSectionsWarning.Visible = true; - } + main.lGroupSectionsWarning.Visible = this.detectDifferentRecordsInSections(); } private int getSectionGroupCount() @@ -589,7 +585,13 @@ namespace Aktywator Setting.save("BM2PINcode", "'" + main.xPINcode.Text + "'", this, errors, section); Setting.save("BM2ResultsOverview", main.xResultsOverview.SelectedIndex.ToString(), this, errors, section); Setting.saveSectionGroups(this.sql, main.xGroupSections.Checked, (this.getMySQLDatabaseForSection() != null) ? Convert.ToInt32(main.numTeamsTableOffset.Value) : 0); - Setting.saveScoringType(this.sql, main.getScoringType(), section); + int scoringType = main.getScoringType(); + Setting.saveScoringType(this.sql, scoringType, section); + if (scoringType > 1 && scoringType < 4) + { + MessageBox.Show("Pamiętaj o skonfigurowaniu opcji liczenia turnieju na IMP (średnia, odrzucanie w butlerze, uśrednianie cavendisha) w Bridgemate Control Software ***PRZED*** wystartowaniem sesji!", "Ustawienia obliczania wyników", + MessageBoxButtons.OK, MessageBoxIcon.Information); + } this.loadSettings(); } -- cgit v1.2.3