summaryrefslogtreecommitdiff
path: root/Aktywator
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2016-11-09 11:46:35 +0100
committeremkael <emkael@tlen.pl>2016-11-14 15:48:24 +0100
commit531b20117552e9a7a78bce3a70ad71acff2de340 (patch)
treee869d89b9864875b7670e635434394a99a4c59cd /Aktywator
parent64b9dce9855ecbceaa32a7d07f71490d5549fdfb (diff)
* BM2ValidateLeadCard (firmware 2.2.1+) support
Diffstat (limited to 'Aktywator')
-rw-r--r--Aktywator/Bws.cs2
-rw-r--r--Aktywator/MainForm.Designer.cs21
-rw-r--r--Aktywator/MainForm.cs1
3 files changed, 20 insertions, 4 deletions
diff --git a/Aktywator/Bws.cs b/Aktywator/Bws.cs
index 0be06df..c4d6962 100644
--- a/Aktywator/Bws.cs
+++ b/Aktywator/Bws.cs
@@ -54,6 +54,7 @@ namespace Aktywator
settings.Add(new Setting("BM2AutoBoardNumber", main.xAutoBoardNumber, this));
settings.Add(new Setting("BM2ResetFunctionKey", main.xResetFunctionKey, this));
settings.Add(new Setting("BM2ViewHandrecord", main.xViewHandrecord, this));
+ settings.Add(new Setting("BM2ValidateLeadCard", main.xCheckLeadCard, this));
}
public string sectionsForHandRecords()
@@ -131,6 +132,7 @@ namespace Aktywator
settings.Add(new Setting("BM2NameSource", "integer", "2"));
settings.Add(new Setting("BM2ViewHandrecord", "bit", "false"));
settings.Add(new Setting("BM2EnterHandrecord", "bit", "false"));
+ settings.Add(new Setting("BM2ValidateLeadCard", "bit", "false"));
settings.Add(new Setting("Name", "text(18)", "''", "PlayerNumbers"));
settings.Add(new Setting("Updated", "bit", "false", "PlayerNumbers"));
diff --git a/Aktywator/MainForm.Designer.cs b/Aktywator/MainForm.Designer.cs
index 8a68b44..c6df9e2 100644
--- a/Aktywator/MainForm.Designer.cs
+++ b/Aktywator/MainForm.Designer.cs
@@ -45,6 +45,7 @@
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.tabControl1 = new System.Windows.Forms.TabControl();
this.tabPage1 = new System.Windows.Forms.TabPage();
+ this.xCheckLeadCard = new System.Windows.Forms.CheckBox();
this.xViewHandrecord = new System.Windows.Forms.CheckBox();
this.xResultsOverview = new System.Windows.Forms.ComboBox();
this.bLoad = new System.Windows.Forms.Button();
@@ -240,6 +241,7 @@
//
// tabPage1
//
+ this.tabPage1.Controls.Add(this.xCheckLeadCard);
this.tabPage1.Controls.Add(this.xViewHandrecord);
this.tabPage1.Controls.Add(this.xResultsOverview);
this.tabPage1.Controls.Add(this.bLoad);
@@ -276,6 +278,16 @@
this.tabPage1.Text = "Ustawienia";
this.tabPage1.UseVisualStyleBackColor = true;
//
+ // xCheckLeadCard
+ //
+ this.xCheckLeadCard.AutoSize = true;
+ this.xCheckLeadCard.Location = new System.Drawing.Point(339, 253);
+ this.xCheckLeadCard.Name = "xCheckLeadCard";
+ this.xCheckLeadCard.Size = new System.Drawing.Size(180, 17);
+ this.xCheckLeadCard.TabIndex = 32;
+ this.xCheckLeadCard.Text = "sprawdź kartę wistu z rozkładem";
+ this.xCheckLeadCard.UseVisualStyleBackColor = true;
+ //
// xViewHandrecord
//
this.xViewHandrecord.AutoSize = true;
@@ -490,7 +502,7 @@
// xLeadCard
//
this.xLeadCard.AutoSize = true;
- this.xLeadCard.Location = new System.Drawing.Point(339, 253);
+ this.xLeadCard.Location = new System.Drawing.Point(339, 230);
this.xLeadCard.Name = "xLeadCard";
this.xLeadCard.Size = new System.Drawing.Size(111, 17);
this.xLeadCard.TabIndex = 21;
@@ -500,7 +512,7 @@
// xShowContract
//
this.xShowContract.AutoSize = true;
- this.xShowContract.Location = new System.Drawing.Point(339, 230);
+ this.xShowContract.Location = new System.Drawing.Point(339, 207);
this.xShowContract.Name = "xShowContract";
this.xShowContract.Size = new System.Drawing.Size(150, 17);
this.xShowContract.TabIndex = 20;
@@ -571,7 +583,7 @@
this.label1.Size = new System.Drawing.Size(398, 13);
this.label1.TabIndex = 0;
this.label1.Text = "Te same ustawienia są ustawiane dla wszystkich sektorów, przynajmniej na razie :-" +
- ")";
+ ")";
//
// tabPage2
//
@@ -846,7 +858,7 @@
this.label13.Size = new System.Drawing.Size(476, 13);
this.label13.TabIndex = 4;
this.label13.Text = "Jeżeli Server->Show hand records w BCS nie pokazuje rozkładów (i/lub nie pokazują" +
- " ich pierniczki)";
+ " ich pierniczki)";
//
// lWczytywane
//
@@ -1008,6 +1020,7 @@
private System.Windows.Forms.Label label13;
private System.Windows.Forms.Label label9;
private System.Windows.Forms.TextBox eOomRounds;
+ public System.Windows.Forms.CheckBox xCheckLeadCard;
}
}
diff --git a/Aktywator/MainForm.cs b/Aktywator/MainForm.cs
index c009750..f684e34 100644
--- a/Aktywator/MainForm.cs
+++ b/Aktywator/MainForm.cs
@@ -286,5 +286,6 @@ namespace Aktywator
}
}
}
+
}
}