summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2018-11-17 15:42:39 +0100
committeremkael <emkael@tlen.pl>2018-11-17 15:42:39 +0100
commitbf9e05698f3353de3a37e1f6fd5ca640381df623 (patch)
tree4ccbd2995182fe4f618a6320137498df1b235837
parent4a536d0799685f3e530bc1782420e32a24b58ca2 (diff)
"Enter first board number manually" supported
-rw-r--r--Aktywator/Bws.cs2
-rw-r--r--Aktywator/MainForm.Designer.cs15
-rw-r--r--Aktywator/MainForm.cs9
-rw-r--r--Aktywator/MainForm.resx2
4 files changed, 27 insertions, 1 deletions
diff --git a/Aktywator/Bws.cs b/Aktywator/Bws.cs
index 75e9b13..0ee09c2 100644
--- a/Aktywator/Bws.cs
+++ b/Aktywator/Bws.cs
@@ -267,6 +267,7 @@ namespace Aktywator
settings.Add(new Setting("BM2AutoShowScoreRecap", main.xAutoShowScoreRecap, this, new Version(2, 5, 1), new Version(1, 0, 1)));
settings.Add(new Setting("BM2ScoreCorrection", main.xScoreCorrection, this, new Version(2, 0, 0), new Version(1, 0, 1)));
settings.Add(new Setting("BM2AutoBoardNumber", main.xAutoBoardNumber, this, new Version(2, 0, 0), new Version(2, 0, 1)));
+ settings.Add(new Setting("BM2FirstBoardManually", main.xFirstBoardManually, this, new Version(2, 7, 9), new Version(2, 7, 6)));
settings.Add(new Setting("BM2ResetFunctionKey", main.xResetFunctionKey, this, new Version(2, 0, 0), new Version(1, 0, 1)));
settings.Add(new Setting("BM2ViewHandrecord", main.xViewHandrecord, this, new Version(2, 6, 1), new Version(1, 6, 1)));
settings.Add(new Setting("BM2RecordBidding", main.xCollectBidding, this, new Version(2, 0, 0), new Version(1, 3, 1)));
@@ -348,6 +349,7 @@ namespace Aktywator
settings.Add(new Setting("BM2TDCall", "bit", "false"));
settings.Add(new Setting("BM2ShowPlayerNames", "integer", "0"));
settings.Add(new Setting("ScoringType", "integer", "1", "`Section`"));
+ settings.Add(new Setting("BM2FirstBoardManually", "bit", "false"));
foreach (Setting s in settings)
{
diff --git a/Aktywator/MainForm.Designer.cs b/Aktywator/MainForm.Designer.cs
index 91ed12b..435485f 100644
--- a/Aktywator/MainForm.Designer.cs
+++ b/Aktywator/MainForm.Designer.cs
@@ -156,6 +156,7 @@
this.bLaunch = new System.Windows.Forms.ToolStripButton();
this.bUpdateSession = new System.Windows.Forms.ToolStripButton();
this.namesTimer = new System.Windows.Forms.Timer(this.components);
+ this.xFirstBoardManually = new System.Windows.Forms.CheckBox();
this.statusStrip1.SuspendLayout();
this.groupBox1.SuspendLayout();
this.tabControl1.SuspendLayout();
@@ -667,6 +668,7 @@
//
// groupBox3
//
+ this.groupBox3.Controls.Add(this.xFirstBoardManually);
this.groupBox3.Controls.Add(this.xCollectPlay);
this.groupBox3.Controls.Add(this.xBoardOrderVerification);
this.groupBox3.Controls.Add(this.xIntermediateResults);
@@ -718,6 +720,7 @@
this.xAutoBoardNumber.TabIndex = 10;
this.xAutoBoardNumber.Text = "automat. wpisuj numer rozdania";
this.xAutoBoardNumber.UseVisualStyleBackColor = true;
+ this.xAutoBoardNumber.CheckedChanged += new System.EventHandler(this.xAutoBoardNumber_CheckedChanged);
//
// xCollectBidding
//
@@ -1559,6 +1562,17 @@
this.namesTimer.Interval = 3000;
this.namesTimer.Tick += new System.EventHandler(this.namesTimer_Tick);
//
+ // xFirstBoardManually
+ //
+ this.xFirstBoardManually.AutoSize = true;
+ this.xFirstBoardManually.Enabled = false;
+ this.xFirstBoardManually.Location = new System.Drawing.Point(190, 22);
+ this.xFirstBoardManually.Name = "xFirstBoardManually";
+ this.xFirstBoardManually.Size = new System.Drawing.Size(103, 17);
+ this.xFirstBoardManually.TabIndex = 4;
+ this.xFirstBoardManually.Text = "pierwszy ręcznie";
+ this.xFirstBoardManually.UseVisualStyleBackColor = true;
+ //
// MainForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
@@ -1751,6 +1765,7 @@
private System.Windows.Forms.RadioButton rbIMPTeams;
private System.Windows.Forms.RadioButton rbMatchpoints;
public System.Windows.Forms.Label lScoringOptionsWarning;
+ public System.Windows.Forms.CheckBox xFirstBoardManually;
}
}
diff --git a/Aktywator/MainForm.cs b/Aktywator/MainForm.cs
index 2b413ad..6dc346f 100644
--- a/Aktywator/MainForm.cs
+++ b/Aktywator/MainForm.cs
@@ -788,5 +788,14 @@ namespace Aktywator
{
this.scoringOptionsWarning();
}
+
+ private void xAutoBoardNumber_CheckedChanged(object sender, EventArgs e)
+ {
+ this.xFirstBoardManually.Enabled = xAutoBoardNumber.Checked;
+ if (!this.xFirstBoardManually.Enabled)
+ {
+ this.xFirstBoardManually.Checked = false;
+ }
+ }
}
}
diff --git a/Aktywator/MainForm.resx b/Aktywator/MainForm.resx
index 842be7b..ba3dd57 100644
--- a/Aktywator/MainForm.resx
+++ b/Aktywator/MainForm.resx
@@ -506,7 +506,7 @@ to także należy ręcznie zrobić Upload.</value>
AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj0yLjAuMC4w
LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0
ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAAAs
- CwAAAk1TRnQBSQFMAgEBBAEAAYABAAGAAQABEAEAARABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo
+ CwAAAk1TRnQBSQFMAgEBBAEAAYgBAAGIAQABEAEAARABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo
AwABQAMAASADAAEBAQABCAYAAQgYAAGAAgABgAMAAoABAAGAAwABgAEAAYABAAKAAgADwAEAAcAB3AHA
AQAB8AHKAaYBAAEzBQABMwEAATMBAAEzAQACMwIAAxYBAAMcAQADIgEAAykBAANVAQADTQEAA0IBAAM5
AQABgAF8Af8BAAJQAf8BAAGTAQAB1gEAAf8B7AHMAQABxgHWAe8BAAHWAucBAAGQAakBrQIAAf8BMwMA