summaryrefslogtreecommitdiff
path: root/Aktywator/MainForm.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Aktywator/MainForm.cs')
-rw-r--r--Aktywator/MainForm.cs33
1 files changed, 33 insertions, 0 deletions
diff --git a/Aktywator/MainForm.cs b/Aktywator/MainForm.cs
index 876388a..e0de79f 100644
--- a/Aktywator/MainForm.cs
+++ b/Aktywator/MainForm.cs
@@ -773,6 +773,7 @@ namespace Aktywator
{
type.Key.Checked = (type.Value == scoringType);
}
+ this.impScoringWarning();
}
private void scoringOptionsWarning()
@@ -780,6 +781,12 @@ namespace Aktywator
lScoringOptionsWarning.Visible = (xGroupSections.Checked || xShowPercentage.Checked);
}
+ private void impScoringWarning()
+ {
+ int scoringType = this.getScoringType();
+ this.lIMPScoringWarning.Visible = (scoringType > 1 && scoringType < 4);
+ }
+
private void lScoringOptionsWarning_Click(object sender, EventArgs e)
{
MessageBox.Show(MainForm.sectionGroupWarningLabel, "Ustawienia wyświetlania wyników", MessageBoxButtons.OK, MessageBoxIcon.Question);
@@ -798,5 +805,31 @@ namespace Aktywator
this.xFirstBoardManually.Checked = false;
}
}
+
+ private void lIMPScoringWarning_Click(object sender, EventArgs e)
+ {
+ 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);
+ }
+
+ private void rbMatchpoints_CheckedChanged(object sender, EventArgs e)
+ {
+ this.impScoringWarning();
+ }
+
+ private void rbIMPCavendish_CheckedChanged(object sender, EventArgs e)
+ {
+ this.impScoringWarning();
+ }
+
+ private void rbIMPButler_CheckedChanged(object sender, EventArgs e)
+ {
+ this.impScoringWarning();
+ }
+
+ private void rbIMPTeams_CheckedChanged(object sender, EventArgs e)
+ {
+ this.impScoringWarning();
+ }
}
}