diff options
author | emkael <emkael@tlen.pl> | 2018-11-16 23:20:31 +0100 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2018-11-16 23:20:31 +0100 |
commit | a6d968da1ea8031767fbdef02ccc89953d3de2a2 (patch) | |
tree | 766ab54798a70b3f1685079ba26def30ed878159 /Aktywator/Bws.cs | |
parent | f20dc6512a46f7a567fc752eb653a764d9b6af3b (diff) |
Scoring settings warnings expanded
Diffstat (limited to 'Aktywator/Bws.cs')
-rw-r--r-- | Aktywator/Bws.cs | 14 |
1 files changed, 8 insertions, 6 deletions
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(); } |