From a4360f6993fa96869e2bc1393bf4a0fd63e9e9c2 Mon Sep 17 00:00:00 2001 From: Michal Buzik Date: Fri, 30 Aug 2024 10:22:57 +0200 Subject: [PATCH] All changes - collect cammera, fixed pictures preview, collecting pictures - 48 meters to grab data --- Config/Config.csproj | 6 + .../Entities/PurchaseEntities/PurchaseBox.cs | 27 + .../PurchaseEntities/PurchaseOrder.cs | 23 + .../PurchaseWaterMeterData.cs | 23 + Config/Mappings/PurchaseBoxMap.cs | 19 + Config/Mappings/PurchaseOrderMap.cs | 20 + Config/PurchaseResources.cs | 7 + TBF/Properties/AssemblyInfo.cs | 4 +- .../StandardCamera/CycleBeginningForm.cs | 2 +- .../CycleBeginningForm.cs | 1580 ++++ .../CycleBeginningForm.designer.cs | 1956 +++++ .../CycleBeginningForm.pl.resx | 276 + .../CycleBeginningForm.resx | 6501 +++++++++++++++++ .../CycleBeginningForm.ru.resx | 276 + .../CycleEndForm.cs | 165 + .../CycleEndForm.designer.cs | 652 ++ .../CycleEndForm.resx | 120 + .../StandartCameraPurchaseOrder/EntryForm.cs | 445 ++ .../EntryFormCfg.cs | 58 + .../EntryFormCfgCtrl.cs | 91 + .../EntryFormCfgCtrl.designer.cs | 142 + .../EntryFormCfgCtrl.resx | 120 + .../StandartCameraPurchaseOrder/Factory.cs | 25 + .../StandartCameraPurchaseOrder/ProcParams.cs | 132 + .../TestStartEndForm.cs | 1111 +++ .../TestStartEndForm.designer.cs | 3218 ++++++++ .../TestStartEndForm.resx | 120 + .../Network/Camera/KeyenceIV3G120/Camera.cs | 71 +- .../Camera/KeyenceIV3G120/CameraUtils.cs | 2 +- .../Camera/KeyenceIV3G120/GrabImagesOp.cs | 46 +- TBF/Rig/Sequences/IProcedureCameraCollect.cs | 10 + .../Sequences/IProcedureCameraShowAfter.cs | 10 + TBF/Rig/Sequences/ISequence.cs | 7 + TBF/Rig/Sequences/MainSeq.cs | 76 +- TBF/Rig/Sequences/MainSeqUtils.cs | 1 + TBF/Rig/TbfComponents.cs | 31 + .../Single/Component.cs | 7 +- .../StandingStartMassCollectionAdvanceSeq.cs | 86 +- .../Single/Component.cs | 15 +- ...ingStartMassCollectionAdvanceCollectSeq.cs | 260 +- TBF/TBF.csproj | 49 + 41 files changed, 17511 insertions(+), 279 deletions(-) create mode 100644 Config/Entities/PurchaseEntities/PurchaseBox.cs create mode 100644 Config/Entities/PurchaseEntities/PurchaseOrder.cs create mode 100644 Config/Entities/PurchaseEntities/PurchaseWaterMeterData.cs create mode 100644 Config/Mappings/PurchaseBoxMap.cs create mode 100644 Config/Mappings/PurchaseOrderMap.cs create mode 100644 Config/PurchaseResources.cs create mode 100644 TBF/Rig/DataEntry/StandartCameraPurchaseOrder/CycleBeginningForm.cs create mode 100644 TBF/Rig/DataEntry/StandartCameraPurchaseOrder/CycleBeginningForm.designer.cs create mode 100644 TBF/Rig/DataEntry/StandartCameraPurchaseOrder/CycleBeginningForm.pl.resx create mode 100644 TBF/Rig/DataEntry/StandartCameraPurchaseOrder/CycleBeginningForm.resx create mode 100644 TBF/Rig/DataEntry/StandartCameraPurchaseOrder/CycleBeginningForm.ru.resx create mode 100644 TBF/Rig/DataEntry/StandartCameraPurchaseOrder/CycleEndForm.cs create mode 100644 TBF/Rig/DataEntry/StandartCameraPurchaseOrder/CycleEndForm.designer.cs create mode 100644 TBF/Rig/DataEntry/StandartCameraPurchaseOrder/CycleEndForm.resx create mode 100644 TBF/Rig/DataEntry/StandartCameraPurchaseOrder/EntryForm.cs create mode 100644 TBF/Rig/DataEntry/StandartCameraPurchaseOrder/EntryFormCfg.cs create mode 100644 TBF/Rig/DataEntry/StandartCameraPurchaseOrder/EntryFormCfgCtrl.cs create mode 100644 TBF/Rig/DataEntry/StandartCameraPurchaseOrder/EntryFormCfgCtrl.designer.cs create mode 100644 TBF/Rig/DataEntry/StandartCameraPurchaseOrder/EntryFormCfgCtrl.resx create mode 100644 TBF/Rig/DataEntry/StandartCameraPurchaseOrder/Factory.cs create mode 100644 TBF/Rig/DataEntry/StandartCameraPurchaseOrder/ProcParams.cs create mode 100644 TBF/Rig/DataEntry/StandartCameraPurchaseOrder/TestStartEndForm.cs create mode 100644 TBF/Rig/DataEntry/StandartCameraPurchaseOrder/TestStartEndForm.designer.cs create mode 100644 TBF/Rig/DataEntry/StandartCameraPurchaseOrder/TestStartEndForm.resx create mode 100644 TBF/Rig/Sequences/IProcedureCameraCollect.cs create mode 100644 TBF/Rig/Sequences/IProcedureCameraShowAfter.cs create mode 100644 TBF/Rig/Sequences/ISequence.cs diff --git a/Config/Config.csproj b/Config/Config.csproj index 81dbba27c..a784eccb2 100644 --- a/Config/Config.csproj +++ b/Config/Config.csproj @@ -85,6 +85,9 @@ + + + @@ -109,12 +112,15 @@ + + + True True diff --git a/Config/Entities/PurchaseEntities/PurchaseBox.cs b/Config/Entities/PurchaseEntities/PurchaseBox.cs new file mode 100644 index 000000000..1fe4ec943 --- /dev/null +++ b/Config/Entities/PurchaseEntities/PurchaseBox.cs @@ -0,0 +1,27 @@ +using System.Collections.Generic; + +namespace Config.Entities.PurchaseEntities +{ + public class PurchaseBox + { + public virtual int Id { get; protected set; } + public virtual string BoxNo { get; set; } + public virtual int BoxData_Id { get; set; } + + public virtual PurchaseOrder PurchaseOrder { get; set; } + public virtual List PurchaseWaterMeterDataList { get; set; } + + public PurchaseBox() + { + PurchaseWaterMeterDataList = new List(); + } + + public PurchaseBox(string boxNo, int boxDataId, PurchaseOrder purchaseOrder) + { + PurchaseWaterMeterDataList = new List(); + BoxNo = boxNo; + BoxData_Id = boxDataId; + PurchaseOrder = purchaseOrder; + } + } +} \ No newline at end of file diff --git a/Config/Entities/PurchaseEntities/PurchaseOrder.cs b/Config/Entities/PurchaseEntities/PurchaseOrder.cs new file mode 100644 index 000000000..3253dbcdc --- /dev/null +++ b/Config/Entities/PurchaseEntities/PurchaseOrder.cs @@ -0,0 +1,23 @@ +using System.Collections.Generic; +using System.ComponentModel; + +namespace Config.Entities.PurchaseEntities +{ + public class PurchaseOrder + { + public virtual int Id { get; protected set; } + public virtual string Name { get; set; } + public virtual IList PurchaseBoxList { get; set; } + + public PurchaseOrder() + { + PurchaseBoxList = new List(); + } + + public PurchaseOrder(string name) + { + PurchaseBoxList = new List(); + Name = name; + } + } +} \ No newline at end of file diff --git a/Config/Entities/PurchaseEntities/PurchaseWaterMeterData.cs b/Config/Entities/PurchaseEntities/PurchaseWaterMeterData.cs new file mode 100644 index 000000000..f1d413101 --- /dev/null +++ b/Config/Entities/PurchaseEntities/PurchaseWaterMeterData.cs @@ -0,0 +1,23 @@ +using System.Collections.Generic; + +namespace Config.Entities.PurchaseEntities +{ + public class PurchaseWaterMeterData + { + public virtual int Id { get; protected set; } + public virtual string SerialNo { get; set; } + public virtual PurchaseBox PurchaseBox { get; set; } + public virtual int WaterMeterResults { get; set; } + + public PurchaseWaterMeterData() + { + + } + + public PurchaseWaterMeterData(string serialNo, PurchaseBox purchaseBox) + { + SerialNo = serialNo; + PurchaseBox = purchaseBox; + } + } +} \ No newline at end of file diff --git a/Config/Mappings/PurchaseBoxMap.cs b/Config/Mappings/PurchaseBoxMap.cs new file mode 100644 index 000000000..dce610216 --- /dev/null +++ b/Config/Mappings/PurchaseBoxMap.cs @@ -0,0 +1,19 @@ +using Config.Entities.PurchaseEntities; +using FluentNHibernate.Mapping; + +namespace Config.Mappings +{ + public class PurchaseBoxMap : ClassMap + { + public PurchaseBoxMap() + { + Table("purchase_boxdata"); + Id(x => x.Id); + Map(x => x.BoxNo); + Map(x => x.BoxData_Id); + + References(x => x.PurchaseOrder); + + } + } +} \ No newline at end of file diff --git a/Config/Mappings/PurchaseOrderMap.cs b/Config/Mappings/PurchaseOrderMap.cs new file mode 100644 index 000000000..c20eb3a61 --- /dev/null +++ b/Config/Mappings/PurchaseOrderMap.cs @@ -0,0 +1,20 @@ +using Config.Entities.PurchaseEntities; +using FluentNHibernate.Mapping; +using NHibernate.Mapping; + +namespace Config.Mappings +{ + public class PurchaseOrderMap : ClassMap + { + public PurchaseOrderMap() + { + Table("purchase_orderdata"); + Id(x => x.Id); + Map(x => x.Name).Column("PurchaseOrder"); + + HasMany(x => x.PurchaseBoxList) + .Cascade.All() + .KeyColumn("BoxData_Id"); + } + } +} \ No newline at end of file diff --git a/Config/PurchaseResources.cs b/Config/PurchaseResources.cs new file mode 100644 index 000000000..051b55c96 --- /dev/null +++ b/Config/PurchaseResources.cs @@ -0,0 +1,7 @@ +namespace Config +{ + public class PurchaseResources + { + + } +} \ No newline at end of file diff --git a/TBF/Properties/AssemblyInfo.cs b/TBF/Properties/AssemblyInfo.cs index 948859ff1..2d1562fbe 100644 --- a/TBF/Properties/AssemblyInfo.cs +++ b/TBF/Properties/AssemblyInfo.cs @@ -29,5 +29,5 @@ using System.Runtime.InteropServices; // Build Number // Revision // -[assembly: AssemblyVersion("3.9.2141.1")] -[assembly: AssemblyFileVersion("3.9.2141.1")] +[assembly: AssemblyVersion("3.9.2142.9")] +[assembly: AssemblyFileVersion("3.9.2142.9")] diff --git a/TBF/Rig/DataEntry/StandardCamera/CycleBeginningForm.cs b/TBF/Rig/DataEntry/StandardCamera/CycleBeginningForm.cs index a3b76af81..232adc5a7 100644 --- a/TBF/Rig/DataEntry/StandardCamera/CycleBeginningForm.cs +++ b/TBF/Rig/DataEntry/StandardCamera/CycleBeginningForm.cs @@ -82,7 +82,7 @@ namespace TBF.Rig.DataEntry.StandardCamera if (hideOrder) orderGroupBox.Visible = false; - Height = 155 + lineSize * 44; + this.Height = 155 + lineSize * 44; } /// diff --git a/TBF/Rig/DataEntry/StandartCameraPurchaseOrder/CycleBeginningForm.cs b/TBF/Rig/DataEntry/StandartCameraPurchaseOrder/CycleBeginningForm.cs new file mode 100644 index 000000000..c236dbf58 --- /dev/null +++ b/TBF/Rig/DataEntry/StandartCameraPurchaseOrder/CycleBeginningForm.cs @@ -0,0 +1,1580 @@ +/// +/// Copyright (c) 2015 Sensus Metering Systems +/// +using System; +using System.Collections.Generic; +using System.Linq; +using System.Windows.Forms; +using System.Windows.Forms.VisualStyles; +using Config.Entities.PurchaseEntities; +using FluentNHibernate.Conventions; +using log4net; +using NHibernate.Criterion; +using TBF.Resources; + +namespace TBF.Rig.DataEntry.StandartCameraPurchaseOrder +{ + public partial class CycleBeginningForm : Form, GenericDevices.IHasCompleted + { + private static readonly ILog log = LogManager.GetLogger(typeof(CycleBeginningForm)); + + /// Number of water meters + public readonly int WaterMetersCount; + + /// To be retrieved after the form is closed + public string PurchaseOrder; + + private List purchaseOrderListExample; + + public string[] SNText; + public bool[] Disabled; + + /// Set to 'true' when the form closes + public bool Completed + { + get { return completed; } + } + + bool completed; + + /// Number of text boxes for serial numbers + int textBoxesCount; + + Label[] labels; + ComboBox[] comboBoxes; + CheckBox[] checkBoxes; + ComboBox[] comboNumbers; + IList enabledComboBoxes; + IList enabledComboBoxesN; + + + /// Parameterless constructor for common functionality + public CycleBeginningForm() + { + InitializeComponent(); + ControlBox = false; + + textBoxesCount = 48; + labels = new Label[] + { + label1, label2, label3, label4, label5, label6, label7, label8, label9, label10, + label11, label12, label13, label14, label15, label16, label17, label18, label19, label20, + label21, label22, label23, label24, label25, label26, label27, label28, label29, label30, + label31, label32, label33, label34, label35, label36, label37, label38, label39, label40, + label41, label42, label43, label44, label45, label46, label47, label48, + }; + comboBoxes = new ComboBox[] + { + comboBox1, comboBox2, comboBox3, comboBox4, comboBox5, comboBox6, comboBox7, comboBox8, comboBox9, + comboBox10, + comboBox11, comboBox12, comboBox13, comboBox14, comboBox15, comboBox16, comboBox17, comboBox18, + comboBox19, comboBox20, + comboBox21, comboBox22, comboBox23, comboBox24, comboBox25, comboBox26, comboBox27, comboBox28, + comboBox29, comboBox30, + comboBox31, comboBox32, comboBox33, comboBox34, comboBox35, comboBox36, comboBox37, comboBox38, + comboBox39, comboBox40, + comboBox41, comboBox42, comboBox43, comboBox44, comboBox45, comboBox46, comboBox47, comboBox48, + }; + checkBoxes = new CheckBox[] + { + checkBox1, checkBox2, checkBox3, checkBox4, checkBox5, checkBox6, checkBox7, checkBox8, checkBox9, + checkBox10, + checkBox11, checkBox12, checkBox13, checkBox14, checkBox15, checkBox16, checkBox17, checkBox18, + checkBox19, checkBox20, + checkBox21, checkBox22, checkBox23, checkBox24, checkBox25, checkBox26, checkBox27, checkBox28, + checkBox29, checkBox30, + checkBox31, checkBox32, checkBox33, checkBox34, checkBox35, checkBox36, checkBox37, checkBox38, + checkBox39, checkBox40, + checkBox41, checkBox42, checkBox43, checkBox44, checkBox45, checkBox46, checkBox47, checkBox48, + }; + enabledComboBoxes = new List(); + + comboNumbers = new ComboBox[] + { + comboBoxN1, comboBoxN2, comboBoxN3, comboBoxN4, comboBoxN5, comboBoxN6, comboBoxN7, comboBoxN8, comboBoxN9, + comboBoxN10, + comboBoxN11, comboBoxN12, comboBoxN13, comboBoxN14, comboBoxN15, comboBoxN16, comboBoxN17, comboBoxN18, + comboBoxN19, comboBoxN20, + comboBoxN21, comboBoxN22, comboBoxN23, comboBoxN24, comboBoxN25, comboBoxN26, comboBoxN27, comboBoxN28, + comboBoxN29, comboBoxN30, + comboBoxN31, comboBoxN32, comboBoxN33, comboBoxN34, comboBoxN35, comboBoxN36, comboBoxN37, comboBoxN38, + comboBoxN39, comboBoxN40, + comboBoxN41, comboBoxN42, comboBoxN43, comboBoxN44, comboBoxN45, comboBoxN46, comboBoxN47, comboBoxN48, + }; + enabledComboBoxesN = new List(); + + completed = false; + StartForceCloseHandler(); + } + + /// + /// Constructor + /// + /// Number of text boxes for serial numbers + public CycleBeginningForm(int waterMetersCount, bool hideOrder) + : this() + { + this.WaterMetersCount = waterMetersCount; + SNText = new string[WaterMetersCount]; + Disabled = new bool[WaterMetersCount]; + + int lineSize = (WaterMetersCount <= 6) ? WaterMetersCount : TBF.Data.LineSize; + int MaxHight = this.Height; + ShuffleTextBoxes(TBF.Data.WMsCount, lineSize, ref MaxHight); + + if (hideOrder) orderGroupBox.Visible = false; + + this.Height = Math.Max(MaxHight + 60, 400); + } + + /// + /// Make sure the layout of labels/text boxes on the screen + /// corresponds to the layout of watermeters of the test bench. + /// + /// Number of watermeters + /// Number of watermeters in one line + void ShuffleTextBoxes(int wmsCount, int lineSize, ref int MaxHight) + { + MaxHight = 0; + if (wmsCount < textBoxesCount && lineSize > 0) + { + int nrLines = (wmsCount + lineSize - 1) / lineSize; + int gap = (textBoxesCount - wmsCount) / nrLines; + + int dest = 0; + for (int l = 0; l < nrLines; l++) + { + for (int i = 0; i < lineSize; i++) + { + labels[dest] = labels[l * lineSize + l * gap + i]; + comboBoxes[dest] = comboBoxes[l * lineSize + l * gap + i]; + checkBoxes[dest] = checkBoxes[l * lineSize + l * gap + i]; + comboNumbers[dest] = comboNumbers[l * lineSize + l * gap + i]; + MaxHight = Math.Max(comboBoxes[dest].Location.Y, MaxHight); + dest++; + } + } + + textBoxesCount = wmsCount; + } + } + + private void CycleBeginningForm_Load(object sender, EventArgs e) + { + Localize(); + + if (orderGroupBox.Visible) + { + //TODO BUMI remove simulation !! + InitExamplePuchaseOrder(); + LoadPurchaseOrder(); + //PrepareOrderCombo(orderComboBox); + } + + for (int i = 0; i < textBoxesCount; i++) + { + if (Program.LocalSettings.LastSNTextsCount == textBoxesCount) + { + comboBoxes[i].Items.Add((Program.LocalSettings.LastSNTexts[i] == null) + ? string.Empty + : Program.LocalSettings.LastSNTexts[i]); + } + + InitialiseItemsForComboInRange(i, comboNumbers, textBoxesCount); + labels[i].Visible = comboBoxes[i].Visible = checkBoxes[i].Visible = comboNumbers[i].Visible = true; + enabledComboBoxes.Add(comboBoxes[i]); + enabledComboBoxesN.Add(comboNumbers[i]); + } + } + + private void InitialiseItemsForComboInRange(int i, ComboBox[] implementComboBoxes, int toMaxRange ) + { + log.Debug($"Init combo number item: {i}"); + ComboBox comboBoxToFill = implementComboBoxes[i]; + comboBoxToFill.Items.Clear(); + for(int j = 0; j< toMaxRange; j++) + { + comboBoxToFill.Items.Add(j+1); + } + comboBoxToFill.SelectedItem = i+1; + //comboBoxToFill.Text = (i+1).ToString(); + } + + void Localize() + { + Text = Strings.Data; + orderGroupBox.Text = Strings.Purchase_order; + for (int i = 0; i < textBoxesCount; i++) + { + labels[i].Text = Strings.Serial_number + " " + (i + 1).ToString(); + } + + okButton.Text = Strings.OkBtnText; + clearButton.Text = Strings.ClearBtnText; + } + + /// + /// Load Purchase order combo box items from the LocalSettings PurchaseOrderHistory array + /// + /// Puchase order ComboBox + void PrepareOrderCombo(ComboBox orderComboBox) + { + for (int i = 0; i < Program.LocalSettings.PurchaseOrderHistoryCount; i++) + { + orderComboBox.Items.Add(Program.LocalSettings.PurchaseOrderHistory[i]); + } + + if (orderComboBox.Items.Count > 0) + { + orderComboBox.Text = orderComboBox.Items[0].ToString(); + } + } + + private void okButton_Click(object sender, EventArgs e) + { + if (orderGroupBox.Visible) + { + PurchaseOrder = orderComboBox.Text; + Program.LocalSettings.UpdateHistory(orderComboBox.Text, + ref Program.LocalSettings.PurchaseOrderHistory +#if FUZHOU_150 || FUZHOU_300 + , 20 +#endif + ); + } + + Program.LocalSettings.LastSNTexts = SNText; + + for (int i = 0; i < Math.Min(WaterMetersCount, textBoxesCount); i++) + { + SNText[i] = comboBoxes[i].Text; + Disabled[i] = !checkBoxes[i].Checked; + } + + completed = true; + Close(); + } + + + /// + /// When one combo box is updated using drop-down menu, all combo boxes + /// are updated by this function. + /// + private void UpdateAllCombos() + { + for (int i = 0; i < Math.Min(WaterMetersCount, textBoxesCount); i++) + { + comboBoxes[i].Text = Program.LocalSettings.LastSNTexts[i]; + checkBoxes[i].Checked = !string.IsNullOrEmpty(comboBoxes[i].Text); + } + } + + private void clearButton_Click(object sender, EventArgs e) + { + for (int i = 0; i < Math.Min(WaterMetersCount, textBoxesCount); i++) + { + comboBoxes[i].Text = string.Empty; + checkBoxes[i].Checked = false; + } + } + + + private void comboBox1_TextChanged(object sender, EventArgs e) + { + checkBox1.Checked = true; + } + + private void comboBox2_TextChanged(object sender, EventArgs e) + { + checkBox2.Checked = true; + } + + private void comboBox3_TextChanged(object sender, EventArgs e) + { + checkBox3.Checked = true; + } + + private void comboBox4_TextChanged(object sender, EventArgs e) + { + checkBox4.Checked = true; + } + + private void comboBox5_TextChanged(object sender, EventArgs e) + { + checkBox5.Checked = true; + } + + private void comboBox6_TextChanged(object sender, EventArgs e) + { + checkBox6.Checked = true; + } + + private void comboBox7_TextChanged(object sender, EventArgs e) + { + checkBox7.Checked = true; + } + + private void comboBox8_TextChanged(object sender, EventArgs e) + { + checkBox8.Checked = true; + } + + private void comboBox9_TextChanged(object sender, EventArgs e) + { + checkBox9.Checked = true; + } + + private void comboBox10_TextChanged(object sender, EventArgs e) + { + checkBox10.Checked = true; + } + + private void comboBox11_TextChanged(object sender, EventArgs e) + { + checkBox11.Checked = true; + } + + private void comboBox12_TextChanged(object sender, EventArgs e) + { + checkBox12.Checked = true; + } + + private void comboBox13_TextChanged(object sender, EventArgs e) + { + checkBox13.Checked = true; + } + + private void comboBox14_TextChanged(object sender, EventArgs e) + { + checkBox14.Checked = true; + } + + private void comboBox15_TextChanged(object sender, EventArgs e) + { + checkBox15.Checked = true; + } + + private void comboBox16_TextChanged(object sender, EventArgs e) + { + checkBox16.Checked = true; + } + + private void comboBox17_TextChanged(object sender, EventArgs e) + { + checkBox17.Checked = true; + } + + private void comboBox18_TextChanged(object sender, EventArgs e) + { + checkBox18.Checked = true; + } + + private void comboBox19_TextChanged(object sender, EventArgs e) + { + checkBox19.Checked = true; + } + + private void comboBox20_TextChanged(object sender, EventArgs e) + { + checkBox20.Checked = true; + } + + private void comboBox21_TextChanged(object sender, EventArgs e) + { + checkBox21.Checked = true; + } + + private void comboBox22_TextChanged(object sender, EventArgs e) + { + checkBox22.Checked = true; + } + + private void comboBox23_TextChanged(object sender, EventArgs e) + { + checkBox23.Checked = true; + } + + private void comboBox24_TextChanged(object sender, EventArgs e) + { + checkBox24.Checked = true; + } + + private void comboBox25_TextChanged(object sender, EventArgs e) + { + checkBox25.Checked = true; + } + + private void comboBox26_TextChanged(object sender, EventArgs e) + { + checkBox26.Checked = true; + } + + private void comboBox27_TextChanged(object sender, EventArgs e) + { + checkBox27.Checked = true; + } + + private void comboBox28_TextChanged(object sender, EventArgs e) + { + checkBox28.Checked = true; + } + + private void comboBox29_TextChanged(object sender, EventArgs e) + { + checkBox29.Checked = true; + } + + private void comboBox30_TextChanged(object sender, EventArgs e) + { + checkBox30.Checked = true; + } + + private void comboBox31_TextChanged(object sender, EventArgs e) + { + checkBox31.Checked = true; + } + + private void comboBox32_TextChanged(object sender, EventArgs e) + { + checkBox32.Checked = true; + } + + private void comboBox33_TextChanged(object sender, EventArgs e) + { + checkBox33.Checked = true; + } + + private void comboBox34_TextChanged(object sender, EventArgs e) + { + checkBox34.Checked = true; + } + + private void comboBox35_TextChanged(object sender, EventArgs e) + { + checkBox35.Checked = true; + } + + private void comboBox36_TextChanged(object sender, EventArgs e) + { + checkBox36.Checked = true; + } + + private void comboBox37_TextChanged(object sender, EventArgs e) + { + checkBox37.Checked = true; + } + + private void comboBox38_TextChanged(object sender, EventArgs e) + { + checkBox38.Checked = true; + } + + private void comboBox39_TextChanged(object sender, EventArgs e) + { + checkBox39.Checked = true; + } + + private void comboBox40_TextChanged(object sender, EventArgs e) + { + checkBox40.Checked = true; + } + + private void comboBox41_TextChanged(object sender, EventArgs e) + { + checkBox41.Checked = true; + } + + private void comboBox42_TextChanged(object sender, EventArgs e) + { + checkBox42.Checked = true; + } + + private void comboBox43_TextChanged(object sender, EventArgs e) + { + checkBox43.Checked = true; + } + + private void comboBox44_TextChanged(object sender, EventArgs e) + { + checkBox44.Checked = true; + } + + private void comboBox45_TextChanged(object sender, EventArgs e) + { + checkBox45.Checked = true; + } + + private void comboBox46_TextChanged(object sender, EventArgs e) + { + checkBox46.Checked = true; + } + + private void comboBox47_TextChanged(object sender, EventArgs e) + { + checkBox47.Checked = true; + } + + private void comboBox48_TextChanged(object sender, EventArgs e) + { + checkBox48.Checked = true; + } + + private void comboBox1_SelectedIndexChanged(object sender, EventArgs e) + { + if (Program.LocalSettings.LastSNTextsCount == WaterMetersCount) + { + if (comboBox1.Text.Equals(comboBox1.Items[0])) UpdateAllCombos(); + } + } + + private void comboBox2_SelectedIndexChanged(object sender, EventArgs e) + { + if (Program.LocalSettings.LastSNTextsCount == WaterMetersCount) + { + if (comboBox2.Text.Equals(comboBox2.Items[0])) UpdateAllCombos(); + } + } + + private void comboBox3_SelectedIndexChanged(object sender, EventArgs e) + { + if (Program.LocalSettings.LastSNTextsCount == WaterMetersCount) + { + if (comboBox3.Text.Equals(comboBox3.Items[0])) UpdateAllCombos(); + } + } + + private void comboBox4_SelectedIndexChanged(object sender, EventArgs e) + { + if (Program.LocalSettings.LastSNTextsCount == WaterMetersCount) + { + if (comboBox4.Text.Equals(comboBox4.Items[0])) UpdateAllCombos(); + } + } + + private void comboBox5_SelectedIndexChanged(object sender, EventArgs e) + { + if (Program.LocalSettings.LastSNTextsCount == WaterMetersCount) + { + if (comboBox5.Text.Equals(comboBox5.Items[0])) UpdateAllCombos(); + } + } + + private void comboBox6_SelectedIndexChanged(object sender, EventArgs e) + { + if (Program.LocalSettings.LastSNTextsCount == WaterMetersCount) + { + if (comboBox6.Text.Equals(comboBox6.Items[0])) UpdateAllCombos(); + } + } + + private void comboBox7_SelectedIndexChanged(object sender, EventArgs e) + { + if (Program.LocalSettings.LastSNTextsCount == WaterMetersCount) + { + if (comboBox7.Text.Equals(comboBox7.Items[0])) UpdateAllCombos(); + } + } + + private void comboBox8_SelectedIndexChanged(object sender, EventArgs e) + { + if (Program.LocalSettings.LastSNTextsCount == WaterMetersCount) + { + if (comboBox8.Text.Equals(comboBox8.Items[0])) UpdateAllCombos(); + } + } + + private void comboBox9_SelectedIndexChanged(object sender, EventArgs e) + { + if (Program.LocalSettings.LastSNTextsCount == WaterMetersCount) + { + if (comboBox9.Text.Equals(comboBox9.Items[0])) UpdateAllCombos(); + } + } + + private void comboBox10_SelectedIndexChanged(object sender, EventArgs e) + { + if (Program.LocalSettings.LastSNTextsCount == WaterMetersCount) + { + if (comboBox10.Text.Equals(comboBox10.Items[0])) UpdateAllCombos(); + } + } + + private void comboBox11_SelectedIndexChanged(object sender, EventArgs e) + { + if (Program.LocalSettings.LastSNTextsCount == WaterMetersCount) + { + if (comboBox11.Text.Equals(comboBox11.Items[0])) UpdateAllCombos(); + } + } + + private void comboBox12_SelectedIndexChanged(object sender, EventArgs e) + { + if (Program.LocalSettings.LastSNTextsCount == WaterMetersCount) + { + if (comboBox12.Text.Equals(comboBox12.Items[0])) UpdateAllCombos(); + } + } + + private void comboBox13_SelectedIndexChanged(object sender, EventArgs e) + { + if (Program.LocalSettings.LastSNTextsCount == WaterMetersCount) + { + if (comboBox13.Text.Equals(comboBox13.Items[0])) UpdateAllCombos(); + } + } + + private void comboBox14_SelectedIndexChanged(object sender, EventArgs e) + { + if (Program.LocalSettings.LastSNTextsCount == WaterMetersCount) + { + if (comboBox14.Text.Equals(comboBox14.Items[0])) UpdateAllCombos(); + } + } + + private void comboBox15_SelectedIndexChanged(object sender, EventArgs e) + { + if (Program.LocalSettings.LastSNTextsCount == WaterMetersCount) + { + if (comboBox15.Text.Equals(comboBox15.Items[0])) UpdateAllCombos(); + } + } + + private void comboBox16_SelectedIndexChanged(object sender, EventArgs e) + { + if (Program.LocalSettings.LastSNTextsCount == WaterMetersCount) + { + if (comboBox16.Text.Equals(comboBox16.Items[0])) UpdateAllCombos(); + } + } + + private void comboBox17_SelectedIndexChanged(object sender, EventArgs e) + { + if (Program.LocalSettings.LastSNTextsCount == WaterMetersCount) + { + if (comboBox17.Text.Equals(comboBox17.Items[0])) UpdateAllCombos(); + } + } + + private void comboBox18_SelectedIndexChanged(object sender, EventArgs e) + { + if (Program.LocalSettings.LastSNTextsCount == WaterMetersCount) + { + if (comboBox18.Text.Equals(comboBox18.Items[0])) UpdateAllCombos(); + } + } + + private void comboBox19_SelectedIndexChanged(object sender, EventArgs e) + { + if (Program.LocalSettings.LastSNTextsCount == WaterMetersCount) + { + if (comboBox19.Text.Equals(comboBox19.Items[0])) UpdateAllCombos(); + } + } + + private void comboBox20_SelectedIndexChanged(object sender, EventArgs e) + { + if (Program.LocalSettings.LastSNTextsCount == WaterMetersCount) + { + if (comboBox20.Text.Equals(comboBox20.Items[0])) UpdateAllCombos(); + } + } + + private void comboBox21_SelectedIndexChanged(object sender, EventArgs e) + { + if (Program.LocalSettings.LastSNTextsCount == WaterMetersCount) + { + if (comboBox21.Text.Equals(comboBox21.Items[0])) UpdateAllCombos(); + } + } + + private void comboBox22_SelectedIndexChanged(object sender, EventArgs e) + { + if (Program.LocalSettings.LastSNTextsCount == WaterMetersCount) + { + if (comboBox22.Text.Equals(comboBox22.Items[0])) UpdateAllCombos(); + } + } + + private void comboBox23_SelectedIndexChanged(object sender, EventArgs e) + { + if (Program.LocalSettings.LastSNTextsCount == WaterMetersCount) + { + if (comboBox23.Text.Equals(comboBox23.Items[0])) UpdateAllCombos(); + } + } + + private void comboBox24_SelectedIndexChanged(object sender, EventArgs e) + { + if (Program.LocalSettings.LastSNTextsCount == WaterMetersCount) + { + if (comboBox24.Text.Equals(comboBox24.Items[0])) UpdateAllCombos(); + } + } + + private void comboBox25_SelectedIndexChanged(object sender, EventArgs e) + { + if (Program.LocalSettings.LastSNTextsCount == WaterMetersCount) + { + if (comboBox25.Text.Equals(comboBox25.Items[0])) UpdateAllCombos(); + } + } + + private void comboBox26_SelectedIndexChanged(object sender, EventArgs e) + { + if (Program.LocalSettings.LastSNTextsCount == WaterMetersCount) + { + if (comboBox26.Text.Equals(comboBox26.Items[0])) UpdateAllCombos(); + } + } + + private void comboBox27_SelectedIndexChanged(object sender, EventArgs e) + { + if (Program.LocalSettings.LastSNTextsCount == WaterMetersCount) + { + if (comboBox27.Text.Equals(comboBox27.Items[0])) UpdateAllCombos(); + } + } + + private void comboBox28_SelectedIndexChanged(object sender, EventArgs e) + { + if (Program.LocalSettings.LastSNTextsCount == WaterMetersCount) + { + if (comboBox28.Text.Equals(comboBox28.Items[0])) UpdateAllCombos(); + } + } + + private void comboBox29_SelectedIndexChanged(object sender, EventArgs e) + { + if (Program.LocalSettings.LastSNTextsCount == WaterMetersCount) + { + if (comboBox29.Text.Equals(comboBox29.Items[0])) UpdateAllCombos(); + } + } + + private void comboBox30_SelectedIndexChanged(object sender, EventArgs e) + { + if (Program.LocalSettings.LastSNTextsCount == WaterMetersCount) + { + if (comboBox30.Text.Equals(comboBox30.Items[0])) UpdateAllCombos(); + } + } + + private void comboBox31_SelectedIndexChanged(object sender, EventArgs e) + { + if (Program.LocalSettings.LastSNTextsCount == WaterMetersCount) + { + if (comboBox31.Text.Equals(comboBox31.Items[0])) UpdateAllCombos(); + } + } + + private void comboBox32_SelectedIndexChanged(object sender, EventArgs e) + { + if (Program.LocalSettings.LastSNTextsCount == WaterMetersCount) + { + if (comboBox32.Text.Equals(comboBox32.Items[0])) UpdateAllCombos(); + } + } + + private void comboBox33_SelectedIndexChanged(object sender, EventArgs e) + { + if (Program.LocalSettings.LastSNTextsCount == WaterMetersCount) + { + if (comboBox33.Text.Equals(comboBox33.Items[0])) UpdateAllCombos(); + } + } + + private void comboBox34_SelectedIndexChanged(object sender, EventArgs e) + { + if (Program.LocalSettings.LastSNTextsCount == WaterMetersCount) + { + if (comboBox34.Text.Equals(comboBox34.Items[0])) UpdateAllCombos(); + } + } + + private void comboBox35_SelectedIndexChanged(object sender, EventArgs e) + { + if (Program.LocalSettings.LastSNTextsCount == WaterMetersCount) + { + if (comboBox35.Text.Equals(comboBox35.Items[0])) UpdateAllCombos(); + } + } + + private void comboBox36_SelectedIndexChanged(object sender, EventArgs e) + { + if (Program.LocalSettings.LastSNTextsCount == WaterMetersCount) + { + if (comboBox36.Text.Equals(comboBox36.Items[0])) UpdateAllCombos(); + } + } + + private void comboBox37_SelectedIndexChanged(object sender, EventArgs e) + { + if (Program.LocalSettings.LastSNTextsCount == WaterMetersCount) + { + if (comboBox37.Text.Equals(comboBox37.Items[0])) UpdateAllCombos(); + } + } + + private void comboBox38_SelectedIndexChanged(object sender, EventArgs e) + { + if (Program.LocalSettings.LastSNTextsCount == WaterMetersCount) + { + if (comboBox38.Text.Equals(comboBox38.Items[0])) UpdateAllCombos(); + } + } + + private void comboBox39_SelectedIndexChanged(object sender, EventArgs e) + { + if (Program.LocalSettings.LastSNTextsCount == WaterMetersCount) + { + if (comboBox39.Text.Equals(comboBox39.Items[0])) UpdateAllCombos(); + } + } + + private void comboBox40_SelectedIndexChanged(object sender, EventArgs e) + { + if (Program.LocalSettings.LastSNTextsCount == WaterMetersCount) + { + if (comboBox40.Text.Equals(comboBox40.Items[0])) UpdateAllCombos(); + } + } + + private void comboBox41_SelectedIndexChanged(object sender, EventArgs e) + { + if (Program.LocalSettings.LastSNTextsCount == WaterMetersCount) + { + if (comboBox41.Text.Equals(comboBox41.Items[0])) UpdateAllCombos(); + } + } + + private void comboBox42_SelectedIndexChanged(object sender, EventArgs e) + { + if (Program.LocalSettings.LastSNTextsCount == WaterMetersCount) + { + if (comboBox42.Text.Equals(comboBox42.Items[0])) UpdateAllCombos(); + } + } + + private void comboBox43_SelectedIndexChanged(object sender, EventArgs e) + { + if (Program.LocalSettings.LastSNTextsCount == WaterMetersCount) + { + if (comboBox43.Text.Equals(comboBox43.Items[0])) UpdateAllCombos(); + } + } + + private void comboBox44_SelectedIndexChanged(object sender, EventArgs e) + { + if (Program.LocalSettings.LastSNTextsCount == WaterMetersCount) + { + if (comboBox44.Text.Equals(comboBox44.Items[0])) UpdateAllCombos(); + } + } + + private void comboBox45_SelectedIndexChanged(object sender, EventArgs e) + { + if (Program.LocalSettings.LastSNTextsCount == WaterMetersCount) + { + if (comboBox45.Text.Equals(comboBox45.Items[0])) UpdateAllCombos(); + } + } + + private void comboBox46_SelectedIndexChanged(object sender, EventArgs e) + { + if (Program.LocalSettings.LastSNTextsCount == WaterMetersCount) + { + if (comboBox46.Text.Equals(comboBox46.Items[0])) UpdateAllCombos(); + } + } + + private void comboBox47_SelectedIndexChanged(object sender, EventArgs e) + { + if (Program.LocalSettings.LastSNTextsCount == WaterMetersCount) + { + if (comboBox47.Text.Equals(comboBox47.Items[0])) UpdateAllCombos(); + } + } + + private void comboBox48_SelectedIndexChanged(object sender, EventArgs e) + { + if (Program.LocalSettings.LastSNTextsCount == WaterMetersCount) + { + if (comboBox48.Text.Equals(comboBox48.Items[0])) UpdateAllCombos(); + } + } + + #region Forced close handling + + public void StartForceCloseHandler() + { + UiBridge.Bridge.CloseModelessFormHandler += delegate(object sender, EventArgs args) + { + if (InvokeRequired) + { + Invoke(new EventHandler(OnForceClose), sender, args); + } + else OnForceClose(sender, args); + }; + } + + private void OnForceClose(object sender, EventArgs args) + { + DialogResult = DialogResult.Cancel; + Close(); + } + + #endregion + + /// + /// Process a key press within any enabled text boxe + /// + /// + /// + /// TextBox control which received the event + private void ProcKeyPress(object sender, KeyPressEventArgs e, ComboBox currentFocusOwner) + { + if (e.KeyChar == '+') + { + /// Process '+' key ..... Form completed + okButton_Click(sender, e); + } + + if (e.KeyChar == '\r') + { + /// Process key ..... Next text field + if (enabledComboBoxes.Count < 2) return; /// There is just one enabled textbox + + for (int i = 0; i < enabledComboBoxes.Count; i++) + { + if (enabledComboBoxes[i] == currentFocusOwner) + { + /// Change focus to the next enabled text box + enabledComboBoxes[(i + 1) % enabledComboBoxes.Count].Focus(); + return; + } + } + } + } + + private void comboBox1_KeyPress(object sndr, KeyPressEventArgs e) + { + ProcKeyPress(sndr, e, comboBox1); + } + + private void comboBox2_KeyPress(object sndr, KeyPressEventArgs e) + { + ProcKeyPress(sndr, e, comboBox2); + } + + private void comboBox3_KeyPress(object sndr, KeyPressEventArgs e) + { + ProcKeyPress(sndr, e, comboBox3); + } + + private void comboBox4_KeyPress(object sndr, KeyPressEventArgs e) + { + ProcKeyPress(sndr, e, comboBox4); + } + + private void comboBox5_KeyPress(object sndr, KeyPressEventArgs e) + { + ProcKeyPress(sndr, e, comboBox5); + } + + private void comboBox6_KeyPress(object sndr, KeyPressEventArgs e) + { + ProcKeyPress(sndr, e, comboBox6); + } + + private void comboBox7_KeyPress(object sndr, KeyPressEventArgs e) + { + ProcKeyPress(sndr, e, comboBox7); + } + + private void comboBox8_KeyPress(object sndr, KeyPressEventArgs e) + { + ProcKeyPress(sndr, e, comboBox8); + } + + private void comboBox9_KeyPress(object sndr, KeyPressEventArgs e) + { + ProcKeyPress(sndr, e, comboBox9); + } + + private void comboBox10_KeyPress(object sndr, KeyPressEventArgs e) + { + ProcKeyPress(sndr, e, comboBox10); + } + + private void comboBox11_KeyPress(object sndr, KeyPressEventArgs e) + { + ProcKeyPress(sndr, e, comboBox11); + } + + private void comboBox12_KeyPress(object sndr, KeyPressEventArgs e) + { + ProcKeyPress(sndr, e, comboBox12); + } + + private void comboBox13_KeyPress(object sndr, KeyPressEventArgs e) + { + ProcKeyPress(sndr, e, comboBox13); + } + + private void comboBox14_KeyPress(object sndr, KeyPressEventArgs e) + { + ProcKeyPress(sndr, e, comboBox14); + } + + private void comboBox15_KeyPress(object sndr, KeyPressEventArgs e) + { + ProcKeyPress(sndr, e, comboBox15); + } + + private void comboBox16_KeyPress(object sndr, KeyPressEventArgs e) + { + ProcKeyPress(sndr, e, comboBox16); + } + + private void comboBox17_KeyPress(object sndr, KeyPressEventArgs e) + { + ProcKeyPress(sndr, e, comboBox17); + } + + private void comboBox18_KeyPress(object sndr, KeyPressEventArgs e) + { + ProcKeyPress(sndr, e, comboBox18); + } + + private void comboBox19_KeyPress(object sndr, KeyPressEventArgs e) + { + ProcKeyPress(sndr, e, comboBox19); + } + + private void comboBox20_KeyPress(object sndr, KeyPressEventArgs e) + { + ProcKeyPress(sndr, e, comboBox20); + } + + private void comboBox21_KeyPress(object sndr, KeyPressEventArgs e) + { + ProcKeyPress(sndr, e, comboBox21); + } + + private void comboBox22_KeyPress(object sndr, KeyPressEventArgs e) + { + ProcKeyPress(sndr, e, comboBox22); + } + + private void comboBox23_KeyPress(object sndr, KeyPressEventArgs e) + { + ProcKeyPress(sndr, e, comboBox23); + } + + private void comboBox24_KeyPress(object sndr, KeyPressEventArgs e) + { + ProcKeyPress(sndr, e, comboBox24); + } + + private void comboBox25_KeyPress(object sndr, KeyPressEventArgs e) + { + ProcKeyPress(sndr, e, comboBox25); + } + + private void comboBox26_KeyPress(object sndr, KeyPressEventArgs e) + { + ProcKeyPress(sndr, e, comboBox26); + } + + private void comboBox27_KeyPress(object sndr, KeyPressEventArgs e) + { + ProcKeyPress(sndr, e, comboBox27); + } + + private void comboBox28_KeyPress(object sndr, KeyPressEventArgs e) + { + ProcKeyPress(sndr, e, comboBox28); + } + + private void comboBox29_KeyPress(object sndr, KeyPressEventArgs e) + { + ProcKeyPress(sndr, e, comboBox29); + } + + private void comboBox30_KeyPress(object sndr, KeyPressEventArgs e) + { + ProcKeyPress(sndr, e, comboBox30); + } + + private void comboBox31_KeyPress(object sndr, KeyPressEventArgs e) + { + ProcKeyPress(sndr, e, comboBox31); + } + + private void comboBox32_KeyPress(object sndr, KeyPressEventArgs e) + { + ProcKeyPress(sndr, e, comboBox32); + } + + private void comboBox33_KeyPress(object sndr, KeyPressEventArgs e) + { + ProcKeyPress(sndr, e, comboBox33); + } + + private void comboBox34_KeyPress(object sndr, KeyPressEventArgs e) + { + ProcKeyPress(sndr, e, comboBox34); + } + + private void comboBox35_KeyPress(object sndr, KeyPressEventArgs e) + { + ProcKeyPress(sndr, e, comboBox35); + } + + private void comboBox36_KeyPress(object sndr, KeyPressEventArgs e) + { + ProcKeyPress(sndr, e, comboBox36); + } + + private void comboBox37_KeyPress(object sndr, KeyPressEventArgs e) + { + ProcKeyPress(sndr, e, comboBox37); + } + + private void comboBox38_KeyPress(object sndr, KeyPressEventArgs e) + { + ProcKeyPress(sndr, e, comboBox38); + } + + private void comboBox39_KeyPress(object sndr, KeyPressEventArgs e) + { + ProcKeyPress(sndr, e, comboBox39); + } + + private void comboBox40_KeyPress(object sndr, KeyPressEventArgs e) + { + ProcKeyPress(sndr, e, comboBox40); + } + + private void comboBox41_KeyPress(object sndr, KeyPressEventArgs e) + { + ProcKeyPress(sndr, e, comboBox41); + } + + private void comboBox42_KeyPress(object sndr, KeyPressEventArgs e) + { + ProcKeyPress(sndr, e, comboBox42); + } + + private void comboBox43_KeyPress(object sndr, KeyPressEventArgs e) + { + ProcKeyPress(sndr, e, comboBox43); + } + + private void comboBox44_KeyPress(object sndr, KeyPressEventArgs e) + { + ProcKeyPress(sndr, e, comboBox44); + } + + private void comboBox45_KeyPress(object sndr, KeyPressEventArgs e) + { + ProcKeyPress(sndr, e, comboBox45); + } + + private void comboBox46_KeyPress(object sndr, KeyPressEventArgs e) + { + ProcKeyPress(sndr, e, comboBox46); + } + + private void comboBox47_KeyPress(object sndr, KeyPressEventArgs e) + { + ProcKeyPress(sndr, e, comboBox47); + } + + private void comboBox48_KeyPress(object sndr, KeyPressEventArgs e) + { + ProcKeyPress(sndr, e, comboBox48); + } + + + + void PerformActionComboShuffle(ComboBox selComboBox) + { + if (selComboBox != null && selComboBox.Visible == true) + { + + // Use helper method to extract number from comboBox's name + int? initialSelectedValue = ExtractNumberFromComboBoxName(selComboBox); + if (!initialSelectedValue.HasValue) + { + return; + } + + string itemText = selComboBox.SelectedItem?.ToString(); + if (itemText == null) + { + itemText = selComboBox.Text; + } + log.DebugFormat("Selected Combobox: {0} initialSelectedValue: {1} value: {2}", selComboBox.Name,initialSelectedValue,itemText); + + + + if (int.TryParse(itemText, out int selectedNumber)) + { + if (selectedNumber == initialSelectedValue) + { + return; + } + // Substitute minNumber and maxNumber with actual values + int minNumber = 0, maxNumber = 50; + + if (selectedNumber >= minNumber && selectedNumber <= maxNumber) + { + // Call changeSerialNo method if the number falls within the range + ChangeSerialNo(initialSelectedValue, selectedNumber); + + // Reset the selection + selComboBox.SelectedItem = initialSelectedValue; + } + } + else + { + Console.WriteLine("The selected item is not a number."); + } + } + } + + private void ChangeSerialNo(int? thisComboBoxNumber, int destComboBoxNo) + { + // changeSerialNo implementation + log.Debug($"Changed ComboBox this: {thisComboBoxNumber}"); + if (thisComboBoxNumber == null) { return; } + + int indexOfThisComboBox = (int)thisComboBoxNumber - 1; + int indexDestComboBoxNo = destComboBoxNo - 1; + + ComboBox thisComboBox = null; + if (indexOfThisComboBox >= 0 && indexOfThisComboBox < textBoxesCount) + { + thisComboBox = comboBoxes[indexOfThisComboBox]; + } + ComboBox destComboBox = null; + if (indexDestComboBoxNo >= 0 && indexDestComboBoxNo < textBoxesCount) + { + destComboBox = comboBoxes[indexDestComboBoxNo]; + } + + + if (destComboBox != null && thisComboBox != null) + { + string thisComboBoxValue = thisComboBox.Text; + string destComboBoxValue = destComboBox.Text; + + if (thisComboBoxValue != null && destComboBoxValue != null) + { + thisComboBox.Text = destComboBoxValue; + destComboBox.Text = thisComboBoxValue; + } + + } + else + { + log.Debug("Some of the sources are missing"); + } + } + + private int? ExtractNumberFromComboBoxName(ComboBox comboBox) + { + // Extract number from comboBox's name + var numberString = System.Text.RegularExpressions.Regex.Match(comboBox.Name, @"\d+").Value; + if (int.TryParse(numberString, out int extractedNumber)) + { + return extractedNumber; + } + else + { + Console.WriteLine("Failed to get number from comboBox name."); + + // Return null if it fails to parse the number + return null; + } + } + + + + private void buttonChooseBox_Click(object sender, EventArgs e) + { + Choose(); + } + + + + private void InitExamplePuchaseOrder() + { + purchaseOrderListExample = new List(); + + //------------------------------------ + Config.Entities.PurchaseEntities.PurchaseOrder purchaseOrder = new PurchaseOrder("Swindon-001"); + PurchaseBox purchaseBox = new PurchaseBox("Box-01-1001",1,purchaseOrder); + purchaseBox.PurchaseWaterMeterDataList.Add(new PurchaseWaterMeterData("SN 1324_56-9", purchaseBox)); + purchaseBox.PurchaseWaterMeterDataList.Add(new PurchaseWaterMeterData("SN 1324_56-8", purchaseBox)); + purchaseOrder.PurchaseBoxList.Add(purchaseBox); + + purchaseBox = new PurchaseBox("Box-01-1002",1,purchaseOrder); + purchaseBox.PurchaseWaterMeterDataList.Add(new PurchaseWaterMeterData("SN 1324_59-1", purchaseBox)); + purchaseOrder.PurchaseBoxList.Add(purchaseBox); + + purchaseBox = new PurchaseBox("Box-01-1003",1,purchaseOrder); + purchaseBox.PurchaseWaterMeterDataList.Add(new PurchaseWaterMeterData("SN 1324_79-1", purchaseBox)); + purchaseOrder.PurchaseBoxList.Add(purchaseBox); + + purchaseBox = new PurchaseBox("Box-01-1004",1,purchaseOrder); + purchaseBox.PurchaseWaterMeterDataList.Add(new PurchaseWaterMeterData("SN 1324_89-1", purchaseBox)); + purchaseOrder.PurchaseBoxList.Add(purchaseBox); + + purchaseOrderListExample.Add(purchaseOrder); + + //------------------------------------ + purchaseOrder = new PurchaseOrder("Swindon-002"); + purchaseBox = new PurchaseBox("Box-02-1001",1,purchaseOrder); + purchaseBox.PurchaseWaterMeterDataList.Add(new PurchaseWaterMeterData("SN 1325_56-9", purchaseBox)); + purchaseBox.PurchaseWaterMeterDataList.Add(new PurchaseWaterMeterData("SN 1325_56-8", purchaseBox)); + purchaseOrder.PurchaseBoxList.Add(purchaseBox); + + purchaseBox = new PurchaseBox("Box-02-1002",1,purchaseOrder); + purchaseBox.PurchaseWaterMeterDataList.Add(new PurchaseWaterMeterData("SN 1325_59-1", purchaseBox)); + purchaseBox.PurchaseWaterMeterDataList.Add(new PurchaseWaterMeterData("SN 1325_59-2", purchaseBox)); + purchaseBox.PurchaseWaterMeterDataList.Add(new PurchaseWaterMeterData("SN 1325_59-3", purchaseBox)); + purchaseBox.PurchaseWaterMeterDataList.Add(new PurchaseWaterMeterData("SN 1325_59-4", purchaseBox)); + purchaseOrder.PurchaseBoxList.Add(purchaseBox); + + purchaseBox = new PurchaseBox("Box-02-1003",1,purchaseOrder); + purchaseBox.PurchaseWaterMeterDataList.Add(new PurchaseWaterMeterData("SN 1325_79-1", purchaseBox)); + purchaseOrder.PurchaseBoxList.Add(purchaseBox); + + purchaseBox = new PurchaseBox("Box-02-1004",1,purchaseOrder); + purchaseBox.PurchaseWaterMeterDataList.Add(new PurchaseWaterMeterData("SN 1325_89-1", purchaseBox)); + purchaseOrder.PurchaseBoxList.Add(purchaseBox); + + purchaseOrderListExample.Add(purchaseOrder); + + //------------------------------------ + purchaseOrder = new PurchaseOrder("Swindon-003"); + purchaseBox = new PurchaseBox("Box-03-12001",1,purchaseOrder); + purchaseBox.PurchaseWaterMeterDataList.Add(new PurchaseWaterMeterData("SN 1326_56-9", purchaseBox)); + purchaseBox.PurchaseWaterMeterDataList.Add(new PurchaseWaterMeterData("SN 1326_56-8", purchaseBox)); + purchaseOrder.PurchaseBoxList.Add(purchaseBox); + + purchaseBox = new PurchaseBox("Box-03-1102",1,purchaseOrder); + purchaseBox.PurchaseWaterMeterDataList.Add(new PurchaseWaterMeterData("SN 1326_60-1", purchaseBox)); + purchaseBox.PurchaseWaterMeterDataList.Add(new PurchaseWaterMeterData("SN 1326_60-2", purchaseBox)); + purchaseBox.PurchaseWaterMeterDataList.Add(new PurchaseWaterMeterData("SN 1326_60-3", purchaseBox)); + purchaseBox.PurchaseWaterMeterDataList.Add(new PurchaseWaterMeterData("SN 1326_60-4", purchaseBox)); + purchaseOrder.PurchaseBoxList.Add(purchaseBox); + + //--- + purchaseOrderListExample.Add(purchaseOrder); + } + + private void LoadPurchaseOrder() + { + orderComboBox.Items.Clear(); + if (purchaseOrderListExample != null) + { + foreach (PurchaseOrder pOrder in purchaseOrderListExample) + { + orderComboBox.Items.Add(pOrder.Name); + } + + LoadPurchaseBox(""); + } + } + + private void LoadPurchaseBox(String choosenOrder) + { + purchaseBoxComboBox.Items.Clear(); + if (choosenOrder.IsEmpty()) + { + return; + } + + var purchaseBoxes = purchaseOrderListExample + .Where(pOrder => pOrder.Name == choosenOrder) + .SelectMany(pOrder => pOrder.PurchaseBoxList) + .Select(pBox => pBox.BoxNo); + + foreach (var boxNo in purchaseBoxes) + { + purchaseBoxComboBox.Items.Add(boxNo); + } + } + + private int lastComboBoxSerialNo = 0; + + private void LoadChoosenSerialNumbers(String choosenOrder, String choosenBox) + { + if (choosenOrder==null || choosenOrder.IsEmpty() || + choosenBox == null || choosenBox.IsEmpty()) + { + return; + } + + log.Debug($"Selected order: {choosenOrder} box: {choosenBox}"); + + IEnumerable serialNumbers = purchaseOrderListExample + .Where(pOrder => pOrder.Name == choosenOrder) + .SelectMany(pOrder => pOrder.PurchaseBoxList) + .Where(pBox => pBox.BoxNo == choosenBox) + .SelectMany(pBox => pBox.PurchaseWaterMeterDataList) + .Select(pWM => pWM.SerialNo); + + if ((enabledComboBoxes.Count - lastComboBoxSerialNo) < serialNumbers.Count()) + { + MessageBox.Show(this,"We have more Serial Numbers in box as we have free positions!","Warning",MessageBoxButtons.OK,MessageBoxIcon.Warning); + return; + } + + foreach (var serialNumber in serialNumbers) + { + comboBoxes[lastComboBoxSerialNo].Text = serialNumber; + lastComboBoxSerialNo++; + } + + RemoveLoadSerialNumbers(serialNumbers, choosenOrder, choosenBox ); + + } + + private void RemoveLoadSerialNumbers(IEnumerable serialNumbers, string choosenOrder, string choosenBox) + { + IEnumerable boxes =purchaseOrderListExample + .Where(pOrder => pOrder.Name == choosenOrder) + .SelectMany(pOrder => pOrder.PurchaseBoxList) + .Where(pBox => pBox.BoxNo == choosenBox) + .Select(pBox => pBox); + + foreach (var box in boxes) + { + box.PurchaseWaterMeterDataList.RemoveAll(pWM => serialNumbers.Contains(pWM.SerialNo)); + } + } + + private void orderComboBox_SelectedIndexChanged(object sender, EventArgs e) + { + ComboBox orederComboBox = sender as ComboBox; + if (orederComboBox != null && orederComboBox.SelectedItem != null) + { + string order = orederComboBox.SelectedItem.ToString(); + log.Debug($"Selected order: {order}"); + LoadPurchaseBox(order); + } + } + + private void purchaseBoxComboBox_SelectedIndexChanged(object sender, EventArgs e) + { + + ComboBox box = sender as ComboBox; + if (box != null && box.SelectedItem != null) + { + //TODO BUMI if neccessary impelement + } + + } + + private void Choose() + { + string boxStr = purchaseBoxComboBox.SelectedItem.ToString(); + string order = orderComboBox.SelectedItem.ToString(); + + LoadChoosenSerialNumbers(order, boxStr); + } + /// + /// Process a key press within any enabled text boxe + /// + /// + /// + /// TextBox control which received the event + private void ProcKeyPressComboNumbers(object sender, KeyEventArgs e) + { + // if (e.KeyChar == '+') + // { + // /// Process '+' key ..... Form completed + // //okButton_Click(sender, e); + // } + + if (e.KeyCode == Keys.Enter) + { + /// Process key ..... Next text field + if (enabledComboBoxesN.Count < 2) return; /// There is just one enabled textbox + + ComboBox currentComboBox = (sender as ComboBox); + for (int i = 0; i < enabledComboBoxesN.Count; i++) + { + if (enabledComboBoxesN[i] == currentComboBox) + { + /// Change focus to the next enabled text box + enabledComboBoxesN[(i + 1) % enabledComboBoxesN.Count].Focus(); + return; + } + } + } + } + + private void comboBoxN1_SelectedIndexChanged(object sender, EventArgs e) + { + PerformActionComboShuffle(sender as ComboBox); + } + + private void comboBoxN1_Leave(object sender, EventArgs e) + { + PerformActionComboShuffle(sender as ComboBox); + } + + private void comboBoxN1_KeyDown(object sender, KeyEventArgs e) + { + if (e.KeyCode == Keys.Enter) + { + e.Handled = true; + e.SuppressKeyPress = true; // To prevent the "ding" sound + PerformActionComboShuffle(sender as ComboBox); + ProcKeyPressComboNumbers(sender, e); + } + } + + + + private void comboBoxN1_TextUpdate(object sender, EventArgs e) + { + //PerformActionComboShuffle(sender as ComboBox); + } + + private void comboBoxN1_SelectionChangeCommitted(object sender, EventArgs e) + { + //PerformActionComboShuffle(sender as ComboBox); + } + + private void comboBoxN2_SelectedIndexChanged(object sender, EventArgs e) + { + throw new System.NotImplementedException(); + } + + private void comboBoxN5_SelectedIndexChanged(object sender, EventArgs e) + { + throw new System.NotImplementedException(); + } + + private void comboBoxN3_SelectedIndexChanged(object sender, EventArgs e) + { + throw new System.NotImplementedException(); + } + + private void comboBoxN4_SelectedIndexChanged(object sender, EventArgs e) + { + throw new System.NotImplementedException(); + } + + private void comboBoxN11_SelectedIndexChanged(object sender, EventArgs e) + { + throw new System.NotImplementedException(); + } + } +} diff --git a/TBF/Rig/DataEntry/StandartCameraPurchaseOrder/CycleBeginningForm.designer.cs b/TBF/Rig/DataEntry/StandartCameraPurchaseOrder/CycleBeginningForm.designer.cs new file mode 100644 index 000000000..1ae3a972b --- /dev/null +++ b/TBF/Rig/DataEntry/StandartCameraPurchaseOrder/CycleBeginningForm.designer.cs @@ -0,0 +1,1956 @@ +/// +/// Copyright (c) 2015 Sensus Metering Systems +/// +namespace TBF.Rig.DataEntry.StandartCameraPurchaseOrder +{ + partial class CycleBeginningForm + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(CycleBeginningForm)); + this.okButton = new System.Windows.Forms.Button(); + this.orderGroupBox = new System.Windows.Forms.GroupBox(); + this.buttonChooseBox = new System.Windows.Forms.Button(); + this.purchaseBoxComboBox = new System.Windows.Forms.ComboBox(); + this.orderComboBox = new System.Windows.Forms.ComboBox(); + this.clearButton = new System.Windows.Forms.Button(); + this.label1 = new System.Windows.Forms.Label(); + this.comboBox1 = new System.Windows.Forms.ComboBox(); + this.checkBox1 = new System.Windows.Forms.CheckBox(); + this.checkBox2 = new System.Windows.Forms.CheckBox(); + this.comboBox2 = new System.Windows.Forms.ComboBox(); + this.label2 = new System.Windows.Forms.Label(); + this.checkBox3 = new System.Windows.Forms.CheckBox(); + this.comboBox3 = new System.Windows.Forms.ComboBox(); + this.label3 = new System.Windows.Forms.Label(); + this.checkBox4 = new System.Windows.Forms.CheckBox(); + this.comboBox4 = new System.Windows.Forms.ComboBox(); + this.label4 = new System.Windows.Forms.Label(); + this.checkBox5 = new System.Windows.Forms.CheckBox(); + this.comboBox5 = new System.Windows.Forms.ComboBox(); + this.label5 = new System.Windows.Forms.Label(); + this.checkBox6 = new System.Windows.Forms.CheckBox(); + this.comboBox6 = new System.Windows.Forms.ComboBox(); + this.label6 = new System.Windows.Forms.Label(); + this.checkBox7 = new System.Windows.Forms.CheckBox(); + this.comboBox7 = new System.Windows.Forms.ComboBox(); + this.label7 = new System.Windows.Forms.Label(); + this.checkBox8 = new System.Windows.Forms.CheckBox(); + this.comboBox8 = new System.Windows.Forms.ComboBox(); + this.label8 = new System.Windows.Forms.Label(); + this.checkBox9 = new System.Windows.Forms.CheckBox(); + this.comboBox9 = new System.Windows.Forms.ComboBox(); + this.label9 = new System.Windows.Forms.Label(); + this.checkBox10 = new System.Windows.Forms.CheckBox(); + this.comboBox10 = new System.Windows.Forms.ComboBox(); + this.label10 = new System.Windows.Forms.Label(); + this.checkBox11 = new System.Windows.Forms.CheckBox(); + this.comboBox11 = new System.Windows.Forms.ComboBox(); + this.label11 = new System.Windows.Forms.Label(); + this.checkBox12 = new System.Windows.Forms.CheckBox(); + this.comboBox12 = new System.Windows.Forms.ComboBox(); + this.label12 = new System.Windows.Forms.Label(); + this.checkBox13 = new System.Windows.Forms.CheckBox(); + this.comboBox13 = new System.Windows.Forms.ComboBox(); + this.label13 = new System.Windows.Forms.Label(); + this.checkBox14 = new System.Windows.Forms.CheckBox(); + this.comboBox14 = new System.Windows.Forms.ComboBox(); + this.label14 = new System.Windows.Forms.Label(); + this.checkBox15 = new System.Windows.Forms.CheckBox(); + this.comboBox15 = new System.Windows.Forms.ComboBox(); + this.label15 = new System.Windows.Forms.Label(); + this.checkBox16 = new System.Windows.Forms.CheckBox(); + this.comboBox16 = new System.Windows.Forms.ComboBox(); + this.label16 = new System.Windows.Forms.Label(); + this.checkBox17 = new System.Windows.Forms.CheckBox(); + this.comboBox17 = new System.Windows.Forms.ComboBox(); + this.label17 = new System.Windows.Forms.Label(); + this.checkBox18 = new System.Windows.Forms.CheckBox(); + this.comboBox18 = new System.Windows.Forms.ComboBox(); + this.label18 = new System.Windows.Forms.Label(); + this.checkBox19 = new System.Windows.Forms.CheckBox(); + this.comboBox19 = new System.Windows.Forms.ComboBox(); + this.label19 = new System.Windows.Forms.Label(); + this.checkBox20 = new System.Windows.Forms.CheckBox(); + this.comboBox20 = new System.Windows.Forms.ComboBox(); + this.label20 = new System.Windows.Forms.Label(); + this.checkBox21 = new System.Windows.Forms.CheckBox(); + this.comboBox21 = new System.Windows.Forms.ComboBox(); + this.label21 = new System.Windows.Forms.Label(); + this.checkBox22 = new System.Windows.Forms.CheckBox(); + this.comboBox22 = new System.Windows.Forms.ComboBox(); + this.label22 = new System.Windows.Forms.Label(); + this.checkBox23 = new System.Windows.Forms.CheckBox(); + this.comboBox23 = new System.Windows.Forms.ComboBox(); + this.label23 = new System.Windows.Forms.Label(); + this.checkBox24 = new System.Windows.Forms.CheckBox(); + this.comboBox24 = new System.Windows.Forms.ComboBox(); + this.label24 = new System.Windows.Forms.Label(); + this.checkBox48 = new System.Windows.Forms.CheckBox(); + this.comboBox48 = new System.Windows.Forms.ComboBox(); + this.label48 = new System.Windows.Forms.Label(); + this.checkBox47 = new System.Windows.Forms.CheckBox(); + this.comboBox47 = new System.Windows.Forms.ComboBox(); + this.label47 = new System.Windows.Forms.Label(); + this.checkBox46 = new System.Windows.Forms.CheckBox(); + this.comboBox46 = new System.Windows.Forms.ComboBox(); + this.label46 = new System.Windows.Forms.Label(); + this.checkBox45 = new System.Windows.Forms.CheckBox(); + this.comboBox45 = new System.Windows.Forms.ComboBox(); + this.label45 = new System.Windows.Forms.Label(); + this.checkBox44 = new System.Windows.Forms.CheckBox(); + this.comboBox44 = new System.Windows.Forms.ComboBox(); + this.label44 = new System.Windows.Forms.Label(); + this.checkBox43 = new System.Windows.Forms.CheckBox(); + this.comboBox43 = new System.Windows.Forms.ComboBox(); + this.label43 = new System.Windows.Forms.Label(); + this.checkBox42 = new System.Windows.Forms.CheckBox(); + this.comboBox42 = new System.Windows.Forms.ComboBox(); + this.label42 = new System.Windows.Forms.Label(); + this.checkBox41 = new System.Windows.Forms.CheckBox(); + this.comboBox41 = new System.Windows.Forms.ComboBox(); + this.label41 = new System.Windows.Forms.Label(); + this.checkBox40 = new System.Windows.Forms.CheckBox(); + this.comboBox40 = new System.Windows.Forms.ComboBox(); + this.label40 = new System.Windows.Forms.Label(); + this.checkBox39 = new System.Windows.Forms.CheckBox(); + this.comboBox39 = new System.Windows.Forms.ComboBox(); + this.label39 = new System.Windows.Forms.Label(); + this.checkBox38 = new System.Windows.Forms.CheckBox(); + this.comboBox38 = new System.Windows.Forms.ComboBox(); + this.label38 = new System.Windows.Forms.Label(); + this.checkBox37 = new System.Windows.Forms.CheckBox(); + this.comboBox37 = new System.Windows.Forms.ComboBox(); + this.label37 = new System.Windows.Forms.Label(); + this.checkBox36 = new System.Windows.Forms.CheckBox(); + this.comboBox36 = new System.Windows.Forms.ComboBox(); + this.label36 = new System.Windows.Forms.Label(); + this.checkBox35 = new System.Windows.Forms.CheckBox(); + this.comboBox35 = new System.Windows.Forms.ComboBox(); + this.label35 = new System.Windows.Forms.Label(); + this.checkBox34 = new System.Windows.Forms.CheckBox(); + this.comboBox34 = new System.Windows.Forms.ComboBox(); + this.label34 = new System.Windows.Forms.Label(); + this.checkBox33 = new System.Windows.Forms.CheckBox(); + this.comboBox33 = new System.Windows.Forms.ComboBox(); + this.label33 = new System.Windows.Forms.Label(); + this.checkBox32 = new System.Windows.Forms.CheckBox(); + this.comboBox32 = new System.Windows.Forms.ComboBox(); + this.label32 = new System.Windows.Forms.Label(); + this.checkBox31 = new System.Windows.Forms.CheckBox(); + this.comboBox31 = new System.Windows.Forms.ComboBox(); + this.label31 = new System.Windows.Forms.Label(); + this.checkBox30 = new System.Windows.Forms.CheckBox(); + this.comboBox30 = new System.Windows.Forms.ComboBox(); + this.label30 = new System.Windows.Forms.Label(); + this.checkBox29 = new System.Windows.Forms.CheckBox(); + this.comboBox29 = new System.Windows.Forms.ComboBox(); + this.label29 = new System.Windows.Forms.Label(); + this.checkBox28 = new System.Windows.Forms.CheckBox(); + this.comboBox28 = new System.Windows.Forms.ComboBox(); + this.label28 = new System.Windows.Forms.Label(); + this.checkBox27 = new System.Windows.Forms.CheckBox(); + this.comboBox27 = new System.Windows.Forms.ComboBox(); + this.label27 = new System.Windows.Forms.Label(); + this.checkBox26 = new System.Windows.Forms.CheckBox(); + this.comboBox26 = new System.Windows.Forms.ComboBox(); + this.label26 = new System.Windows.Forms.Label(); + this.checkBox25 = new System.Windows.Forms.CheckBox(); + this.comboBox25 = new System.Windows.Forms.ComboBox(); + this.label25 = new System.Windows.Forms.Label(); + this.comboBoxN1 = new System.Windows.Forms.ComboBox(); + this.comboBoxN2 = new System.Windows.Forms.ComboBox(); + this.comboBoxN3 = new System.Windows.Forms.ComboBox(); + this.comboBoxN4 = new System.Windows.Forms.ComboBox(); + this.comboBoxN5 = new System.Windows.Forms.ComboBox(); + this.comboBoxN6 = new System.Windows.Forms.ComboBox(); + this.comboBoxN7 = new System.Windows.Forms.ComboBox(); + this.comboBoxN8 = new System.Windows.Forms.ComboBox(); + this.comboBoxN9 = new System.Windows.Forms.ComboBox(); + this.comboBoxN10 = new System.Windows.Forms.ComboBox(); + this.comboBoxN11 = new System.Windows.Forms.ComboBox(); + this.comboBoxN12 = new System.Windows.Forms.ComboBox(); + this.comboBoxN13 = new System.Windows.Forms.ComboBox(); + this.comboBoxN14 = new System.Windows.Forms.ComboBox(); + this.comboBoxN15 = new System.Windows.Forms.ComboBox(); + this.comboBoxN16 = new System.Windows.Forms.ComboBox(); + this.comboBoxN17 = new System.Windows.Forms.ComboBox(); + this.comboBoxN18 = new System.Windows.Forms.ComboBox(); + this.comboBoxN19 = new System.Windows.Forms.ComboBox(); + this.comboBoxN20 = new System.Windows.Forms.ComboBox(); + this.comboBoxN21 = new System.Windows.Forms.ComboBox(); + this.comboBoxN22 = new System.Windows.Forms.ComboBox(); + this.comboBoxN23 = new System.Windows.Forms.ComboBox(); + this.comboBoxN24 = new System.Windows.Forms.ComboBox(); + this.comboBoxN48 = new System.Windows.Forms.ComboBox(); + this.comboBoxN47 = new System.Windows.Forms.ComboBox(); + this.comboBoxN46 = new System.Windows.Forms.ComboBox(); + this.comboBoxN45 = new System.Windows.Forms.ComboBox(); + this.comboBoxN44 = new System.Windows.Forms.ComboBox(); + this.comboBoxN43 = new System.Windows.Forms.ComboBox(); + this.comboBoxN42 = new System.Windows.Forms.ComboBox(); + this.comboBoxN41 = new System.Windows.Forms.ComboBox(); + this.comboBoxN40 = new System.Windows.Forms.ComboBox(); + this.comboBoxN39 = new System.Windows.Forms.ComboBox(); + this.comboBoxN38 = new System.Windows.Forms.ComboBox(); + this.comboBoxN37 = new System.Windows.Forms.ComboBox(); + this.comboBoxN36 = new System.Windows.Forms.ComboBox(); + this.comboBoxN35 = new System.Windows.Forms.ComboBox(); + this.comboBoxN34 = new System.Windows.Forms.ComboBox(); + this.comboBoxN33 = new System.Windows.Forms.ComboBox(); + this.comboBoxN32 = new System.Windows.Forms.ComboBox(); + this.comboBoxN31 = new System.Windows.Forms.ComboBox(); + this.comboBoxN30 = new System.Windows.Forms.ComboBox(); + this.comboBoxN29 = new System.Windows.Forms.ComboBox(); + this.comboBoxN28 = new System.Windows.Forms.ComboBox(); + this.comboBoxN27 = new System.Windows.Forms.ComboBox(); + this.comboBoxN26 = new System.Windows.Forms.ComboBox(); + this.comboBoxN25 = new System.Windows.Forms.ComboBox(); + this.orderGroupBox.SuspendLayout(); + this.SuspendLayout(); + // + // okButton + // + resources.ApplyResources(this.okButton, "okButton"); + this.okButton.ForeColor = System.Drawing.Color.Black; + this.okButton.Name = "okButton"; + this.okButton.UseVisualStyleBackColor = true; + this.okButton.Click += new System.EventHandler(this.okButton_Click); + // + // orderGroupBox + // + this.orderGroupBox.Controls.Add(this.buttonChooseBox); + this.orderGroupBox.Controls.Add(this.purchaseBoxComboBox); + this.orderGroupBox.Controls.Add(this.orderComboBox); + resources.ApplyResources(this.orderGroupBox, "orderGroupBox"); + this.orderGroupBox.ForeColor = System.Drawing.Color.Black; + this.orderGroupBox.Name = "orderGroupBox"; + this.orderGroupBox.TabStop = false; + // + // buttonChooseBox + // + resources.ApplyResources(this.buttonChooseBox, "buttonChooseBox"); + this.buttonChooseBox.Name = "buttonChooseBox"; + this.buttonChooseBox.UseVisualStyleBackColor = true; + this.buttonChooseBox.Click += new System.EventHandler(this.buttonChooseBox_Click); + // + // purchaseBoxComboBox + // + this.purchaseBoxComboBox.FormattingEnabled = true; + resources.ApplyResources(this.purchaseBoxComboBox, "purchaseBoxComboBox"); + this.purchaseBoxComboBox.Name = "purchaseBoxComboBox"; + this.purchaseBoxComboBox.SelectedIndexChanged += new System.EventHandler(this.purchaseBoxComboBox_SelectedIndexChanged); + // + // orderComboBox + // + this.orderComboBox.FormattingEnabled = true; + resources.ApplyResources(this.orderComboBox, "orderComboBox"); + this.orderComboBox.Name = "orderComboBox"; + this.orderComboBox.SelectedIndexChanged += new System.EventHandler(this.orderComboBox_SelectedIndexChanged); + // + // clearButton + // + resources.ApplyResources(this.clearButton, "clearButton"); + this.clearButton.ForeColor = System.Drawing.Color.Black; + this.clearButton.Name = "clearButton"; + this.clearButton.UseVisualStyleBackColor = true; + this.clearButton.Click += new System.EventHandler(this.clearButton_Click); + // + // label1 + // + resources.ApplyResources(this.label1, "label1"); + this.label1.Name = "label1"; + // + // comboBox1 + // + resources.ApplyResources(this.comboBox1, "comboBox1"); + this.comboBox1.FormattingEnabled = true; + this.comboBox1.Name = "comboBox1"; + this.comboBox1.SelectedIndexChanged += new System.EventHandler(this.comboBox1_SelectedIndexChanged); + this.comboBox1.TextChanged += new System.EventHandler(this.comboBox1_TextChanged); + this.comboBox1.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.comboBox1_KeyPress); + // + // checkBox1 + // + resources.ApplyResources(this.checkBox1, "checkBox1"); + this.checkBox1.Name = "checkBox1"; + this.checkBox1.UseVisualStyleBackColor = true; + // + // checkBox2 + // + resources.ApplyResources(this.checkBox2, "checkBox2"); + this.checkBox2.Name = "checkBox2"; + this.checkBox2.UseVisualStyleBackColor = true; + // + // comboBox2 + // + resources.ApplyResources(this.comboBox2, "comboBox2"); + this.comboBox2.FormattingEnabled = true; + this.comboBox2.Name = "comboBox2"; + this.comboBox2.SelectedIndexChanged += new System.EventHandler(this.comboBox2_SelectedIndexChanged); + this.comboBox2.TextChanged += new System.EventHandler(this.comboBox2_TextChanged); + this.comboBox2.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.comboBox2_KeyPress); + // + // label2 + // + resources.ApplyResources(this.label2, "label2"); + this.label2.Name = "label2"; + // + // checkBox3 + // + resources.ApplyResources(this.checkBox3, "checkBox3"); + this.checkBox3.Name = "checkBox3"; + this.checkBox3.UseVisualStyleBackColor = true; + // + // comboBox3 + // + resources.ApplyResources(this.comboBox3, "comboBox3"); + this.comboBox3.FormattingEnabled = true; + this.comboBox3.Name = "comboBox3"; + this.comboBox3.SelectedIndexChanged += new System.EventHandler(this.comboBox3_SelectedIndexChanged); + this.comboBox3.TextChanged += new System.EventHandler(this.comboBox3_TextChanged); + this.comboBox3.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.comboBox3_KeyPress); + // + // label3 + // + resources.ApplyResources(this.label3, "label3"); + this.label3.Name = "label3"; + // + // checkBox4 + // + resources.ApplyResources(this.checkBox4, "checkBox4"); + this.checkBox4.Name = "checkBox4"; + this.checkBox4.UseVisualStyleBackColor = true; + // + // comboBox4 + // + resources.ApplyResources(this.comboBox4, "comboBox4"); + this.comboBox4.FormattingEnabled = true; + this.comboBox4.Name = "comboBox4"; + this.comboBox4.SelectedIndexChanged += new System.EventHandler(this.comboBox4_SelectedIndexChanged); + this.comboBox4.TextChanged += new System.EventHandler(this.comboBox4_TextChanged); + this.comboBox4.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.comboBox4_KeyPress); + // + // label4 + // + resources.ApplyResources(this.label4, "label4"); + this.label4.Name = "label4"; + // + // checkBox5 + // + resources.ApplyResources(this.checkBox5, "checkBox5"); + this.checkBox5.Name = "checkBox5"; + this.checkBox5.UseVisualStyleBackColor = true; + // + // comboBox5 + // + resources.ApplyResources(this.comboBox5, "comboBox5"); + this.comboBox5.FormattingEnabled = true; + this.comboBox5.Name = "comboBox5"; + this.comboBox5.SelectedIndexChanged += new System.EventHandler(this.comboBox5_SelectedIndexChanged); + this.comboBox5.TextChanged += new System.EventHandler(this.comboBox5_TextChanged); + this.comboBox5.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.comboBox5_KeyPress); + // + // label5 + // + resources.ApplyResources(this.label5, "label5"); + this.label5.Name = "label5"; + // + // checkBox6 + // + resources.ApplyResources(this.checkBox6, "checkBox6"); + this.checkBox6.Name = "checkBox6"; + this.checkBox6.UseVisualStyleBackColor = true; + // + // comboBox6 + // + resources.ApplyResources(this.comboBox6, "comboBox6"); + this.comboBox6.FormattingEnabled = true; + this.comboBox6.Name = "comboBox6"; + this.comboBox6.SelectedIndexChanged += new System.EventHandler(this.comboBox6_SelectedIndexChanged); + this.comboBox6.TextChanged += new System.EventHandler(this.comboBox6_TextChanged); + this.comboBox6.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.comboBox6_KeyPress); + // + // label6 + // + resources.ApplyResources(this.label6, "label6"); + this.label6.Name = "label6"; + // + // checkBox7 + // + resources.ApplyResources(this.checkBox7, "checkBox7"); + this.checkBox7.Name = "checkBox7"; + this.checkBox7.UseVisualStyleBackColor = true; + // + // comboBox7 + // + resources.ApplyResources(this.comboBox7, "comboBox7"); + this.comboBox7.FormattingEnabled = true; + this.comboBox7.Name = "comboBox7"; + this.comboBox7.SelectedIndexChanged += new System.EventHandler(this.comboBox7_SelectedIndexChanged); + this.comboBox7.TextChanged += new System.EventHandler(this.comboBox7_TextChanged); + this.comboBox7.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.comboBox7_KeyPress); + // + // label7 + // + resources.ApplyResources(this.label7, "label7"); + this.label7.Name = "label7"; + // + // checkBox8 + // + resources.ApplyResources(this.checkBox8, "checkBox8"); + this.checkBox8.Name = "checkBox8"; + this.checkBox8.UseVisualStyleBackColor = true; + // + // comboBox8 + // + resources.ApplyResources(this.comboBox8, "comboBox8"); + this.comboBox8.FormattingEnabled = true; + this.comboBox8.Name = "comboBox8"; + this.comboBox8.SelectedIndexChanged += new System.EventHandler(this.comboBox8_SelectedIndexChanged); + this.comboBox8.TextChanged += new System.EventHandler(this.comboBox8_TextChanged); + this.comboBox8.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.comboBox8_KeyPress); + // + // label8 + // + resources.ApplyResources(this.label8, "label8"); + this.label8.Name = "label8"; + // + // checkBox9 + // + resources.ApplyResources(this.checkBox9, "checkBox9"); + this.checkBox9.Name = "checkBox9"; + this.checkBox9.UseVisualStyleBackColor = true; + // + // comboBox9 + // + resources.ApplyResources(this.comboBox9, "comboBox9"); + this.comboBox9.FormattingEnabled = true; + this.comboBox9.Name = "comboBox9"; + this.comboBox9.SelectedIndexChanged += new System.EventHandler(this.comboBox9_SelectedIndexChanged); + this.comboBox9.TextChanged += new System.EventHandler(this.comboBox9_TextChanged); + this.comboBox9.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.comboBox9_KeyPress); + // + // label9 + // + resources.ApplyResources(this.label9, "label9"); + this.label9.Name = "label9"; + // + // checkBox10 + // + resources.ApplyResources(this.checkBox10, "checkBox10"); + this.checkBox10.Name = "checkBox10"; + this.checkBox10.UseVisualStyleBackColor = true; + // + // comboBox10 + // + resources.ApplyResources(this.comboBox10, "comboBox10"); + this.comboBox10.FormattingEnabled = true; + this.comboBox10.Name = "comboBox10"; + this.comboBox10.SelectedIndexChanged += new System.EventHandler(this.comboBox10_SelectedIndexChanged); + this.comboBox10.TextChanged += new System.EventHandler(this.comboBox10_TextChanged); + this.comboBox10.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.comboBox10_KeyPress); + // + // label10 + // + resources.ApplyResources(this.label10, "label10"); + this.label10.Name = "label10"; + // + // checkBox11 + // + resources.ApplyResources(this.checkBox11, "checkBox11"); + this.checkBox11.Name = "checkBox11"; + this.checkBox11.UseVisualStyleBackColor = true; + // + // comboBox11 + // + resources.ApplyResources(this.comboBox11, "comboBox11"); + this.comboBox11.FormattingEnabled = true; + this.comboBox11.Name = "comboBox11"; + this.comboBox11.SelectedIndexChanged += new System.EventHandler(this.comboBox11_SelectedIndexChanged); + this.comboBox11.TextChanged += new System.EventHandler(this.comboBox11_TextChanged); + this.comboBox11.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.comboBox11_KeyPress); + // + // label11 + // + resources.ApplyResources(this.label11, "label11"); + this.label11.Name = "label11"; + // + // checkBox12 + // + resources.ApplyResources(this.checkBox12, "checkBox12"); + this.checkBox12.Name = "checkBox12"; + this.checkBox12.UseVisualStyleBackColor = true; + // + // comboBox12 + // + resources.ApplyResources(this.comboBox12, "comboBox12"); + this.comboBox12.FormattingEnabled = true; + this.comboBox12.Name = "comboBox12"; + this.comboBox12.SelectedIndexChanged += new System.EventHandler(this.comboBox12_SelectedIndexChanged); + this.comboBox12.TextChanged += new System.EventHandler(this.comboBox12_TextChanged); + this.comboBox12.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.comboBox12_KeyPress); + // + // label12 + // + resources.ApplyResources(this.label12, "label12"); + this.label12.Name = "label12"; + // + // checkBox13 + // + resources.ApplyResources(this.checkBox13, "checkBox13"); + this.checkBox13.Name = "checkBox13"; + this.checkBox13.UseVisualStyleBackColor = true; + // + // comboBox13 + // + resources.ApplyResources(this.comboBox13, "comboBox13"); + this.comboBox13.FormattingEnabled = true; + this.comboBox13.Name = "comboBox13"; + this.comboBox13.SelectedIndexChanged += new System.EventHandler(this.comboBox13_SelectedIndexChanged); + this.comboBox13.TextChanged += new System.EventHandler(this.comboBox13_TextChanged); + this.comboBox13.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.comboBox13_KeyPress); + // + // label13 + // + resources.ApplyResources(this.label13, "label13"); + this.label13.Name = "label13"; + // + // checkBox14 + // + resources.ApplyResources(this.checkBox14, "checkBox14"); + this.checkBox14.Name = "checkBox14"; + this.checkBox14.UseVisualStyleBackColor = true; + // + // comboBox14 + // + resources.ApplyResources(this.comboBox14, "comboBox14"); + this.comboBox14.FormattingEnabled = true; + this.comboBox14.Name = "comboBox14"; + this.comboBox14.SelectedIndexChanged += new System.EventHandler(this.comboBox14_SelectedIndexChanged); + this.comboBox14.TextChanged += new System.EventHandler(this.comboBox14_TextChanged); + this.comboBox14.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.comboBox14_KeyPress); + // + // label14 + // + resources.ApplyResources(this.label14, "label14"); + this.label14.Name = "label14"; + // + // checkBox15 + // + resources.ApplyResources(this.checkBox15, "checkBox15"); + this.checkBox15.Name = "checkBox15"; + this.checkBox15.UseVisualStyleBackColor = true; + // + // comboBox15 + // + resources.ApplyResources(this.comboBox15, "comboBox15"); + this.comboBox15.FormattingEnabled = true; + this.comboBox15.Name = "comboBox15"; + this.comboBox15.SelectedIndexChanged += new System.EventHandler(this.comboBox15_SelectedIndexChanged); + this.comboBox15.TextChanged += new System.EventHandler(this.comboBox15_TextChanged); + this.comboBox15.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.comboBox15_KeyPress); + // + // label15 + // + resources.ApplyResources(this.label15, "label15"); + this.label15.Name = "label15"; + // + // checkBox16 + // + resources.ApplyResources(this.checkBox16, "checkBox16"); + this.checkBox16.Name = "checkBox16"; + this.checkBox16.UseVisualStyleBackColor = true; + // + // comboBox16 + // + resources.ApplyResources(this.comboBox16, "comboBox16"); + this.comboBox16.FormattingEnabled = true; + this.comboBox16.Name = "comboBox16"; + this.comboBox16.SelectedIndexChanged += new System.EventHandler(this.comboBox16_SelectedIndexChanged); + this.comboBox16.TextChanged += new System.EventHandler(this.comboBox16_TextChanged); + this.comboBox16.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.comboBox16_KeyPress); + // + // label16 + // + resources.ApplyResources(this.label16, "label16"); + this.label16.Name = "label16"; + // + // checkBox17 + // + resources.ApplyResources(this.checkBox17, "checkBox17"); + this.checkBox17.Name = "checkBox17"; + this.checkBox17.UseVisualStyleBackColor = true; + // + // comboBox17 + // + resources.ApplyResources(this.comboBox17, "comboBox17"); + this.comboBox17.FormattingEnabled = true; + this.comboBox17.Name = "comboBox17"; + this.comboBox17.SelectedIndexChanged += new System.EventHandler(this.comboBox17_SelectedIndexChanged); + this.comboBox17.TextChanged += new System.EventHandler(this.comboBox17_TextChanged); + this.comboBox17.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.comboBox17_KeyPress); + // + // label17 + // + resources.ApplyResources(this.label17, "label17"); + this.label17.Name = "label17"; + // + // checkBox18 + // + resources.ApplyResources(this.checkBox18, "checkBox18"); + this.checkBox18.Name = "checkBox18"; + this.checkBox18.UseVisualStyleBackColor = true; + // + // comboBox18 + // + resources.ApplyResources(this.comboBox18, "comboBox18"); + this.comboBox18.FormattingEnabled = true; + this.comboBox18.Name = "comboBox18"; + this.comboBox18.SelectedIndexChanged += new System.EventHandler(this.comboBox18_SelectedIndexChanged); + this.comboBox18.TextChanged += new System.EventHandler(this.comboBox18_TextChanged); + this.comboBox18.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.comboBox18_KeyPress); + // + // label18 + // + resources.ApplyResources(this.label18, "label18"); + this.label18.Name = "label18"; + // + // checkBox19 + // + resources.ApplyResources(this.checkBox19, "checkBox19"); + this.checkBox19.Name = "checkBox19"; + this.checkBox19.UseVisualStyleBackColor = true; + // + // comboBox19 + // + resources.ApplyResources(this.comboBox19, "comboBox19"); + this.comboBox19.FormattingEnabled = true; + this.comboBox19.Name = "comboBox19"; + this.comboBox19.SelectedIndexChanged += new System.EventHandler(this.comboBox19_SelectedIndexChanged); + this.comboBox19.TextChanged += new System.EventHandler(this.comboBox19_TextChanged); + this.comboBox19.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.comboBox19_KeyPress); + // + // label19 + // + resources.ApplyResources(this.label19, "label19"); + this.label19.Name = "label19"; + // + // checkBox20 + // + resources.ApplyResources(this.checkBox20, "checkBox20"); + this.checkBox20.Name = "checkBox20"; + this.checkBox20.UseVisualStyleBackColor = true; + // + // comboBox20 + // + resources.ApplyResources(this.comboBox20, "comboBox20"); + this.comboBox20.FormattingEnabled = true; + this.comboBox20.Name = "comboBox20"; + this.comboBox20.SelectedIndexChanged += new System.EventHandler(this.comboBox20_SelectedIndexChanged); + this.comboBox20.TextChanged += new System.EventHandler(this.comboBox20_TextChanged); + this.comboBox20.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.comboBox20_KeyPress); + // + // label20 + // + resources.ApplyResources(this.label20, "label20"); + this.label20.Name = "label20"; + // + // checkBox21 + // + resources.ApplyResources(this.checkBox21, "checkBox21"); + this.checkBox21.Name = "checkBox21"; + this.checkBox21.UseVisualStyleBackColor = true; + // + // comboBox21 + // + resources.ApplyResources(this.comboBox21, "comboBox21"); + this.comboBox21.FormattingEnabled = true; + this.comboBox21.Name = "comboBox21"; + this.comboBox21.SelectedIndexChanged += new System.EventHandler(this.comboBox21_SelectedIndexChanged); + this.comboBox21.TextChanged += new System.EventHandler(this.comboBox21_TextChanged); + this.comboBox21.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.comboBox21_KeyPress); + // + // label21 + // + resources.ApplyResources(this.label21, "label21"); + this.label21.Name = "label21"; + // + // checkBox22 + // + resources.ApplyResources(this.checkBox22, "checkBox22"); + this.checkBox22.Name = "checkBox22"; + this.checkBox22.UseVisualStyleBackColor = true; + // + // comboBox22 + // + resources.ApplyResources(this.comboBox22, "comboBox22"); + this.comboBox22.FormattingEnabled = true; + this.comboBox22.Name = "comboBox22"; + this.comboBox22.SelectedIndexChanged += new System.EventHandler(this.comboBox22_SelectedIndexChanged); + this.comboBox22.TextChanged += new System.EventHandler(this.comboBox22_TextChanged); + this.comboBox22.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.comboBox22_KeyPress); + // + // label22 + // + resources.ApplyResources(this.label22, "label22"); + this.label22.Name = "label22"; + // + // checkBox23 + // + resources.ApplyResources(this.checkBox23, "checkBox23"); + this.checkBox23.Name = "checkBox23"; + this.checkBox23.UseVisualStyleBackColor = true; + // + // comboBox23 + // + resources.ApplyResources(this.comboBox23, "comboBox23"); + this.comboBox23.FormattingEnabled = true; + this.comboBox23.Name = "comboBox23"; + this.comboBox23.SelectedIndexChanged += new System.EventHandler(this.comboBox23_SelectedIndexChanged); + this.comboBox23.TextChanged += new System.EventHandler(this.comboBox23_TextChanged); + this.comboBox23.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.comboBox23_KeyPress); + // + // label23 + // + resources.ApplyResources(this.label23, "label23"); + this.label23.Name = "label23"; + // + // checkBox24 + // + resources.ApplyResources(this.checkBox24, "checkBox24"); + this.checkBox24.Name = "checkBox24"; + this.checkBox24.UseVisualStyleBackColor = true; + // + // comboBox24 + // + resources.ApplyResources(this.comboBox24, "comboBox24"); + this.comboBox24.FormattingEnabled = true; + this.comboBox24.Name = "comboBox24"; + this.comboBox24.SelectedIndexChanged += new System.EventHandler(this.comboBox24_SelectedIndexChanged); + this.comboBox24.TextChanged += new System.EventHandler(this.comboBox24_TextChanged); + this.comboBox24.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.comboBox24_KeyPress); + // + // label24 + // + resources.ApplyResources(this.label24, "label24"); + this.label24.Name = "label24"; + // + // checkBox48 + // + resources.ApplyResources(this.checkBox48, "checkBox48"); + this.checkBox48.Name = "checkBox48"; + this.checkBox48.UseVisualStyleBackColor = true; + // + // comboBox48 + // + resources.ApplyResources(this.comboBox48, "comboBox48"); + this.comboBox48.FormattingEnabled = true; + this.comboBox48.Name = "comboBox48"; + this.comboBox48.SelectedIndexChanged += new System.EventHandler(this.comboBox48_SelectedIndexChanged); + this.comboBox48.TextChanged += new System.EventHandler(this.comboBox48_TextChanged); + this.comboBox48.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.comboBox48_KeyPress); + // + // label48 + // + resources.ApplyResources(this.label48, "label48"); + this.label48.Name = "label48"; + // + // checkBox47 + // + resources.ApplyResources(this.checkBox47, "checkBox47"); + this.checkBox47.Name = "checkBox47"; + this.checkBox47.UseVisualStyleBackColor = true; + // + // comboBox47 + // + resources.ApplyResources(this.comboBox47, "comboBox47"); + this.comboBox47.FormattingEnabled = true; + this.comboBox47.Name = "comboBox47"; + this.comboBox47.SelectedIndexChanged += new System.EventHandler(this.comboBox47_SelectedIndexChanged); + this.comboBox47.TextChanged += new System.EventHandler(this.comboBox47_TextChanged); + this.comboBox47.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.comboBox47_KeyPress); + // + // label47 + // + resources.ApplyResources(this.label47, "label47"); + this.label47.Name = "label47"; + // + // checkBox46 + // + resources.ApplyResources(this.checkBox46, "checkBox46"); + this.checkBox46.Name = "checkBox46"; + this.checkBox46.UseVisualStyleBackColor = true; + // + // comboBox46 + // + resources.ApplyResources(this.comboBox46, "comboBox46"); + this.comboBox46.FormattingEnabled = true; + this.comboBox46.Name = "comboBox46"; + this.comboBox46.SelectedIndexChanged += new System.EventHandler(this.comboBox46_SelectedIndexChanged); + this.comboBox46.TextChanged += new System.EventHandler(this.comboBox46_TextChanged); + this.comboBox46.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.comboBox46_KeyPress); + // + // label46 + // + resources.ApplyResources(this.label46, "label46"); + this.label46.Name = "label46"; + // + // checkBox45 + // + resources.ApplyResources(this.checkBox45, "checkBox45"); + this.checkBox45.Name = "checkBox45"; + this.checkBox45.UseVisualStyleBackColor = true; + // + // comboBox45 + // + resources.ApplyResources(this.comboBox45, "comboBox45"); + this.comboBox45.FormattingEnabled = true; + this.comboBox45.Name = "comboBox45"; + this.comboBox45.SelectedIndexChanged += new System.EventHandler(this.comboBox45_SelectedIndexChanged); + this.comboBox45.TextChanged += new System.EventHandler(this.comboBox45_TextChanged); + this.comboBox45.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.comboBox45_KeyPress); + // + // label45 + // + resources.ApplyResources(this.label45, "label45"); + this.label45.Name = "label45"; + // + // checkBox44 + // + resources.ApplyResources(this.checkBox44, "checkBox44"); + this.checkBox44.Name = "checkBox44"; + this.checkBox44.UseVisualStyleBackColor = true; + // + // comboBox44 + // + resources.ApplyResources(this.comboBox44, "comboBox44"); + this.comboBox44.FormattingEnabled = true; + this.comboBox44.Name = "comboBox44"; + this.comboBox44.SelectedIndexChanged += new System.EventHandler(this.comboBox44_SelectedIndexChanged); + this.comboBox44.TextChanged += new System.EventHandler(this.comboBox44_TextChanged); + this.comboBox44.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.comboBox44_KeyPress); + // + // label44 + // + resources.ApplyResources(this.label44, "label44"); + this.label44.Name = "label44"; + // + // checkBox43 + // + resources.ApplyResources(this.checkBox43, "checkBox43"); + this.checkBox43.Name = "checkBox43"; + this.checkBox43.UseVisualStyleBackColor = true; + // + // comboBox43 + // + resources.ApplyResources(this.comboBox43, "comboBox43"); + this.comboBox43.FormattingEnabled = true; + this.comboBox43.Name = "comboBox43"; + this.comboBox43.SelectedIndexChanged += new System.EventHandler(this.comboBox43_SelectedIndexChanged); + this.comboBox43.TextChanged += new System.EventHandler(this.comboBox43_TextChanged); + this.comboBox43.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.comboBox43_KeyPress); + // + // label43 + // + resources.ApplyResources(this.label43, "label43"); + this.label43.Name = "label43"; + // + // checkBox42 + // + resources.ApplyResources(this.checkBox42, "checkBox42"); + this.checkBox42.Name = "checkBox42"; + this.checkBox42.UseVisualStyleBackColor = true; + // + // comboBox42 + // + resources.ApplyResources(this.comboBox42, "comboBox42"); + this.comboBox42.FormattingEnabled = true; + this.comboBox42.Name = "comboBox42"; + this.comboBox42.SelectedIndexChanged += new System.EventHandler(this.comboBox42_SelectedIndexChanged); + this.comboBox42.TextChanged += new System.EventHandler(this.comboBox42_TextChanged); + this.comboBox42.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.comboBox42_KeyPress); + // + // label42 + // + resources.ApplyResources(this.label42, "label42"); + this.label42.Name = "label42"; + // + // checkBox41 + // + resources.ApplyResources(this.checkBox41, "checkBox41"); + this.checkBox41.Name = "checkBox41"; + this.checkBox41.UseVisualStyleBackColor = true; + // + // comboBox41 + // + resources.ApplyResources(this.comboBox41, "comboBox41"); + this.comboBox41.FormattingEnabled = true; + this.comboBox41.Name = "comboBox41"; + this.comboBox41.SelectedIndexChanged += new System.EventHandler(this.comboBox41_SelectedIndexChanged); + this.comboBox41.TextChanged += new System.EventHandler(this.comboBox41_TextChanged); + this.comboBox41.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.comboBox41_KeyPress); + // + // label41 + // + resources.ApplyResources(this.label41, "label41"); + this.label41.Name = "label41"; + // + // checkBox40 + // + resources.ApplyResources(this.checkBox40, "checkBox40"); + this.checkBox40.Name = "checkBox40"; + this.checkBox40.UseVisualStyleBackColor = true; + // + // comboBox40 + // + resources.ApplyResources(this.comboBox40, "comboBox40"); + this.comboBox40.FormattingEnabled = true; + this.comboBox40.Name = "comboBox40"; + this.comboBox40.SelectedIndexChanged += new System.EventHandler(this.comboBox40_SelectedIndexChanged); + this.comboBox40.TextChanged += new System.EventHandler(this.comboBox40_TextChanged); + this.comboBox40.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.comboBox40_KeyPress); + // + // label40 + // + resources.ApplyResources(this.label40, "label40"); + this.label40.Name = "label40"; + // + // checkBox39 + // + resources.ApplyResources(this.checkBox39, "checkBox39"); + this.checkBox39.Name = "checkBox39"; + this.checkBox39.UseVisualStyleBackColor = true; + // + // comboBox39 + // + resources.ApplyResources(this.comboBox39, "comboBox39"); + this.comboBox39.FormattingEnabled = true; + this.comboBox39.Name = "comboBox39"; + this.comboBox39.SelectedIndexChanged += new System.EventHandler(this.comboBox39_SelectedIndexChanged); + this.comboBox39.TextChanged += new System.EventHandler(this.comboBox39_TextChanged); + this.comboBox39.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.comboBox39_KeyPress); + // + // label39 + // + resources.ApplyResources(this.label39, "label39"); + this.label39.Name = "label39"; + // + // checkBox38 + // + resources.ApplyResources(this.checkBox38, "checkBox38"); + this.checkBox38.Name = "checkBox38"; + this.checkBox38.UseVisualStyleBackColor = true; + // + // comboBox38 + // + resources.ApplyResources(this.comboBox38, "comboBox38"); + this.comboBox38.FormattingEnabled = true; + this.comboBox38.Name = "comboBox38"; + this.comboBox38.SelectedIndexChanged += new System.EventHandler(this.comboBox38_SelectedIndexChanged); + this.comboBox38.TextChanged += new System.EventHandler(this.comboBox38_TextChanged); + this.comboBox38.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.comboBox38_KeyPress); + // + // label38 + // + resources.ApplyResources(this.label38, "label38"); + this.label38.Name = "label38"; + // + // checkBox37 + // + resources.ApplyResources(this.checkBox37, "checkBox37"); + this.checkBox37.Name = "checkBox37"; + this.checkBox37.UseVisualStyleBackColor = true; + // + // comboBox37 + // + resources.ApplyResources(this.comboBox37, "comboBox37"); + this.comboBox37.FormattingEnabled = true; + this.comboBox37.Name = "comboBox37"; + this.comboBox37.SelectedIndexChanged += new System.EventHandler(this.comboBox37_SelectedIndexChanged); + this.comboBox37.TextChanged += new System.EventHandler(this.comboBox37_TextChanged); + this.comboBox37.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.comboBox37_KeyPress); + // + // label37 + // + resources.ApplyResources(this.label37, "label37"); + this.label37.Name = "label37"; + // + // checkBox36 + // + resources.ApplyResources(this.checkBox36, "checkBox36"); + this.checkBox36.Name = "checkBox36"; + this.checkBox36.UseVisualStyleBackColor = true; + // + // comboBox36 + // + resources.ApplyResources(this.comboBox36, "comboBox36"); + this.comboBox36.FormattingEnabled = true; + this.comboBox36.Name = "comboBox36"; + this.comboBox36.SelectedIndexChanged += new System.EventHandler(this.comboBox36_SelectedIndexChanged); + this.comboBox36.TextChanged += new System.EventHandler(this.comboBox36_TextChanged); + this.comboBox36.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.comboBox36_KeyPress); + // + // label36 + // + resources.ApplyResources(this.label36, "label36"); + this.label36.Name = "label36"; + // + // checkBox35 + // + resources.ApplyResources(this.checkBox35, "checkBox35"); + this.checkBox35.Name = "checkBox35"; + this.checkBox35.UseVisualStyleBackColor = true; + // + // comboBox35 + // + resources.ApplyResources(this.comboBox35, "comboBox35"); + this.comboBox35.FormattingEnabled = true; + this.comboBox35.Name = "comboBox35"; + this.comboBox35.SelectedIndexChanged += new System.EventHandler(this.comboBox35_SelectedIndexChanged); + this.comboBox35.TextChanged += new System.EventHandler(this.comboBox35_TextChanged); + this.comboBox35.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.comboBox35_KeyPress); + // + // label35 + // + resources.ApplyResources(this.label35, "label35"); + this.label35.Name = "label35"; + // + // checkBox34 + // + resources.ApplyResources(this.checkBox34, "checkBox34"); + this.checkBox34.Name = "checkBox34"; + this.checkBox34.UseVisualStyleBackColor = true; + // + // comboBox34 + // + resources.ApplyResources(this.comboBox34, "comboBox34"); + this.comboBox34.FormattingEnabled = true; + this.comboBox34.Name = "comboBox34"; + this.comboBox34.SelectedIndexChanged += new System.EventHandler(this.comboBox34_SelectedIndexChanged); + this.comboBox34.TextChanged += new System.EventHandler(this.comboBox34_TextChanged); + this.comboBox34.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.comboBox34_KeyPress); + // + // label34 + // + resources.ApplyResources(this.label34, "label34"); + this.label34.Name = "label34"; + // + // checkBox33 + // + resources.ApplyResources(this.checkBox33, "checkBox33"); + this.checkBox33.Name = "checkBox33"; + this.checkBox33.UseVisualStyleBackColor = true; + // + // comboBox33 + // + resources.ApplyResources(this.comboBox33, "comboBox33"); + this.comboBox33.FormattingEnabled = true; + this.comboBox33.Name = "comboBox33"; + this.comboBox33.TextChanged += new System.EventHandler(this.comboBox33_TextChanged); + this.comboBox33.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.comboBox33_KeyPress); + // + // label33 + // + resources.ApplyResources(this.label33, "label33"); + this.label33.Name = "label33"; + // + // checkBox32 + // + resources.ApplyResources(this.checkBox32, "checkBox32"); + this.checkBox32.Name = "checkBox32"; + this.checkBox32.UseVisualStyleBackColor = true; + // + // comboBox32 + // + resources.ApplyResources(this.comboBox32, "comboBox32"); + this.comboBox32.FormattingEnabled = true; + this.comboBox32.Name = "comboBox32"; + this.comboBox32.SelectedIndexChanged += new System.EventHandler(this.comboBox32_SelectedIndexChanged); + this.comboBox32.TextChanged += new System.EventHandler(this.comboBox32_TextChanged); + this.comboBox32.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.comboBox32_KeyPress); + // + // label32 + // + resources.ApplyResources(this.label32, "label32"); + this.label32.Name = "label32"; + // + // checkBox31 + // + resources.ApplyResources(this.checkBox31, "checkBox31"); + this.checkBox31.Name = "checkBox31"; + this.checkBox31.UseVisualStyleBackColor = true; + // + // comboBox31 + // + resources.ApplyResources(this.comboBox31, "comboBox31"); + this.comboBox31.FormattingEnabled = true; + this.comboBox31.Name = "comboBox31"; + this.comboBox31.SelectedIndexChanged += new System.EventHandler(this.comboBox31_SelectedIndexChanged); + this.comboBox31.TextChanged += new System.EventHandler(this.comboBox31_TextChanged); + this.comboBox31.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.comboBox31_KeyPress); + // + // label31 + // + resources.ApplyResources(this.label31, "label31"); + this.label31.Name = "label31"; + // + // checkBox30 + // + resources.ApplyResources(this.checkBox30, "checkBox30"); + this.checkBox30.Name = "checkBox30"; + this.checkBox30.UseVisualStyleBackColor = true; + // + // comboBox30 + // + resources.ApplyResources(this.comboBox30, "comboBox30"); + this.comboBox30.FormattingEnabled = true; + this.comboBox30.Name = "comboBox30"; + this.comboBox30.SelectedIndexChanged += new System.EventHandler(this.comboBox30_SelectedIndexChanged); + this.comboBox30.TextChanged += new System.EventHandler(this.comboBox30_TextChanged); + this.comboBox30.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.comboBox30_KeyPress); + // + // label30 + // + resources.ApplyResources(this.label30, "label30"); + this.label30.Name = "label30"; + // + // checkBox29 + // + resources.ApplyResources(this.checkBox29, "checkBox29"); + this.checkBox29.Name = "checkBox29"; + this.checkBox29.UseVisualStyleBackColor = true; + // + // comboBox29 + // + resources.ApplyResources(this.comboBox29, "comboBox29"); + this.comboBox29.FormattingEnabled = true; + this.comboBox29.Name = "comboBox29"; + this.comboBox29.SelectedIndexChanged += new System.EventHandler(this.comboBox29_SelectedIndexChanged); + this.comboBox29.TextChanged += new System.EventHandler(this.comboBox29_TextChanged); + this.comboBox29.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.comboBox29_KeyPress); + // + // label29 + // + resources.ApplyResources(this.label29, "label29"); + this.label29.Name = "label29"; + // + // checkBox28 + // + resources.ApplyResources(this.checkBox28, "checkBox28"); + this.checkBox28.Name = "checkBox28"; + this.checkBox28.UseVisualStyleBackColor = true; + // + // comboBox28 + // + resources.ApplyResources(this.comboBox28, "comboBox28"); + this.comboBox28.FormattingEnabled = true; + this.comboBox28.Name = "comboBox28"; + this.comboBox28.SelectedIndexChanged += new System.EventHandler(this.comboBox28_SelectedIndexChanged); + this.comboBox28.TextChanged += new System.EventHandler(this.comboBox28_TextChanged); + this.comboBox28.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.comboBox28_KeyPress); + // + // label28 + // + resources.ApplyResources(this.label28, "label28"); + this.label28.Name = "label28"; + // + // checkBox27 + // + resources.ApplyResources(this.checkBox27, "checkBox27"); + this.checkBox27.Name = "checkBox27"; + this.checkBox27.UseVisualStyleBackColor = true; + // + // comboBox27 + // + resources.ApplyResources(this.comboBox27, "comboBox27"); + this.comboBox27.FormattingEnabled = true; + this.comboBox27.Name = "comboBox27"; + this.comboBox27.SelectedIndexChanged += new System.EventHandler(this.comboBox27_SelectedIndexChanged); + this.comboBox27.TextChanged += new System.EventHandler(this.comboBox27_TextChanged); + this.comboBox27.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.comboBox27_KeyPress); + // + // label27 + // + resources.ApplyResources(this.label27, "label27"); + this.label27.Name = "label27"; + // + // checkBox26 + // + resources.ApplyResources(this.checkBox26, "checkBox26"); + this.checkBox26.Name = "checkBox26"; + this.checkBox26.UseVisualStyleBackColor = true; + // + // comboBox26 + // + resources.ApplyResources(this.comboBox26, "comboBox26"); + this.comboBox26.FormattingEnabled = true; + this.comboBox26.Name = "comboBox26"; + this.comboBox26.SelectedIndexChanged += new System.EventHandler(this.comboBox26_SelectedIndexChanged); + this.comboBox26.TextChanged += new System.EventHandler(this.comboBox26_TextChanged); + this.comboBox26.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.comboBox26_KeyPress); + // + // label26 + // + resources.ApplyResources(this.label26, "label26"); + this.label26.Name = "label26"; + // + // checkBox25 + // + resources.ApplyResources(this.checkBox25, "checkBox25"); + this.checkBox25.Name = "checkBox25"; + this.checkBox25.UseVisualStyleBackColor = true; + // + // comboBox25 + // + resources.ApplyResources(this.comboBox25, "comboBox25"); + this.comboBox25.FormattingEnabled = true; + this.comboBox25.Name = "comboBox25"; + this.comboBox25.SelectedIndexChanged += new System.EventHandler(this.comboBox25_SelectedIndexChanged); + this.comboBox25.TextChanged += new System.EventHandler(this.comboBox25_TextChanged); + this.comboBox25.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.comboBox25_KeyPress); + // + // label25 + // + resources.ApplyResources(this.label25, "label25"); + this.label25.Name = "label25"; + // + // comboBoxN1 + // + resources.ApplyResources(this.comboBoxN1, "comboBoxN1"); + this.comboBoxN1.FormattingEnabled = true; + this.comboBoxN1.Name = "comboBoxN1"; + this.comboBoxN1.SelectedIndexChanged += new System.EventHandler(this.comboBoxN1_SelectedIndexChanged); + this.comboBoxN1.SelectionChangeCommitted += new System.EventHandler(this.comboBoxN1_SelectionChangeCommitted); + this.comboBoxN1.TextUpdate += new System.EventHandler(this.comboBoxN1_TextUpdate); + this.comboBoxN1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.comboBoxN1_KeyDown); + this.comboBoxN1.Leave += new System.EventHandler(this.comboBoxN1_Leave); + // + // comboBoxN2 + // + resources.ApplyResources(this.comboBoxN2, "comboBoxN2"); + this.comboBoxN2.FormattingEnabled = true; + this.comboBoxN2.Name = "comboBoxN2"; + this.comboBoxN2.SelectedIndexChanged += new System.EventHandler(this.comboBoxN2_SelectedIndexChanged); + // + // comboBoxN3 + // + resources.ApplyResources(this.comboBoxN3, "comboBoxN3"); + this.comboBoxN3.FormattingEnabled = true; + this.comboBoxN3.Name = "comboBoxN3"; + this.comboBoxN3.SelectedIndexChanged += new System.EventHandler(this.comboBoxN3_SelectedIndexChanged); + // + // comboBoxN4 + // + resources.ApplyResources(this.comboBoxN4, "comboBoxN4"); + this.comboBoxN4.FormattingEnabled = true; + this.comboBoxN4.Name = "comboBoxN4"; + this.comboBoxN4.SelectedIndexChanged += new System.EventHandler(this.comboBoxN4_SelectedIndexChanged); + // + // comboBoxN5 + // + resources.ApplyResources(this.comboBoxN5, "comboBoxN5"); + this.comboBoxN5.FormattingEnabled = true; + this.comboBoxN5.Name = "comboBoxN5"; + this.comboBoxN5.SelectedIndexChanged += new System.EventHandler(this.comboBoxN5_SelectedIndexChanged); + // + // comboBoxN6 + // + resources.ApplyResources(this.comboBoxN6, "comboBoxN6"); + this.comboBoxN6.FormattingEnabled = true; + this.comboBoxN6.Name = "comboBoxN6"; + // + // comboBoxN7 + // + resources.ApplyResources(this.comboBoxN7, "comboBoxN7"); + this.comboBoxN7.FormattingEnabled = true; + this.comboBoxN7.Name = "comboBoxN7"; + // + // comboBoxN8 + // + resources.ApplyResources(this.comboBoxN8, "comboBoxN8"); + this.comboBoxN8.FormattingEnabled = true; + this.comboBoxN8.Name = "comboBoxN8"; + // + // comboBoxN9 + // + resources.ApplyResources(this.comboBoxN9, "comboBoxN9"); + this.comboBoxN9.FormattingEnabled = true; + this.comboBoxN9.Name = "comboBoxN9"; + // + // comboBoxN10 + // + resources.ApplyResources(this.comboBoxN10, "comboBoxN10"); + this.comboBoxN10.FormattingEnabled = true; + this.comboBoxN10.Name = "comboBoxN10"; + // + // comboBoxN11 + // + resources.ApplyResources(this.comboBoxN11, "comboBoxN11"); + this.comboBoxN11.FormattingEnabled = true; + this.comboBoxN11.Name = "comboBoxN11"; + // + // comboBoxN12 + // + resources.ApplyResources(this.comboBoxN12, "comboBoxN12"); + this.comboBoxN12.FormattingEnabled = true; + this.comboBoxN12.Name = "comboBoxN12"; + // + // comboBoxN13 + // + resources.ApplyResources(this.comboBoxN13, "comboBoxN13"); + this.comboBoxN13.FormattingEnabled = true; + this.comboBoxN13.Name = "comboBoxN13"; + // + // comboBoxN14 + // + resources.ApplyResources(this.comboBoxN14, "comboBoxN14"); + this.comboBoxN14.FormattingEnabled = true; + this.comboBoxN14.Name = "comboBoxN14"; + // + // comboBoxN15 + // + resources.ApplyResources(this.comboBoxN15, "comboBoxN15"); + this.comboBoxN15.FormattingEnabled = true; + this.comboBoxN15.Name = "comboBoxN15"; + // + // comboBoxN16 + // + resources.ApplyResources(this.comboBoxN16, "comboBoxN16"); + this.comboBoxN16.FormattingEnabled = true; + this.comboBoxN16.Name = "comboBoxN16"; + // + // comboBoxN17 + // + resources.ApplyResources(this.comboBoxN17, "comboBoxN17"); + this.comboBoxN17.FormattingEnabled = true; + this.comboBoxN17.Name = "comboBoxN17"; + // + // comboBoxN18 + // + resources.ApplyResources(this.comboBoxN18, "comboBoxN18"); + this.comboBoxN18.FormattingEnabled = true; + this.comboBoxN18.Name = "comboBoxN18"; + // + // comboBoxN19 + // + resources.ApplyResources(this.comboBoxN19, "comboBoxN19"); + this.comboBoxN19.FormattingEnabled = true; + this.comboBoxN19.Name = "comboBoxN19"; + // + // comboBoxN20 + // + resources.ApplyResources(this.comboBoxN20, "comboBoxN20"); + this.comboBoxN20.FormattingEnabled = true; + this.comboBoxN20.Name = "comboBoxN20"; + // + // comboBoxN21 + // + resources.ApplyResources(this.comboBoxN21, "comboBoxN21"); + this.comboBoxN21.FormattingEnabled = true; + this.comboBoxN21.Name = "comboBoxN21"; + // + // comboBoxN22 + // + resources.ApplyResources(this.comboBoxN22, "comboBoxN22"); + this.comboBoxN22.FormattingEnabled = true; + this.comboBoxN22.Name = "comboBoxN22"; + // + // comboBoxN23 + // + resources.ApplyResources(this.comboBoxN23, "comboBoxN23"); + this.comboBoxN23.FormattingEnabled = true; + this.comboBoxN23.Name = "comboBoxN23"; + // + // comboBoxN24 + // + resources.ApplyResources(this.comboBoxN24, "comboBoxN24"); + this.comboBoxN24.FormattingEnabled = true; + this.comboBoxN24.Name = "comboBoxN24"; + // + // comboBoxN48 + // + resources.ApplyResources(this.comboBoxN48, "comboBoxN48"); + this.comboBoxN48.FormattingEnabled = true; + this.comboBoxN48.Name = "comboBoxN48"; + // + // comboBoxN47 + // + resources.ApplyResources(this.comboBoxN47, "comboBoxN47"); + this.comboBoxN47.FormattingEnabled = true; + this.comboBoxN47.Name = "comboBoxN47"; + // + // comboBoxN46 + // + resources.ApplyResources(this.comboBoxN46, "comboBoxN46"); + this.comboBoxN46.FormattingEnabled = true; + this.comboBoxN46.Name = "comboBoxN46"; + // + // comboBoxN45 + // + resources.ApplyResources(this.comboBoxN45, "comboBoxN45"); + this.comboBoxN45.FormattingEnabled = true; + this.comboBoxN45.Name = "comboBoxN45"; + // + // comboBoxN44 + // + resources.ApplyResources(this.comboBoxN44, "comboBoxN44"); + this.comboBoxN44.FormattingEnabled = true; + this.comboBoxN44.Name = "comboBoxN44"; + // + // comboBoxN43 + // + resources.ApplyResources(this.comboBoxN43, "comboBoxN43"); + this.comboBoxN43.FormattingEnabled = true; + this.comboBoxN43.Name = "comboBoxN43"; + // + // comboBoxN42 + // + resources.ApplyResources(this.comboBoxN42, "comboBoxN42"); + this.comboBoxN42.FormattingEnabled = true; + this.comboBoxN42.Name = "comboBoxN42"; + // + // comboBoxN41 + // + resources.ApplyResources(this.comboBoxN41, "comboBoxN41"); + this.comboBoxN41.FormattingEnabled = true; + this.comboBoxN41.Name = "comboBoxN41"; + // + // comboBoxN40 + // + resources.ApplyResources(this.comboBoxN40, "comboBoxN40"); + this.comboBoxN40.FormattingEnabled = true; + this.comboBoxN40.Name = "comboBoxN40"; + // + // comboBoxN39 + // + resources.ApplyResources(this.comboBoxN39, "comboBoxN39"); + this.comboBoxN39.FormattingEnabled = true; + this.comboBoxN39.Name = "comboBoxN39"; + // + // comboBoxN38 + // + resources.ApplyResources(this.comboBoxN38, "comboBoxN38"); + this.comboBoxN38.FormattingEnabled = true; + this.comboBoxN38.Name = "comboBoxN38"; + // + // comboBoxN37 + // + resources.ApplyResources(this.comboBoxN37, "comboBoxN37"); + this.comboBoxN37.FormattingEnabled = true; + this.comboBoxN37.Name = "comboBoxN37"; + // + // comboBoxN36 + // + resources.ApplyResources(this.comboBoxN36, "comboBoxN36"); + this.comboBoxN36.FormattingEnabled = true; + this.comboBoxN36.Name = "comboBoxN36"; + // + // comboBoxN35 + // + resources.ApplyResources(this.comboBoxN35, "comboBoxN35"); + this.comboBoxN35.FormattingEnabled = true; + this.comboBoxN35.Name = "comboBoxN35"; + // + // comboBoxN34 + // + resources.ApplyResources(this.comboBoxN34, "comboBoxN34"); + this.comboBoxN34.FormattingEnabled = true; + this.comboBoxN34.Name = "comboBoxN34"; + // + // comboBoxN33 + // + resources.ApplyResources(this.comboBoxN33, "comboBoxN33"); + this.comboBoxN33.FormattingEnabled = true; + this.comboBoxN33.Name = "comboBoxN33"; + // + // comboBoxN32 + // + resources.ApplyResources(this.comboBoxN32, "comboBoxN32"); + this.comboBoxN32.FormattingEnabled = true; + this.comboBoxN32.Name = "comboBoxN32"; + // + // comboBoxN31 + // + resources.ApplyResources(this.comboBoxN31, "comboBoxN31"); + this.comboBoxN31.FormattingEnabled = true; + this.comboBoxN31.Name = "comboBoxN31"; + // + // comboBoxN30 + // + resources.ApplyResources(this.comboBoxN30, "comboBoxN30"); + this.comboBoxN30.FormattingEnabled = true; + this.comboBoxN30.Name = "comboBoxN30"; + // + // comboBoxN29 + // + resources.ApplyResources(this.comboBoxN29, "comboBoxN29"); + this.comboBoxN29.FormattingEnabled = true; + this.comboBoxN29.Name = "comboBoxN29"; + // + // comboBoxN28 + // + resources.ApplyResources(this.comboBoxN28, "comboBoxN28"); + this.comboBoxN28.FormattingEnabled = true; + this.comboBoxN28.Name = "comboBoxN28"; + // + // comboBoxN27 + // + resources.ApplyResources(this.comboBoxN27, "comboBoxN27"); + this.comboBoxN27.FormattingEnabled = true; + this.comboBoxN27.Name = "comboBoxN27"; + // + // comboBoxN26 + // + resources.ApplyResources(this.comboBoxN26, "comboBoxN26"); + this.comboBoxN26.FormattingEnabled = true; + this.comboBoxN26.Name = "comboBoxN26"; + // + // comboBoxN25 + // + resources.ApplyResources(this.comboBoxN25, "comboBoxN25"); + this.comboBoxN25.FormattingEnabled = true; + this.comboBoxN25.Name = "comboBoxN25"; + // + // CycleBeginningForm + // + resources.ApplyResources(this, "$this"); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.BackColor = System.Drawing.Color.DarkGray; + this.Controls.Add(this.comboBoxN48); + this.Controls.Add(this.comboBoxN47); + this.Controls.Add(this.comboBoxN46); + this.Controls.Add(this.comboBoxN45); + this.Controls.Add(this.comboBoxN44); + this.Controls.Add(this.comboBoxN43); + this.Controls.Add(this.comboBoxN42); + this.Controls.Add(this.comboBoxN41); + this.Controls.Add(this.comboBoxN40); + this.Controls.Add(this.comboBoxN39); + this.Controls.Add(this.comboBoxN38); + this.Controls.Add(this.comboBoxN37); + this.Controls.Add(this.comboBoxN36); + this.Controls.Add(this.comboBoxN35); + this.Controls.Add(this.comboBoxN34); + this.Controls.Add(this.comboBoxN33); + this.Controls.Add(this.comboBoxN32); + this.Controls.Add(this.comboBoxN31); + this.Controls.Add(this.comboBoxN30); + this.Controls.Add(this.comboBoxN29); + this.Controls.Add(this.comboBoxN28); + this.Controls.Add(this.comboBoxN27); + this.Controls.Add(this.comboBoxN26); + this.Controls.Add(this.comboBoxN25); + this.Controls.Add(this.comboBoxN24); + this.Controls.Add(this.comboBoxN23); + this.Controls.Add(this.comboBoxN22); + this.Controls.Add(this.comboBoxN21); + this.Controls.Add(this.comboBoxN20); + this.Controls.Add(this.comboBoxN19); + this.Controls.Add(this.comboBoxN18); + this.Controls.Add(this.comboBoxN17); + this.Controls.Add(this.comboBoxN16); + this.Controls.Add(this.comboBoxN15); + this.Controls.Add(this.comboBoxN14); + this.Controls.Add(this.comboBoxN13); + this.Controls.Add(this.comboBoxN12); + this.Controls.Add(this.comboBoxN11); + this.Controls.Add(this.comboBoxN10); + this.Controls.Add(this.comboBoxN9); + this.Controls.Add(this.comboBoxN8); + this.Controls.Add(this.comboBoxN7); + this.Controls.Add(this.comboBoxN6); + this.Controls.Add(this.comboBoxN5); + this.Controls.Add(this.comboBoxN4); + this.Controls.Add(this.comboBoxN3); + this.Controls.Add(this.comboBoxN2); + this.Controls.Add(this.comboBoxN1); + this.Controls.Add(this.checkBox48); + this.Controls.Add(this.comboBox48); + this.Controls.Add(this.label48); + this.Controls.Add(this.checkBox47); + this.Controls.Add(this.comboBox47); + this.Controls.Add(this.label47); + this.Controls.Add(this.checkBox46); + this.Controls.Add(this.comboBox46); + this.Controls.Add(this.label46); + this.Controls.Add(this.checkBox45); + this.Controls.Add(this.comboBox45); + this.Controls.Add(this.label45); + this.Controls.Add(this.checkBox44); + this.Controls.Add(this.comboBox44); + this.Controls.Add(this.label44); + this.Controls.Add(this.checkBox43); + this.Controls.Add(this.comboBox43); + this.Controls.Add(this.label43); + this.Controls.Add(this.checkBox42); + this.Controls.Add(this.comboBox42); + this.Controls.Add(this.label42); + this.Controls.Add(this.checkBox41); + this.Controls.Add(this.comboBox41); + this.Controls.Add(this.label41); + this.Controls.Add(this.checkBox40); + this.Controls.Add(this.comboBox40); + this.Controls.Add(this.label40); + this.Controls.Add(this.checkBox39); + this.Controls.Add(this.comboBox39); + this.Controls.Add(this.label39); + this.Controls.Add(this.checkBox38); + this.Controls.Add(this.comboBox38); + this.Controls.Add(this.label38); + this.Controls.Add(this.checkBox37); + this.Controls.Add(this.comboBox37); + this.Controls.Add(this.label37); + this.Controls.Add(this.checkBox36); + this.Controls.Add(this.comboBox36); + this.Controls.Add(this.label36); + this.Controls.Add(this.checkBox35); + this.Controls.Add(this.comboBox35); + this.Controls.Add(this.label35); + this.Controls.Add(this.checkBox34); + this.Controls.Add(this.comboBox34); + this.Controls.Add(this.label34); + this.Controls.Add(this.checkBox33); + this.Controls.Add(this.comboBox33); + this.Controls.Add(this.label33); + this.Controls.Add(this.checkBox32); + this.Controls.Add(this.comboBox32); + this.Controls.Add(this.label32); + this.Controls.Add(this.checkBox31); + this.Controls.Add(this.comboBox31); + this.Controls.Add(this.label31); + this.Controls.Add(this.checkBox30); + this.Controls.Add(this.comboBox30); + this.Controls.Add(this.label30); + this.Controls.Add(this.checkBox29); + this.Controls.Add(this.comboBox29); + this.Controls.Add(this.label29); + this.Controls.Add(this.checkBox28); + this.Controls.Add(this.comboBox28); + this.Controls.Add(this.label28); + this.Controls.Add(this.checkBox27); + this.Controls.Add(this.comboBox27); + this.Controls.Add(this.label27); + this.Controls.Add(this.checkBox26); + this.Controls.Add(this.comboBox26); + this.Controls.Add(this.label26); + this.Controls.Add(this.checkBox25); + this.Controls.Add(this.comboBox25); + this.Controls.Add(this.label25); + this.Controls.Add(this.checkBox24); + this.Controls.Add(this.comboBox24); + this.Controls.Add(this.label24); + this.Controls.Add(this.checkBox23); + this.Controls.Add(this.comboBox23); + this.Controls.Add(this.label23); + this.Controls.Add(this.checkBox22); + this.Controls.Add(this.comboBox22); + this.Controls.Add(this.label22); + this.Controls.Add(this.checkBox21); + this.Controls.Add(this.comboBox21); + this.Controls.Add(this.label21); + this.Controls.Add(this.checkBox20); + this.Controls.Add(this.comboBox20); + this.Controls.Add(this.label20); + this.Controls.Add(this.checkBox19); + this.Controls.Add(this.comboBox19); + this.Controls.Add(this.label19); + this.Controls.Add(this.checkBox18); + this.Controls.Add(this.comboBox18); + this.Controls.Add(this.label18); + this.Controls.Add(this.checkBox17); + this.Controls.Add(this.comboBox17); + this.Controls.Add(this.label17); + this.Controls.Add(this.checkBox16); + this.Controls.Add(this.comboBox16); + this.Controls.Add(this.label16); + this.Controls.Add(this.checkBox15); + this.Controls.Add(this.comboBox15); + this.Controls.Add(this.label15); + this.Controls.Add(this.checkBox14); + this.Controls.Add(this.comboBox14); + this.Controls.Add(this.label14); + this.Controls.Add(this.checkBox13); + this.Controls.Add(this.comboBox13); + this.Controls.Add(this.label13); + this.Controls.Add(this.checkBox12); + this.Controls.Add(this.comboBox12); + this.Controls.Add(this.label12); + this.Controls.Add(this.checkBox11); + this.Controls.Add(this.comboBox11); + this.Controls.Add(this.label11); + this.Controls.Add(this.checkBox10); + this.Controls.Add(this.comboBox10); + this.Controls.Add(this.label10); + this.Controls.Add(this.checkBox9); + this.Controls.Add(this.comboBox9); + this.Controls.Add(this.label9); + this.Controls.Add(this.checkBox8); + this.Controls.Add(this.comboBox8); + this.Controls.Add(this.label8); + this.Controls.Add(this.checkBox7); + this.Controls.Add(this.comboBox7); + this.Controls.Add(this.label7); + this.Controls.Add(this.checkBox6); + this.Controls.Add(this.comboBox6); + this.Controls.Add(this.label6); + this.Controls.Add(this.checkBox5); + this.Controls.Add(this.comboBox5); + this.Controls.Add(this.label5); + this.Controls.Add(this.checkBox4); + this.Controls.Add(this.comboBox4); + this.Controls.Add(this.label4); + this.Controls.Add(this.checkBox3); + this.Controls.Add(this.comboBox3); + this.Controls.Add(this.label3); + this.Controls.Add(this.checkBox2); + this.Controls.Add(this.comboBox2); + this.Controls.Add(this.label2); + this.Controls.Add(this.checkBox1); + this.Controls.Add(this.comboBox1); + this.Controls.Add(this.label1); + this.Controls.Add(this.clearButton); + this.Controls.Add(this.orderGroupBox); + this.Controls.Add(this.okButton); + this.ForeColor = System.Drawing.Color.Black; + this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; + this.Name = "CycleBeginningForm"; + this.TopMost = true; + this.Load += new System.EventHandler(this.CycleBeginningForm_Load); + this.orderGroupBox.ResumeLayout(false); + this.ResumeLayout(false); + this.PerformLayout(); + } + + private System.Windows.Forms.ComboBox comboBoxN3; + + private System.Windows.Forms.ComboBox purchaseBoxComboBox; + private System.Windows.Forms.Button buttonChooseBox; + + private System.Windows.Forms.ComboBox comboBoxN12; + private System.Windows.Forms.ComboBox comboBoxN13; + private System.Windows.Forms.ComboBox comboBoxN14; + private System.Windows.Forms.ComboBox comboBoxN15; + private System.Windows.Forms.ComboBox comboBoxN16; + private System.Windows.Forms.ComboBox comboBoxN17; + private System.Windows.Forms.ComboBox comboBoxN18; + private System.Windows.Forms.ComboBox comboBoxN19; + private System.Windows.Forms.ComboBox comboBoxN20; + private System.Windows.Forms.ComboBox comboBoxN21; + private System.Windows.Forms.ComboBox comboBoxN22; + private System.Windows.Forms.ComboBox comboBoxN23; + private System.Windows.Forms.ComboBox comboBoxN24; + private System.Windows.Forms.ComboBox comboBoxN48; + private System.Windows.Forms.ComboBox comboBoxN47; + private System.Windows.Forms.ComboBox comboBoxN46; + private System.Windows.Forms.ComboBox comboBoxN45; + private System.Windows.Forms.ComboBox comboBoxN44; + private System.Windows.Forms.ComboBox comboBoxN43; + private System.Windows.Forms.ComboBox comboBoxN42; + private System.Windows.Forms.ComboBox comboBoxN41; + private System.Windows.Forms.ComboBox comboBoxN40; + private System.Windows.Forms.ComboBox comboBoxN39; + private System.Windows.Forms.ComboBox comboBoxN38; + private System.Windows.Forms.ComboBox comboBoxN37; + private System.Windows.Forms.ComboBox comboBoxN36; + private System.Windows.Forms.ComboBox comboBoxN35; + private System.Windows.Forms.ComboBox comboBoxN34; + private System.Windows.Forms.ComboBox comboBoxN33; + private System.Windows.Forms.ComboBox comboBoxN32; + private System.Windows.Forms.ComboBox comboBoxN31; + private System.Windows.Forms.ComboBox comboBoxN30; + private System.Windows.Forms.ComboBox comboBoxN29; + private System.Windows.Forms.ComboBox comboBoxN28; + private System.Windows.Forms.ComboBox comboBoxN27; + private System.Windows.Forms.ComboBox comboBoxN26; + private System.Windows.Forms.ComboBox comboBoxN25; + + private System.Windows.Forms.ComboBox comboBoxN5; + private System.Windows.Forms.ComboBox comboBoxN6; + private System.Windows.Forms.ComboBox comboBoxN7; + private System.Windows.Forms.ComboBox comboBoxN8; + private System.Windows.Forms.ComboBox comboBoxN9; + private System.Windows.Forms.ComboBox comboBoxN10; + private System.Windows.Forms.ComboBox comboBoxN11; + + private System.Windows.Forms.ComboBox comboBoxN2; + private System.Windows.Forms.ComboBox comboBoxN4; + + private System.Windows.Forms.ComboBox comboBoxN1; + + #endregion + + private System.Windows.Forms.Button okButton; + private System.Windows.Forms.GroupBox orderGroupBox; + private System.Windows.Forms.ComboBox orderComboBox; + private System.Windows.Forms.Button clearButton; + private System.Windows.Forms.Label label1; + private System.Windows.Forms.ComboBox comboBox1; + private System.Windows.Forms.CheckBox checkBox1; + private System.Windows.Forms.CheckBox checkBox2; + private System.Windows.Forms.ComboBox comboBox2; + private System.Windows.Forms.Label label2; + private System.Windows.Forms.CheckBox checkBox3; + private System.Windows.Forms.ComboBox comboBox3; + private System.Windows.Forms.Label label3; + private System.Windows.Forms.CheckBox checkBox4; + private System.Windows.Forms.ComboBox comboBox4; + private System.Windows.Forms.Label label4; + private System.Windows.Forms.CheckBox checkBox5; + private System.Windows.Forms.ComboBox comboBox5; + private System.Windows.Forms.Label label5; + private System.Windows.Forms.CheckBox checkBox6; + private System.Windows.Forms.ComboBox comboBox6; + private System.Windows.Forms.Label label6; + private System.Windows.Forms.CheckBox checkBox7; + private System.Windows.Forms.ComboBox comboBox7; + private System.Windows.Forms.Label label7; + private System.Windows.Forms.CheckBox checkBox8; + private System.Windows.Forms.ComboBox comboBox8; + private System.Windows.Forms.Label label8; + private System.Windows.Forms.CheckBox checkBox9; + private System.Windows.Forms.ComboBox comboBox9; + private System.Windows.Forms.Label label9; + private System.Windows.Forms.CheckBox checkBox10; + private System.Windows.Forms.ComboBox comboBox10; + private System.Windows.Forms.Label label10; + private System.Windows.Forms.CheckBox checkBox11; + private System.Windows.Forms.ComboBox comboBox11; + private System.Windows.Forms.Label label11; + private System.Windows.Forms.CheckBox checkBox12; + private System.Windows.Forms.ComboBox comboBox12; + private System.Windows.Forms.Label label12; + private System.Windows.Forms.CheckBox checkBox13; + private System.Windows.Forms.ComboBox comboBox13; + private System.Windows.Forms.Label label13; + private System.Windows.Forms.CheckBox checkBox14; + private System.Windows.Forms.ComboBox comboBox14; + private System.Windows.Forms.Label label14; + private System.Windows.Forms.CheckBox checkBox15; + private System.Windows.Forms.ComboBox comboBox15; + private System.Windows.Forms.Label label15; + private System.Windows.Forms.CheckBox checkBox16; + private System.Windows.Forms.ComboBox comboBox16; + private System.Windows.Forms.Label label16; + private System.Windows.Forms.CheckBox checkBox17; + private System.Windows.Forms.ComboBox comboBox17; + private System.Windows.Forms.Label label17; + private System.Windows.Forms.CheckBox checkBox18; + private System.Windows.Forms.ComboBox comboBox18; + private System.Windows.Forms.Label label18; + private System.Windows.Forms.CheckBox checkBox19; + private System.Windows.Forms.ComboBox comboBox19; + private System.Windows.Forms.Label label19; + private System.Windows.Forms.CheckBox checkBox20; + private System.Windows.Forms.ComboBox comboBox20; + private System.Windows.Forms.Label label20; + private System.Windows.Forms.CheckBox checkBox21; + private System.Windows.Forms.ComboBox comboBox21; + private System.Windows.Forms.Label label21; + private System.Windows.Forms.CheckBox checkBox22; + private System.Windows.Forms.ComboBox comboBox22; + private System.Windows.Forms.Label label22; + private System.Windows.Forms.CheckBox checkBox23; + private System.Windows.Forms.ComboBox comboBox23; + private System.Windows.Forms.Label label23; + private System.Windows.Forms.CheckBox checkBox24; + private System.Windows.Forms.ComboBox comboBox24; + private System.Windows.Forms.Label label24; + private System.Windows.Forms.CheckBox checkBox48; + private System.Windows.Forms.ComboBox comboBox48; + private System.Windows.Forms.Label label48; + private System.Windows.Forms.CheckBox checkBox47; + private System.Windows.Forms.ComboBox comboBox47; + private System.Windows.Forms.Label label47; + private System.Windows.Forms.CheckBox checkBox46; + private System.Windows.Forms.ComboBox comboBox46; + private System.Windows.Forms.Label label46; + private System.Windows.Forms.CheckBox checkBox45; + private System.Windows.Forms.ComboBox comboBox45; + private System.Windows.Forms.Label label45; + private System.Windows.Forms.CheckBox checkBox44; + private System.Windows.Forms.ComboBox comboBox44; + private System.Windows.Forms.Label label44; + private System.Windows.Forms.CheckBox checkBox43; + private System.Windows.Forms.ComboBox comboBox43; + private System.Windows.Forms.Label label43; + private System.Windows.Forms.CheckBox checkBox42; + private System.Windows.Forms.ComboBox comboBox42; + private System.Windows.Forms.Label label42; + private System.Windows.Forms.CheckBox checkBox41; + private System.Windows.Forms.ComboBox comboBox41; + private System.Windows.Forms.Label label41; + private System.Windows.Forms.CheckBox checkBox40; + private System.Windows.Forms.ComboBox comboBox40; + private System.Windows.Forms.Label label40; + private System.Windows.Forms.CheckBox checkBox39; + private System.Windows.Forms.ComboBox comboBox39; + private System.Windows.Forms.Label label39; + private System.Windows.Forms.CheckBox checkBox38; + private System.Windows.Forms.ComboBox comboBox38; + private System.Windows.Forms.Label label38; + private System.Windows.Forms.CheckBox checkBox37; + private System.Windows.Forms.ComboBox comboBox37; + private System.Windows.Forms.Label label37; + private System.Windows.Forms.CheckBox checkBox36; + private System.Windows.Forms.ComboBox comboBox36; + private System.Windows.Forms.Label label36; + private System.Windows.Forms.CheckBox checkBox35; + private System.Windows.Forms.ComboBox comboBox35; + private System.Windows.Forms.Label label35; + private System.Windows.Forms.CheckBox checkBox34; + private System.Windows.Forms.ComboBox comboBox34; + private System.Windows.Forms.Label label34; + private System.Windows.Forms.CheckBox checkBox33; + private System.Windows.Forms.ComboBox comboBox33; + private System.Windows.Forms.Label label33; + private System.Windows.Forms.CheckBox checkBox32; + private System.Windows.Forms.ComboBox comboBox32; + private System.Windows.Forms.Label label32; + private System.Windows.Forms.CheckBox checkBox31; + private System.Windows.Forms.ComboBox comboBox31; + private System.Windows.Forms.Label label31; + private System.Windows.Forms.CheckBox checkBox30; + private System.Windows.Forms.ComboBox comboBox30; + private System.Windows.Forms.Label label30; + private System.Windows.Forms.CheckBox checkBox29; + private System.Windows.Forms.ComboBox comboBox29; + private System.Windows.Forms.Label label29; + private System.Windows.Forms.CheckBox checkBox28; + private System.Windows.Forms.ComboBox comboBox28; + private System.Windows.Forms.Label label28; + private System.Windows.Forms.CheckBox checkBox27; + private System.Windows.Forms.ComboBox comboBox27; + private System.Windows.Forms.Label label27; + private System.Windows.Forms.CheckBox checkBox26; + private System.Windows.Forms.ComboBox comboBox26; + private System.Windows.Forms.Label label26; + private System.Windows.Forms.CheckBox checkBox25; + private System.Windows.Forms.ComboBox comboBox25; + private System.Windows.Forms.Label label25; + } +} \ No newline at end of file diff --git a/TBF/Rig/DataEntry/StandartCameraPurchaseOrder/CycleBeginningForm.pl.resx b/TBF/Rig/DataEntry/StandartCameraPurchaseOrder/CycleBeginningForm.pl.resx new file mode 100644 index 000000000..94a1178c3 --- /dev/null +++ b/TBF/Rig/DataEntry/StandartCameraPurchaseOrder/CycleBeginningForm.pl.resx @@ -0,0 +1,276 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + OK + + + Kolejność + + + Usunąć + + + Nr seryjny 1 + + + Nr seryjny 2 + + + Nr seryjny 3 + + + Nr seryjny 4 + + + Nr seryjny 5 + + + Nr seryjny 6 + + + Nr seryjny 7 + + + Nr seryjny 8 + + + Nr seryjny 9 + + + Nr seryjny 10 + + + Nr seryjny 11 + + + Nr seryjny 12 + + + Nr seryjny 13 + + + Nr seryjny 14 + + + Nr seryjny 15 + + + Nr seryjny 16 + + + Nr seryjny 17 + + + Nr seryjny 18 + + + Nr seryjny 19 + + + Nr seryjny 20 + + + Nr seryjny 21 + + + Nr seryjny 22 + + + Nr seryjny 23 + + + Nr seryjny 24 + + + Nr seryjny 48 + + + Nr seryjny 47 + + + Nr seryjny 46 + + + Nr seryjny 45 + + + Nr seryjny 44 + + + Nr seryjny 43 + + + Nr seryjny 42 + + + Nr seryjny 41 + + + Nr seryjny 40 + + + Nr seryjny 39 + + + Nr seryjny 38 + + + Nr seryjny 37 + + + Nr seryjny 36 + + + Nr seryjny 35 + + + Nr seryjny 34 + + + Nr seryjny 16 + + + Nr seryjny 17 + + + Nr seryjny 18 + + + Nr seryjny 19 + + + Nr seryjny 20 + + + Nr seryjny 21 + + + Nr seryjny 22 + + + Nr seryjny 23 + + + Nr seryjny 24 + + + Dane partii + + \ No newline at end of file diff --git a/TBF/Rig/DataEntry/StandartCameraPurchaseOrder/CycleBeginningForm.resx b/TBF/Rig/DataEntry/StandartCameraPurchaseOrder/CycleBeginningForm.resx new file mode 100644 index 000000000..196b2a101 --- /dev/null +++ b/TBF/Rig/DataEntry/StandartCameraPurchaseOrder/CycleBeginningForm.resx @@ -0,0 +1,6501 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + + Verdana, 14.25pt + + + 1198, 14 + + + + 4, 5, 4, 5 + + + 168, 97 + + + + 7 + + + OK + + + okButton + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 194 + + + 732, 44 + + + 178, 44 + + + 2 + + + Choose + + + buttonChooseBox + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + orderGroupBox + + + 0 + + + 403, 45 + + + 323, 43 + + + 1 + + + purchaseBoxComboBox + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + orderGroupBox + + + 1 + + + 8, 45 + + + 4, 5, 4, 5 + + + 388, 43 + + + 0 + + + orderComboBox + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + orderGroupBox + + + 2 + + + Verdana, 14.25pt + + + 42, 8 + + + 4, 5, 4, 5 + + + 4, 5, 4, 5 + + + 917, 118 + + + 0 + + + Order / Box + + + orderGroupBox + + + System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 193 + + + Verdana, 14.25pt + + + NoControl + + + 977, 14 + + + 4, 5, 4, 5 + + + 168, 97 + + + 8 + + + Clear + + + clearButton + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 192 + + + True + + + Verdana, 9.75pt + + + 36, 149 + + + 4, 0, 4, 0 + + + 158, 25 + + + 9 + + + Serial Number + + + False + + + label1 + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 191 + + + Verdana, 9.75pt + + + 322, 145 + + + 4, 5, 4, 5 + + + 242, 33 + + + 10 + + + False + + + comboBox1 + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 190 + + + True + + + 615, 152 + + + 4, 5, 4, 5 + + + 22, 21 + + + 11 + + + False + + + checkBox1 + + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 189 + + + True + + + NoControl + + + 615, 197 + + + 4, 5, 4, 5 + + + 22, 21 + + + 14 + + + False + + + checkBox2 + + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 186 + + + Verdana, 9.75pt + + + 322, 189 + + + 4, 5, 4, 5 + + + 242, 33 + + + 13 + + + False + + + comboBox2 + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 187 + + + True + + + Verdana, 9.75pt + + + NoControl + + + 36, 194 + + + 4, 0, 4, 0 + + + 158, 25 + + + 12 + + + Serial Number + + + False + + + label2 + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 188 + + + True + + + NoControl + + + 615, 242 + + + 4, 5, 4, 5 + + + 22, 21 + + + 17 + + + False + + + checkBox3 + + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 183 + + + Verdana, 9.75pt + + + 322, 234 + + + 4, 5, 4, 5 + + + 242, 33 + + + 16 + + + False + + + comboBox3 + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 184 + + + True + + + Verdana, 9.75pt + + + NoControl + + + 36, 238 + + + 4, 0, 4, 0 + + + 158, 25 + + + 15 + + + Serial Number + + + False + + + label3 + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 185 + + + True + + + NoControl + + + 615, 286 + + + 4, 5, 4, 5 + + + 22, 21 + + + 20 + + + False + + + checkBox4 + + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 180 + + + Verdana, 9.75pt + + + 322, 278 + + + 4, 5, 4, 5 + + + 242, 33 + + + 19 + + + False + + + comboBox4 + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 181 + + + True + + + Verdana, 9.75pt + + + NoControl + + + 36, 283 + + + 4, 0, 4, 0 + + + 158, 25 + + + 18 + + + Serial Number + + + False + + + label4 + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 182 + + + True + + + NoControl + + + 615, 331 + + + 4, 5, 4, 5 + + + 22, 21 + + + 23 + + + False + + + checkBox5 + + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 177 + + + Verdana, 9.75pt + + + 322, 323 + + + 4, 5, 4, 5 + + + 242, 33 + + + 22 + + + False + + + comboBox5 + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 178 + + + True + + + Verdana, 9.75pt + + + NoControl + + + 36, 328 + + + 4, 0, 4, 0 + + + 158, 25 + + + 21 + + + Serial Number + + + False + + + label5 + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 179 + + + True + + + NoControl + + + 615, 375 + + + 4, 5, 4, 5 + + + 22, 21 + + + 26 + + + False + + + checkBox6 + + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 174 + + + Verdana, 9.75pt + + + 322, 368 + + + 4, 5, 4, 5 + + + 242, 33 + + + 25 + + + False + + + comboBox6 + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 175 + + + True + + + Verdana, 9.75pt + + + NoControl + + + 36, 372 + + + 4, 0, 4, 0 + + + 158, 25 + + + 24 + + + Serial Number + + + False + + + label6 + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 176 + + + True + + + NoControl + + + 615, 420 + + + 4, 5, 4, 5 + + + 22, 21 + + + 29 + + + False + + + checkBox7 + + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 171 + + + Verdana, 9.75pt + + + 322, 412 + + + 4, 5, 4, 5 + + + 242, 33 + + + 28 + + + False + + + comboBox7 + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 172 + + + True + + + Verdana, 9.75pt + + + NoControl + + + 36, 417 + + + 4, 0, 4, 0 + + + 158, 25 + + + 27 + + + Serial Number + + + False + + + label7 + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 173 + + + True + + + NoControl + + + 615, 465 + + + 4, 5, 4, 5 + + + 22, 21 + + + 32 + + + False + + + checkBox8 + + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 168 + + + Verdana, 9.75pt + + + 322, 457 + + + 4, 5, 4, 5 + + + 242, 33 + + + 31 + + + False + + + comboBox8 + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 169 + + + True + + + Verdana, 9.75pt + + + NoControl + + + 36, 462 + + + 4, 0, 4, 0 + + + 158, 25 + + + 30 + + + Serial Number + + + False + + + label8 + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 170 + + + True + + + NoControl + + + 615, 509 + + + 4, 5, 4, 5 + + + 22, 21 + + + 35 + + + False + + + checkBox9 + + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 165 + + + Verdana, 9.75pt + + + 322, 502 + + + 4, 5, 4, 5 + + + 242, 33 + + + 34 + + + False + + + comboBox9 + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 166 + + + True + + + Verdana, 9.75pt + + + NoControl + + + 36, 506 + + + 4, 0, 4, 0 + + + 158, 25 + + + 33 + + + Serial Number + + + False + + + label9 + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 167 + + + True + + + NoControl + + + 615, 554 + + + 4, 5, 4, 5 + + + 22, 21 + + + 38 + + + False + + + checkBox10 + + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 162 + + + Verdana, 9.75pt + + + 322, 546 + + + 4, 5, 4, 5 + + + 242, 33 + + + 37 + + + False + + + comboBox10 + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 163 + + + True + + + Verdana, 9.75pt + + + NoControl + + + 36, 551 + + + 4, 0, 4, 0 + + + 158, 25 + + + 36 + + + Serial Number + + + False + + + label10 + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 164 + + + True + + + NoControl + + + 615, 598 + + + 4, 5, 4, 5 + + + 22, 21 + + + 41 + + + False + + + checkBox11 + + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 159 + + + Verdana, 9.75pt + + + 322, 591 + + + 4, 5, 4, 5 + + + 242, 33 + + + 40 + + + False + + + comboBox11 + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 160 + + + True + + + Verdana, 9.75pt + + + NoControl + + + 36, 595 + + + 4, 0, 4, 0 + + + 158, 25 + + + 39 + + + Serial Number + + + False + + + label11 + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 161 + + + True + + + NoControl + + + 615, 643 + + + 4, 5, 4, 5 + + + 22, 21 + + + 44 + + + False + + + checkBox12 + + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 156 + + + Verdana, 9.75pt + + + 322, 635 + + + 4, 5, 4, 5 + + + 242, 33 + + + 43 + + + False + + + comboBox12 + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 157 + + + True + + + Verdana, 9.75pt + + + NoControl + + + 36, 640 + + + 4, 0, 4, 0 + + + 158, 25 + + + 42 + + + Serial Number + + + False + + + label12 + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 158 + + + True + + + NoControl + + + 615, 688 + + + 4, 5, 4, 5 + + + 22, 21 + + + 47 + + + False + + + checkBox13 + + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 153 + + + Verdana, 9.75pt + + + 322, 680 + + + 4, 5, 4, 5 + + + 242, 33 + + + 46 + + + False + + + comboBox13 + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 154 + + + True + + + Verdana, 9.75pt + + + NoControl + + + 36, 685 + + + 4, 0, 4, 0 + + + 158, 25 + + + 45 + + + Serial Number + + + False + + + label13 + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 155 + + + True + + + NoControl + + + 615, 732 + + + 4, 5, 4, 5 + + + 22, 21 + + + 50 + + + False + + + checkBox14 + + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 150 + + + Verdana, 9.75pt + + + 322, 725 + + + 4, 5, 4, 5 + + + 242, 33 + + + 49 + + + False + + + comboBox14 + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 151 + + + True + + + Verdana, 9.75pt + + + NoControl + + + 36, 729 + + + 4, 0, 4, 0 + + + 158, 25 + + + 48 + + + Serial Number + + + False + + + label14 + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 152 + + + True + + + NoControl + + + 615, 777 + + + 4, 5, 4, 5 + + + 22, 21 + + + 53 + + + False + + + checkBox15 + + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 147 + + + Verdana, 9.75pt + + + 322, 769 + + + 4, 5, 4, 5 + + + 242, 33 + + + 52 + + + False + + + comboBox15 + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 148 + + + True + + + Verdana, 9.75pt + + + NoControl + + + 36, 774 + + + 4, 0, 4, 0 + + + 158, 25 + + + 51 + + + Serial Number + + + False + + + label15 + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 149 + + + True + + + NoControl + + + 615, 822 + + + 4, 5, 4, 5 + + + 22, 21 + + + 56 + + + False + + + checkBox16 + + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 144 + + + Verdana, 9.75pt + + + 322, 814 + + + 4, 5, 4, 5 + + + 242, 33 + + + 55 + + + False + + + comboBox16 + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 145 + + + True + + + Verdana, 9.75pt + + + NoControl + + + 36, 818 + + + 4, 0, 4, 0 + + + 158, 25 + + + 54 + + + Serial Number + + + False + + + label16 + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 146 + + + True + + + NoControl + + + 615, 866 + + + 4, 5, 4, 5 + + + 22, 21 + + + 59 + + + False + + + checkBox17 + + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 141 + + + Verdana, 9.75pt + + + 322, 858 + + + 4, 5, 4, 5 + + + 242, 33 + + + 58 + + + False + + + comboBox17 + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 142 + + + True + + + Verdana, 9.75pt + + + NoControl + + + 36, 863 + + + 4, 0, 4, 0 + + + 158, 25 + + + 57 + + + Serial Number + + + False + + + label17 + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 143 + + + True + + + NoControl + + + 615, 911 + + + 4, 5, 4, 5 + + + 22, 21 + + + 62 + + + False + + + checkBox18 + + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 138 + + + Verdana, 9.75pt + + + 322, 903 + + + 4, 5, 4, 5 + + + 242, 33 + + + 61 + + + False + + + comboBox18 + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 139 + + + True + + + Verdana, 9.75pt + + + NoControl + + + 36, 908 + + + 4, 0, 4, 0 + + + 158, 25 + + + 60 + + + Serial Number + + + False + + + label18 + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 140 + + + True + + + NoControl + + + 615, 955 + + + 4, 5, 4, 5 + + + 22, 21 + + + 65 + + + False + + + checkBox19 + + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 135 + + + Verdana, 9.75pt + + + 322, 948 + + + 4, 5, 4, 5 + + + 242, 33 + + + 64 + + + False + + + comboBox19 + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 136 + + + True + + + Verdana, 9.75pt + + + NoControl + + + 36, 952 + + + 4, 0, 4, 0 + + + 158, 25 + + + 63 + + + Serial Number + + + False + + + label19 + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 137 + + + True + + + NoControl + + + 615, 1000 + + + 4, 5, 4, 5 + + + 22, 21 + + + 68 + + + False + + + checkBox20 + + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 132 + + + Verdana, 9.75pt + + + 322, 992 + + + 4, 5, 4, 5 + + + 242, 33 + + + 67 + + + False + + + comboBox20 + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 133 + + + True + + + Verdana, 9.75pt + + + NoControl + + + 36, 997 + + + 4, 0, 4, 0 + + + 158, 25 + + + 66 + + + Serial Number + + + False + + + label20 + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 134 + + + True + + + NoControl + + + 615, 1045 + + + 4, 5, 4, 5 + + + 22, 21 + + + 71 + + + False + + + checkBox21 + + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 129 + + + Verdana, 9.75pt + + + 322, 1037 + + + 4, 5, 4, 5 + + + 242, 33 + + + 70 + + + False + + + comboBox21 + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 130 + + + True + + + Verdana, 9.75pt + + + NoControl + + + 36, 1042 + + + 4, 0, 4, 0 + + + 158, 25 + + + 69 + + + Serial Number + + + False + + + label21 + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 131 + + + True + + + NoControl + + + 615, 1089 + + + 4, 5, 4, 5 + + + 22, 21 + + + 74 + + + False + + + checkBox22 + + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 126 + + + Verdana, 9.75pt + + + 322, 1082 + + + 4, 5, 4, 5 + + + 242, 33 + + + 73 + + + False + + + comboBox22 + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 127 + + + True + + + Verdana, 9.75pt + + + NoControl + + + 36, 1086 + + + 4, 0, 4, 0 + + + 158, 25 + + + 72 + + + Serial Number + + + False + + + label22 + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 128 + + + True + + + NoControl + + + 615, 1134 + + + 4, 5, 4, 5 + + + 22, 21 + + + 77 + + + False + + + checkBox23 + + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 123 + + + Verdana, 9.75pt + + + 322, 1126 + + + 4, 5, 4, 5 + + + 242, 33 + + + 76 + + + False + + + comboBox23 + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 124 + + + True + + + Verdana, 9.75pt + + + NoControl + + + 36, 1131 + + + 4, 0, 4, 0 + + + 158, 25 + + + 75 + + + Serial Number + + + False + + + label23 + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 125 + + + True + + + NoControl + + + 615, 1178 + + + 4, 5, 4, 5 + + + 22, 21 + + + 80 + + + False + + + checkBox24 + + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 120 + + + Verdana, 9.75pt + + + 322, 1171 + + + 4, 5, 4, 5 + + + 242, 33 + + + 79 + + + False + + + comboBox24 + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 121 + + + True + + + Verdana, 9.75pt + + + NoControl + + + 36, 1175 + + + 4, 0, 4, 0 + + + 158, 25 + + + 78 + + + Serial Number + + + False + + + label24 + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 122 + + + True + + + NoControl + + + 1310, 1178 + + + 4, 5, 4, 5 + + + 22, 21 + + + 152 + + + False + + + checkBox48 + + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 48 + + + Verdana, 9.75pt + + + 1017, 1171 + + + 4, 5, 4, 5 + + + 242, 33 + + + 151 + + + False + + + comboBox48 + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 49 + + + True + + + Verdana, 9.75pt + + + NoControl + + + 730, 1175 + + + 4, 0, 4, 0 + + + 158, 25 + + + 150 + + + Serial Number + + + False + + + label48 + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 50 + + + True + + + NoControl + + + 1310, 1134 + + + 4, 5, 4, 5 + + + 22, 21 + + + 149 + + + False + + + checkBox47 + + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 51 + + + Verdana, 9.75pt + + + 1017, 1126 + + + 4, 5, 4, 5 + + + 242, 33 + + + 148 + + + False + + + comboBox47 + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 52 + + + True + + + Verdana, 9.75pt + + + NoControl + + + 730, 1131 + + + 4, 0, 4, 0 + + + 158, 25 + + + 147 + + + Serial Number + + + False + + + label47 + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 53 + + + True + + + NoControl + + + 1310, 1089 + + + 4, 5, 4, 5 + + + 22, 21 + + + 146 + + + False + + + checkBox46 + + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 54 + + + Verdana, 9.75pt + + + 1017, 1082 + + + 4, 5, 4, 5 + + + 242, 33 + + + 145 + + + False + + + comboBox46 + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 55 + + + True + + + Verdana, 9.75pt + + + NoControl + + + 730, 1086 + + + 4, 0, 4, 0 + + + 158, 25 + + + 144 + + + Serial Number + + + False + + + label46 + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 56 + + + True + + + NoControl + + + 1310, 1045 + + + 4, 5, 4, 5 + + + 22, 21 + + + 143 + + + False + + + checkBox45 + + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 57 + + + Verdana, 9.75pt + + + 1017, 1037 + + + 4, 5, 4, 5 + + + 242, 33 + + + 142 + + + False + + + comboBox45 + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 58 + + + True + + + Verdana, 9.75pt + + + NoControl + + + 730, 1042 + + + 4, 0, 4, 0 + + + 158, 25 + + + 141 + + + Serial Number + + + False + + + label45 + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 59 + + + True + + + NoControl + + + 1310, 1000 + + + 4, 5, 4, 5 + + + 22, 21 + + + 140 + + + False + + + checkBox44 + + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 60 + + + Verdana, 9.75pt + + + 1017, 992 + + + 4, 5, 4, 5 + + + 242, 33 + + + 139 + + + False + + + comboBox44 + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 61 + + + True + + + Verdana, 9.75pt + + + NoControl + + + 730, 997 + + + 4, 0, 4, 0 + + + 158, 25 + + + 138 + + + Serial Number + + + False + + + label44 + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 62 + + + True + + + NoControl + + + 1310, 955 + + + 4, 5, 4, 5 + + + 22, 21 + + + 137 + + + False + + + checkBox43 + + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 63 + + + Verdana, 9.75pt + + + 1017, 948 + + + 4, 5, 4, 5 + + + 242, 33 + + + 136 + + + False + + + comboBox43 + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 64 + + + True + + + Verdana, 9.75pt + + + NoControl + + + 730, 952 + + + 4, 0, 4, 0 + + + 158, 25 + + + 135 + + + Serial Number + + + False + + + label43 + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 65 + + + True + + + NoControl + + + 1310, 911 + + + 4, 5, 4, 5 + + + 22, 21 + + + 134 + + + False + + + checkBox42 + + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 66 + + + Verdana, 9.75pt + + + 1017, 903 + + + 4, 5, 4, 5 + + + 242, 33 + + + 133 + + + False + + + comboBox42 + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 67 + + + True + + + Verdana, 9.75pt + + + NoControl + + + 730, 908 + + + 4, 0, 4, 0 + + + 158, 25 + + + 132 + + + Serial Number + + + False + + + label42 + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 68 + + + True + + + NoControl + + + 1310, 866 + + + 4, 5, 4, 5 + + + 22, 21 + + + 131 + + + False + + + checkBox41 + + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 69 + + + Verdana, 9.75pt + + + 1017, 858 + + + 4, 5, 4, 5 + + + 242, 33 + + + 130 + + + False + + + comboBox41 + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 70 + + + True + + + Verdana, 9.75pt + + + NoControl + + + 730, 863 + + + 4, 0, 4, 0 + + + 158, 25 + + + 129 + + + Serial Number + + + False + + + label41 + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 71 + + + True + + + NoControl + + + 1310, 822 + + + 4, 5, 4, 5 + + + 22, 21 + + + 128 + + + False + + + checkBox40 + + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 72 + + + Verdana, 9.75pt + + + 1017, 814 + + + 4, 5, 4, 5 + + + 242, 33 + + + 127 + + + False + + + comboBox40 + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 73 + + + True + + + Verdana, 9.75pt + + + NoControl + + + 730, 818 + + + 4, 0, 4, 0 + + + 158, 25 + + + 126 + + + Serial Number + + + False + + + label40 + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 74 + + + True + + + NoControl + + + 1310, 777 + + + 4, 5, 4, 5 + + + 22, 21 + + + 125 + + + False + + + checkBox39 + + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 75 + + + Verdana, 9.75pt + + + 1017, 769 + + + 4, 5, 4, 5 + + + 242, 33 + + + 124 + + + False + + + comboBox39 + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 76 + + + True + + + Verdana, 9.75pt + + + NoControl + + + 730, 774 + + + 4, 0, 4, 0 + + + 158, 25 + + + 123 + + + Serial Number + + + False + + + label39 + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 77 + + + True + + + NoControl + + + 1310, 732 + + + 4, 5, 4, 5 + + + 22, 21 + + + 122 + + + False + + + checkBox38 + + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 78 + + + Verdana, 9.75pt + + + 1017, 725 + + + 4, 5, 4, 5 + + + 242, 33 + + + 121 + + + False + + + comboBox38 + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 79 + + + True + + + Verdana, 9.75pt + + + NoControl + + + 730, 729 + + + 4, 0, 4, 0 + + + 158, 25 + + + 120 + + + Serial Number + + + False + + + label38 + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 80 + + + True + + + NoControl + + + 1310, 688 + + + 4, 5, 4, 5 + + + 22, 21 + + + 119 + + + False + + + checkBox37 + + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 81 + + + Verdana, 9.75pt + + + 1017, 680 + + + 4, 5, 4, 5 + + + 242, 33 + + + 118 + + + False + + + comboBox37 + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 82 + + + True + + + Verdana, 9.75pt + + + NoControl + + + 730, 685 + + + 4, 0, 4, 0 + + + 158, 25 + + + 117 + + + Serial Number + + + False + + + label37 + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 83 + + + True + + + NoControl + + + 1310, 643 + + + 4, 5, 4, 5 + + + 22, 21 + + + 116 + + + False + + + checkBox36 + + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 84 + + + Verdana, 9.75pt + + + 1017, 635 + + + 4, 5, 4, 5 + + + 242, 33 + + + 115 + + + False + + + comboBox36 + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 85 + + + True + + + Verdana, 9.75pt + + + NoControl + + + 730, 640 + + + 4, 0, 4, 0 + + + 158, 25 + + + 114 + + + Serial Number + + + False + + + label36 + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 86 + + + True + + + NoControl + + + 1310, 598 + + + 4, 5, 4, 5 + + + 22, 21 + + + 113 + + + False + + + checkBox35 + + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 87 + + + Verdana, 9.75pt + + + 1017, 591 + + + 4, 5, 4, 5 + + + 242, 33 + + + 112 + + + False + + + comboBox35 + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 88 + + + True + + + Verdana, 9.75pt + + + NoControl + + + 730, 595 + + + 4, 0, 4, 0 + + + 158, 25 + + + 111 + + + Serial Number + + + False + + + label35 + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 89 + + + True + + + NoControl + + + 1310, 554 + + + 4, 5, 4, 5 + + + 22, 21 + + + 110 + + + False + + + checkBox34 + + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 90 + + + Verdana, 9.75pt + + + 1017, 546 + + + 4, 5, 4, 5 + + + 242, 33 + + + 109 + + + False + + + comboBox34 + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 91 + + + True + + + Verdana, 9.75pt + + + NoControl + + + 730, 551 + + + 4, 0, 4, 0 + + + 158, 25 + + + 108 + + + Serial Number + + + False + + + label34 + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 92 + + + True + + + NoControl + + + 1310, 509 + + + 4, 5, 4, 5 + + + 22, 21 + + + 107 + + + False + + + checkBox33 + + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 93 + + + Verdana, 9.75pt + + + 1017, 502 + + + 4, 5, 4, 5 + + + 242, 33 + + + 106 + + + False + + + comboBox33 + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 94 + + + True + + + Verdana, 9.75pt + + + NoControl + + + 730, 506 + + + 4, 0, 4, 0 + + + 158, 25 + + + 105 + + + Serial Number + + + False + + + label33 + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 95 + + + True + + + NoControl + + + 1310, 465 + + + 4, 5, 4, 5 + + + 22, 21 + + + 104 + + + False + + + checkBox32 + + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 96 + + + Verdana, 9.75pt + + + 1017, 457 + + + 4, 5, 4, 5 + + + 242, 33 + + + 103 + + + False + + + comboBox32 + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 97 + + + True + + + Verdana, 9.75pt + + + NoControl + + + 730, 462 + + + 4, 0, 4, 0 + + + 158, 25 + + + 102 + + + Serial Number + + + False + + + label32 + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 98 + + + True + + + NoControl + + + 1310, 420 + + + 4, 5, 4, 5 + + + 22, 21 + + + 101 + + + False + + + checkBox31 + + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 99 + + + Verdana, 9.75pt + + + 1017, 412 + + + 4, 5, 4, 5 + + + 242, 33 + + + 100 + + + False + + + comboBox31 + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 100 + + + True + + + Verdana, 9.75pt + + + NoControl + + + 730, 417 + + + 4, 0, 4, 0 + + + 158, 25 + + + 99 + + + Serial Number + + + False + + + label31 + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 101 + + + True + + + NoControl + + + 1310, 375 + + + 4, 5, 4, 5 + + + 22, 21 + + + 98 + + + False + + + checkBox30 + + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 102 + + + Verdana, 9.75pt + + + 1017, 368 + + + 4, 5, 4, 5 + + + 242, 33 + + + 97 + + + False + + + comboBox30 + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 103 + + + True + + + Verdana, 9.75pt + + + NoControl + + + 730, 372 + + + 4, 0, 4, 0 + + + 158, 25 + + + 96 + + + Serial Number + + + False + + + label30 + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 104 + + + True + + + NoControl + + + 1310, 331 + + + 4, 5, 4, 5 + + + 22, 21 + + + 95 + + + False + + + checkBox29 + + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 105 + + + Verdana, 9.75pt + + + 1017, 323 + + + 4, 5, 4, 5 + + + 242, 33 + + + 94 + + + False + + + comboBox29 + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 106 + + + True + + + Verdana, 9.75pt + + + NoControl + + + 730, 328 + + + 4, 0, 4, 0 + + + 158, 25 + + + 93 + + + Serial Number + + + False + + + label29 + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 107 + + + True + + + NoControl + + + 1310, 286 + + + 4, 5, 4, 5 + + + 22, 21 + + + 92 + + + False + + + checkBox28 + + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 108 + + + Verdana, 9.75pt + + + 1017, 278 + + + 4, 5, 4, 5 + + + 242, 33 + + + 91 + + + False + + + comboBox28 + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 109 + + + True + + + Verdana, 9.75pt + + + NoControl + + + 730, 283 + + + 4, 0, 4, 0 + + + 158, 25 + + + 90 + + + Serial Number + + + False + + + label28 + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 110 + + + True + + + NoControl + + + 1310, 242 + + + 4, 5, 4, 5 + + + 22, 21 + + + 89 + + + False + + + checkBox27 + + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 111 + + + Verdana, 9.75pt + + + 1017, 234 + + + 4, 5, 4, 5 + + + 242, 33 + + + 88 + + + False + + + comboBox27 + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 112 + + + True + + + Verdana, 9.75pt + + + NoControl + + + 730, 238 + + + 4, 0, 4, 0 + + + 158, 25 + + + 87 + + + Serial Number + + + False + + + label27 + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 113 + + + True + + + NoControl + + + 1310, 197 + + + 4, 5, 4, 5 + + + 22, 21 + + + 86 + + + False + + + checkBox26 + + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 114 + + + Verdana, 9.75pt + + + 1017, 189 + + + 4, 5, 4, 5 + + + 242, 33 + + + 85 + + + False + + + comboBox26 + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 115 + + + True + + + Verdana, 9.75pt + + + NoControl + + + 730, 194 + + + 4, 0, 4, 0 + + + 158, 25 + + + 84 + + + Serial Number + + + False + + + label26 + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 116 + + + True + + + NoControl + + + 1310, 152 + + + 4, 5, 4, 5 + + + 22, 21 + + + 83 + + + False + + + checkBox25 + + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 117 + + + Verdana, 9.75pt + + + 1017, 145 + + + 4, 5, 4, 5 + + + 242, 33 + + + 82 + + + False + + + comboBox25 + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 118 + + + True + + + Verdana, 9.75pt + + + NoControl + + + 730, 149 + + + 4, 0, 4, 0 + + + 158, 25 + + + 81 + + + Serial Number + + + False + + + label25 + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 119 + + + Verdana, 9.75pt + + + 207, 145 + + + 94, 33 + + + 153 + + + False + + + comboBoxN1 + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 47 + + + Verdana, 9.75pt + + + 207, 189 + + + 94, 33 + + + 154 + + + False + + + comboBoxN2 + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 46 + + + Verdana, 9.75pt + + + 207, 234 + + + 94, 33 + + + 155 + + + False + + + comboBoxN3 + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 45 + + + Verdana, 9.75pt + + + 207, 278 + + + 94, 33 + + + 156 + + + False + + + comboBoxN4 + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 44 + + + Verdana, 9.75pt + + + 207, 323 + + + 94, 33 + + + 157 + + + False + + + comboBoxN5 + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 43 + + + Verdana, 9.75pt + + + 207, 368 + + + 94, 33 + + + 158 + + + False + + + comboBoxN6 + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 42 + + + Verdana, 9.75pt + + + 207, 412 + + + 94, 33 + + + 159 + + + False + + + comboBoxN7 + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 41 + + + Verdana, 9.75pt + + + 207, 457 + + + 94, 33 + + + 160 + + + False + + + comboBoxN8 + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 40 + + + Verdana, 9.75pt + + + 207, 502 + + + 94, 33 + + + 161 + + + False + + + comboBoxN9 + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 39 + + + Verdana, 9.75pt + + + 207, 546 + + + 94, 33 + + + 162 + + + False + + + comboBoxN10 + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 38 + + + Verdana, 9.75pt + + + 207, 591 + + + 94, 33 + + + 163 + + + False + + + comboBoxN11 + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 37 + + + Verdana, 9.75pt + + + 207, 635 + + + 94, 33 + + + 164 + + + False + + + comboBoxN12 + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 36 + + + Verdana, 9.75pt + + + 207, 680 + + + 94, 33 + + + 165 + + + False + + + comboBoxN13 + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 35 + + + Verdana, 9.75pt + + + 207, 725 + + + 94, 33 + + + 166 + + + False + + + comboBoxN14 + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 34 + + + Verdana, 9.75pt + + + 207, 769 + + + 94, 33 + + + 167 + + + False + + + comboBoxN15 + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 33 + + + Verdana, 9.75pt + + + 207, 814 + + + 94, 33 + + + 168 + + + False + + + comboBoxN16 + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 32 + + + Verdana, 9.75pt + + + 207, 858 + + + 94, 33 + + + 169 + + + False + + + comboBoxN17 + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 31 + + + Verdana, 9.75pt + + + 207, 903 + + + 94, 33 + + + 170 + + + False + + + comboBoxN18 + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 30 + + + Verdana, 9.75pt + + + 207, 948 + + + 94, 33 + + + 171 + + + False + + + comboBoxN19 + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 29 + + + Verdana, 9.75pt + + + 207, 992 + + + 94, 33 + + + 172 + + + False + + + comboBoxN20 + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 28 + + + Verdana, 9.75pt + + + 207, 1037 + + + 94, 33 + + + 173 + + + False + + + comboBoxN21 + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 27 + + + Verdana, 9.75pt + + + 207, 1082 + + + 94, 33 + + + 174 + + + False + + + comboBoxN22 + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 26 + + + Verdana, 9.75pt + + + 207, 1126 + + + 94, 33 + + + 175 + + + False + + + comboBoxN23 + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 25 + + + Verdana, 9.75pt + + + 207, 1171 + + + 94, 33 + + + 176 + + + False + + + comboBoxN24 + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 24 + + + Verdana, 9.75pt + + + 901, 1171 + + + 94, 33 + + + 200 + + + False + + + comboBoxN48 + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 0 + + + Verdana, 9.75pt + + + 901, 1126 + + + 94, 33 + + + 199 + + + False + + + comboBoxN47 + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 1 + + + Verdana, 9.75pt + + + 901, 1082 + + + 94, 33 + + + 198 + + + False + + + comboBoxN46 + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 2 + + + Verdana, 9.75pt + + + 901, 1037 + + + 94, 33 + + + 197 + + + False + + + comboBoxN45 + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 3 + + + Verdana, 9.75pt + + + 901, 992 + + + 94, 33 + + + 196 + + + False + + + comboBoxN44 + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 4 + + + Verdana, 9.75pt + + + 901, 948 + + + 94, 33 + + + 195 + + + False + + + comboBoxN43 + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 5 + + + Verdana, 9.75pt + + + 901, 903 + + + 94, 33 + + + 194 + + + False + + + comboBoxN42 + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 6 + + + Verdana, 9.75pt + + + 901, 858 + + + 94, 33 + + + 193 + + + False + + + comboBoxN41 + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 7 + + + Verdana, 9.75pt + + + 901, 814 + + + 94, 33 + + + 192 + + + False + + + comboBoxN40 + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 8 + + + Verdana, 9.75pt + + + 901, 769 + + + 94, 33 + + + 191 + + + False + + + comboBoxN39 + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 9 + + + Verdana, 9.75pt + + + 901, 725 + + + 94, 33 + + + 190 + + + False + + + comboBoxN38 + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 10 + + + Verdana, 9.75pt + + + 901, 680 + + + 94, 33 + + + 189 + + + False + + + comboBoxN37 + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 11 + + + Verdana, 9.75pt + + + 901, 635 + + + 94, 33 + + + 188 + + + False + + + comboBoxN36 + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 12 + + + Verdana, 9.75pt + + + 901, 591 + + + 94, 33 + + + 187 + + + False + + + comboBoxN35 + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 13 + + + Verdana, 9.75pt + + + 901, 546 + + + 94, 33 + + + 186 + + + False + + + comboBoxN34 + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 14 + + + Verdana, 9.75pt + + + 901, 502 + + + 94, 33 + + + 185 + + + False + + + comboBoxN33 + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 15 + + + Verdana, 9.75pt + + + 901, 457 + + + 94, 33 + + + 184 + + + False + + + comboBoxN32 + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 16 + + + Verdana, 9.75pt + + + 901, 412 + + + 94, 33 + + + 183 + + + False + + + comboBoxN31 + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 17 + + + Verdana, 9.75pt + + + 901, 368 + + + 94, 33 + + + 182 + + + False + + + comboBoxN30 + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 18 + + + Verdana, 9.75pt + + + 901, 323 + + + 94, 33 + + + 181 + + + False + + + comboBoxN29 + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 19 + + + Verdana, 9.75pt + + + 901, 278 + + + 94, 33 + + + 180 + + + False + + + comboBoxN28 + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 20 + + + Verdana, 9.75pt + + + 901, 234 + + + 94, 33 + + + 179 + + + False + + + comboBoxN27 + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 21 + + + Verdana, 9.75pt + + + 901, 189 + + + 94, 33 + + + 178 + + + False + + + comboBoxN26 + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 22 + + + Verdana, 9.75pt + + + 901, 145 + + + 94, 33 + + + 177 + + + False + + + comboBoxN25 + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 23 + + + True + + + 9, 20 + + + True + + + 1378, 1250 + + + 4, 5, 4, 5 + + + CenterParent + + + Batch data + + + CycleBeginningForm + + + System.Windows.Forms.Form, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/TBF/Rig/DataEntry/StandartCameraPurchaseOrder/CycleBeginningForm.ru.resx b/TBF/Rig/DataEntry/StandartCameraPurchaseOrder/CycleBeginningForm.ru.resx new file mode 100644 index 000000000..23293d04f --- /dev/null +++ b/TBF/Rig/DataEntry/StandartCameraPurchaseOrder/CycleBeginningForm.ru.resx @@ -0,0 +1,276 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + OK + + + Порядок + + + Очистить + + + Серийный номер 1 + + + Серийный номер 2 + + + Серийный номер 3 + + + Серийный номер 4 + + + Серийный номер 5 + + + Серийный номер 6 + + + Серийный номер 7 + + + Серийный номер 8 + + + Серийный номер 9 + + + Серийный номер 10 + + + Серийный номер 11 + + + Серийный номер 12 + + + Серийный номер 13 + + + Серийный номер 14 + + + Серийный номер 15 + + + Серийный номер 16 + + + Серийный номер 17 + + + Серийный номер 18 + + + Серийный номер 19 + + + Серийный номер 20 + + + Серийный номер 21 + + + Серийный номер 22 + + + Серийный номер 23 + + + Серийный номер 24 + + + Серийный номер 48 + + + Серийный номер 47 + + + Серийный номер 46 + + + Серийный номер 45 + + + Серийный номер 44 + + + Серийный номер 43 + + + Серийный номер 42 + + + Серийный номер 41 + + + Серийный номер 40 + + + Серийный номер 39 + + + Серийный номер 38 + + + Серийный номер 37 + + + Серийный номер 36 + + + Серийный номер 35 + + + Серийный номер 34 + + + Серийный номер 33 + + + Серийный номер 32 + + + Серийный номер 31 + + + Серийный номер 30 + + + Серийный номер 29 + + + Серийный номер 28 + + + Серийный номер 27 + + + Серийный номер 26 + + + Серийный номер 25 + + + Пакетные данные + + \ No newline at end of file diff --git a/TBF/Rig/DataEntry/StandartCameraPurchaseOrder/CycleEndForm.cs b/TBF/Rig/DataEntry/StandartCameraPurchaseOrder/CycleEndForm.cs new file mode 100644 index 000000000..f088f8f18 --- /dev/null +++ b/TBF/Rig/DataEntry/StandartCameraPurchaseOrder/CycleEndForm.cs @@ -0,0 +1,165 @@ +/// +/// Copyright (c) 2017 Sensus Slovensko a.s. +/// +using System; +using System.Windows.Forms; +using log4net; +using TBF.Resources; + +namespace TBF.Rig.DataEntry.StandartCameraPurchaseOrder +{ + public partial class CycleEndForm : Form, GenericDevices.IHasCompleted + { + private static readonly ILog log = LogManager.GetLogger(typeof(CycleEndForm)); + + /// Number of text boxes for serial numbers + public readonly int WaterMetersCount; + readonly int lineSize; + + // To be retrieved after the form closes + public string[] EndStateText; + + // Set to 'true' when the form closes + public bool Completed { get { return completed; } } + bool completed; + + int textBoxesCount; + Label[] labels; + TextBox[] textBoxes; + + + /// + /// Constructor + /// + /// Number of text boxes for serial numbers + public CycleEndForm() + { + InitializeComponent(); + ControlBox = false; + + labels = new Label[] + { + label1, label2, label3, label4, label5, label6, label7, label8, label9, label10, + label11, label12, label13, label14, label15, label16, label17, label18, label19, label20, + label21, label22, label23, label24, + }; + textBoxes = new TextBox[] + { + textBox1, textBox2, textBox3, textBox4, textBox5, textBox6, + textBox7, textBox8, textBox9, textBox10, textBox11, textBox12, + textBox13, textBox14, textBox15, textBox16, textBox17, textBox18, + textBox19, textBox20, textBox21, textBox22, textBox23, textBox24, + }; + textBoxesCount = textBoxes.Length; + this.WaterMetersCount = textBoxesCount; + this.lineSize = textBoxesCount / 2; + + completed = false; + StartForceCloseHandler(); + } + + /// Parameterless constructor for 3 watermeters + public CycleEndForm(int waterMetersCount, int lineSize) + : this() + { + this.WaterMetersCount = waterMetersCount; + this.lineSize = lineSize; + ShuffleTextBoxes(waterMetersCount, lineSize); + EndStateText = new string[WaterMetersCount]; + } + + /// + /// Make sure the layout of labels/text boxes on the screen + /// corresponds to the layout of watermeters of the test bench. + /// + /// Number of watermeters + /// Number of watermeters in one line + void ShuffleTextBoxes(int wmsCount, int lineSize) + { + for (int i = 0; i < textBoxesCount; i++) + { + labels[i].Visible = false; + textBoxes[i].Visible = false; + } + + if (wmsCount < textBoxesCount && lineSize > 0) + { + int nrLines; + int realLineSize; + if (WaterMetersCount <= 6) + { + realLineSize = WaterMetersCount; + nrLines = 1; + } + else + { + nrLines = (wmsCount + lineSize - 1) / lineSize; + realLineSize = lineSize; + } + int gap = (textBoxesCount - wmsCount) / nrLines; + + int dest = 0; + for (int l = 0; l < nrLines; l++) + { + for (int i = 0; i < realLineSize; i++) + { + labels[dest] = labels[l * lineSize + l * gap + i]; + textBoxes[dest] = textBoxes[l * lineSize + l * gap + i]; + labels[dest].Visible = true; + textBoxes[dest].Visible = true; + dest++; + } + } + textBoxesCount = wmsCount; + + Height = 60 + 36 * realLineSize; + } + } + + private void CycleEndForm_Load(object sender, EventArgs e) + { + Localize(); + } + + void Localize() + { + Text = Strings.Data; + okButton.Text = Strings.OkBtnText; + + for (int i = 0; i < WaterMetersCount; i++) + { + labels[i].Text = string.Format("{0} {1}:", Strings.Water_Meter, (i + 1).ToString()); + } + } + + private void okButton_Click(object sender, EventArgs e) + { + for (int i = 0; i < WaterMetersCount; i++) + { + EndStateText[i] = textBoxes[i].Text; + } + + completed = true; + Close(); + } + + #region Forced close handling + + public void StartForceCloseHandler() + { + UiBridge.Bridge.CloseModelessFormHandler += delegate(object sender, EventArgs args) + { + if (InvokeRequired) { Invoke(new EventHandler(OnForceClose), sender, args); } + else OnForceClose(sender, args); + }; + } + + void OnForceClose(object sender, EventArgs args) + { + DialogResult = DialogResult.Cancel; + Close(); + } + + #endregion + } +} diff --git a/TBF/Rig/DataEntry/StandartCameraPurchaseOrder/CycleEndForm.designer.cs b/TBF/Rig/DataEntry/StandartCameraPurchaseOrder/CycleEndForm.designer.cs new file mode 100644 index 000000000..831b39b01 --- /dev/null +++ b/TBF/Rig/DataEntry/StandartCameraPurchaseOrder/CycleEndForm.designer.cs @@ -0,0 +1,652 @@ +/// +/// Copyright (c) 2015 Sensus Metering Systems +/// +namespace TBF.Rig.DataEntry.StandartCameraPurchaseOrder +{ + partial class CycleEndForm + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.textBox2 = new System.Windows.Forms.TextBox(); + this.label2 = new System.Windows.Forms.Label(); + this.textBox1 = new System.Windows.Forms.TextBox(); + this.label1 = new System.Windows.Forms.Label(); + this.okButton = new System.Windows.Forms.Button(); + this.textBox3 = new System.Windows.Forms.TextBox(); + this.label3 = new System.Windows.Forms.Label(); + this.textBox4 = new System.Windows.Forms.TextBox(); + this.label4 = new System.Windows.Forms.Label(); + this.textBox5 = new System.Windows.Forms.TextBox(); + this.label5 = new System.Windows.Forms.Label(); + this.textBox6 = new System.Windows.Forms.TextBox(); + this.label6 = new System.Windows.Forms.Label(); + this.textBox7 = new System.Windows.Forms.TextBox(); + this.label7 = new System.Windows.Forms.Label(); + this.textBox8 = new System.Windows.Forms.TextBox(); + this.label8 = new System.Windows.Forms.Label(); + this.textBox9 = new System.Windows.Forms.TextBox(); + this.label9 = new System.Windows.Forms.Label(); + this.textBox10 = new System.Windows.Forms.TextBox(); + this.label10 = new System.Windows.Forms.Label(); + this.textBox11 = new System.Windows.Forms.TextBox(); + this.label11 = new System.Windows.Forms.Label(); + this.textBox12 = new System.Windows.Forms.TextBox(); + this.label12 = new System.Windows.Forms.Label(); + this.textBox13 = new System.Windows.Forms.TextBox(); + this.label13 = new System.Windows.Forms.Label(); + this.textBox14 = new System.Windows.Forms.TextBox(); + this.label14 = new System.Windows.Forms.Label(); + this.textBox15 = new System.Windows.Forms.TextBox(); + this.label15 = new System.Windows.Forms.Label(); + this.textBox16 = new System.Windows.Forms.TextBox(); + this.label16 = new System.Windows.Forms.Label(); + this.textBox17 = new System.Windows.Forms.TextBox(); + this.label17 = new System.Windows.Forms.Label(); + this.textBox18 = new System.Windows.Forms.TextBox(); + this.label18 = new System.Windows.Forms.Label(); + this.textBox19 = new System.Windows.Forms.TextBox(); + this.label19 = new System.Windows.Forms.Label(); + this.textBox20 = new System.Windows.Forms.TextBox(); + this.label20 = new System.Windows.Forms.Label(); + this.textBox21 = new System.Windows.Forms.TextBox(); + this.label21 = new System.Windows.Forms.Label(); + this.textBox22 = new System.Windows.Forms.TextBox(); + this.label22 = new System.Windows.Forms.Label(); + this.textBox23 = new System.Windows.Forms.TextBox(); + this.label23 = new System.Windows.Forms.Label(); + this.textBox24 = new System.Windows.Forms.TextBox(); + this.label24 = new System.Windows.Forms.Label(); + this.SuspendLayout(); + // + // textBox2 + // + this.textBox2.Location = new System.Drawing.Point(205, 66); + this.textBox2.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4); + this.textBox2.Name = "textBox2"; + this.textBox2.Size = new System.Drawing.Size(169, 27); + this.textBox2.TabIndex = 1; + // + // label2 + // + this.label2.AutoSize = true; + this.label2.Location = new System.Drawing.Point(38, 71); + this.label2.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(62, 18); + this.label2.TabIndex = 0; + this.label2.Text = "Stand:"; + // + // textBox1 + // + this.textBox1.Location = new System.Drawing.Point(205, 30); + this.textBox1.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4); + this.textBox1.Name = "textBox1"; + this.textBox1.Size = new System.Drawing.Size(169, 27); + this.textBox1.TabIndex = 1; + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Location = new System.Drawing.Point(38, 35); + this.label1.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(62, 18); + this.label1.TabIndex = 0; + this.label1.Text = "Stand:"; + // + // okButton + // + this.okButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.okButton.Font = new System.Drawing.Font("Verdana", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.okButton.ForeColor = System.Drawing.Color.Black; + this.okButton.Location = new System.Drawing.Point(832, 30); + this.okButton.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4); + this.okButton.Name = "okButton"; + this.okButton.Size = new System.Drawing.Size(90, 60); + this.okButton.TabIndex = 7; + this.okButton.Text = "OK"; + this.okButton.UseVisualStyleBackColor = true; + this.okButton.Click += new System.EventHandler(this.okButton_Click); + // + // textBox3 + // + this.textBox3.Location = new System.Drawing.Point(205, 102); + this.textBox3.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4); + this.textBox3.Name = "textBox3"; + this.textBox3.Size = new System.Drawing.Size(169, 27); + this.textBox3.TabIndex = 1; + // + // label3 + // + this.label3.AutoSize = true; + this.label3.Location = new System.Drawing.Point(38, 107); + this.label3.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); + this.label3.Name = "label3"; + this.label3.Size = new System.Drawing.Size(62, 18); + this.label3.TabIndex = 0; + this.label3.Text = "Stand:"; + // + // textBox4 + // + this.textBox4.Location = new System.Drawing.Point(205, 138); + this.textBox4.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4); + this.textBox4.Name = "textBox4"; + this.textBox4.Size = new System.Drawing.Size(169, 27); + this.textBox4.TabIndex = 1; + // + // label4 + // + this.label4.AutoSize = true; + this.label4.Location = new System.Drawing.Point(38, 143); + this.label4.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); + this.label4.Name = "label4"; + this.label4.Size = new System.Drawing.Size(62, 18); + this.label4.TabIndex = 0; + this.label4.Text = "Stand:"; + // + // textBox5 + // + this.textBox5.Location = new System.Drawing.Point(205, 174); + this.textBox5.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4); + this.textBox5.Name = "textBox5"; + this.textBox5.Size = new System.Drawing.Size(169, 27); + this.textBox5.TabIndex = 1; + // + // label5 + // + this.label5.AutoSize = true; + this.label5.Location = new System.Drawing.Point(38, 179); + this.label5.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); + this.label5.Name = "label5"; + this.label5.Size = new System.Drawing.Size(62, 18); + this.label5.TabIndex = 0; + this.label5.Text = "Stand:"; + // + // textBox6 + // + this.textBox6.Location = new System.Drawing.Point(205, 210); + this.textBox6.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4); + this.textBox6.Name = "textBox6"; + this.textBox6.Size = new System.Drawing.Size(169, 27); + this.textBox6.TabIndex = 1; + // + // label6 + // + this.label6.AutoSize = true; + this.label6.Location = new System.Drawing.Point(38, 215); + this.label6.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); + this.label6.Name = "label6"; + this.label6.Size = new System.Drawing.Size(62, 18); + this.label6.TabIndex = 0; + this.label6.Text = "Stand:"; + // + // textBox7 + // + this.textBox7.Location = new System.Drawing.Point(205, 246); + this.textBox7.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4); + this.textBox7.Name = "textBox7"; + this.textBox7.Size = new System.Drawing.Size(169, 27); + this.textBox7.TabIndex = 9; + // + // label7 + // + this.label7.AutoSize = true; + this.label7.Location = new System.Drawing.Point(38, 251); + this.label7.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); + this.label7.Name = "label7"; + this.label7.Size = new System.Drawing.Size(62, 18); + this.label7.TabIndex = 8; + this.label7.Text = "Stand:"; + // + // textBox8 + // + this.textBox8.Location = new System.Drawing.Point(205, 282); + this.textBox8.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4); + this.textBox8.Name = "textBox8"; + this.textBox8.Size = new System.Drawing.Size(169, 27); + this.textBox8.TabIndex = 11; + // + // label8 + // + this.label8.AutoSize = true; + this.label8.Location = new System.Drawing.Point(38, 287); + this.label8.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); + this.label8.Name = "label8"; + this.label8.Size = new System.Drawing.Size(62, 18); + this.label8.TabIndex = 10; + this.label8.Text = "Stand:"; + // + // textBox9 + // + this.textBox9.Location = new System.Drawing.Point(205, 318); + this.textBox9.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4); + this.textBox9.Name = "textBox9"; + this.textBox9.Size = new System.Drawing.Size(169, 27); + this.textBox9.TabIndex = 13; + // + // label9 + // + this.label9.AutoSize = true; + this.label9.Location = new System.Drawing.Point(38, 323); + this.label9.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); + this.label9.Name = "label9"; + this.label9.Size = new System.Drawing.Size(62, 18); + this.label9.TabIndex = 12; + this.label9.Text = "Stand:"; + // + // textBox10 + // + this.textBox10.Location = new System.Drawing.Point(205, 354); + this.textBox10.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4); + this.textBox10.Name = "textBox10"; + this.textBox10.Size = new System.Drawing.Size(169, 27); + this.textBox10.TabIndex = 15; + // + // label10 + // + this.label10.AutoSize = true; + this.label10.Location = new System.Drawing.Point(38, 359); + this.label10.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); + this.label10.Name = "label10"; + this.label10.Size = new System.Drawing.Size(62, 18); + this.label10.TabIndex = 14; + this.label10.Text = "Stand:"; + // + // textBox11 + // + this.textBox11.Location = new System.Drawing.Point(205, 390); + this.textBox11.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4); + this.textBox11.Name = "textBox11"; + this.textBox11.Size = new System.Drawing.Size(169, 27); + this.textBox11.TabIndex = 17; + // + // label11 + // + this.label11.AutoSize = true; + this.label11.Location = new System.Drawing.Point(38, 395); + this.label11.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); + this.label11.Name = "label11"; + this.label11.Size = new System.Drawing.Size(62, 18); + this.label11.TabIndex = 16; + this.label11.Text = "Stand:"; + // + // textBox12 + // + this.textBox12.Location = new System.Drawing.Point(205, 426); + this.textBox12.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4); + this.textBox12.Name = "textBox12"; + this.textBox12.Size = new System.Drawing.Size(169, 27); + this.textBox12.TabIndex = 19; + // + // label12 + // + this.label12.AutoSize = true; + this.label12.Location = new System.Drawing.Point(38, 431); + this.label12.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); + this.label12.Name = "label12"; + this.label12.Size = new System.Drawing.Size(62, 18); + this.label12.TabIndex = 18; + this.label12.Text = "Stand:"; + // + // textBox13 + // + this.textBox13.Location = new System.Drawing.Point(623, 30); + this.textBox13.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4); + this.textBox13.Name = "textBox13"; + this.textBox13.Size = new System.Drawing.Size(169, 27); + this.textBox13.TabIndex = 21; + // + // label13 + // + this.label13.AutoSize = true; + this.label13.Location = new System.Drawing.Point(456, 35); + this.label13.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); + this.label13.Name = "label13"; + this.label13.Size = new System.Drawing.Size(62, 18); + this.label13.TabIndex = 20; + this.label13.Text = "Stand:"; + // + // textBox14 + // + this.textBox14.Location = new System.Drawing.Point(623, 66); + this.textBox14.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4); + this.textBox14.Name = "textBox14"; + this.textBox14.Size = new System.Drawing.Size(169, 27); + this.textBox14.TabIndex = 23; + // + // label14 + // + this.label14.AutoSize = true; + this.label14.Location = new System.Drawing.Point(456, 71); + this.label14.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); + this.label14.Name = "label14"; + this.label14.Size = new System.Drawing.Size(62, 18); + this.label14.TabIndex = 22; + this.label14.Text = "Stand:"; + // + // textBox15 + // + this.textBox15.Location = new System.Drawing.Point(623, 102); + this.textBox15.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4); + this.textBox15.Name = "textBox15"; + this.textBox15.Size = new System.Drawing.Size(169, 27); + this.textBox15.TabIndex = 25; + // + // label15 + // + this.label15.AutoSize = true; + this.label15.Location = new System.Drawing.Point(456, 107); + this.label15.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); + this.label15.Name = "label15"; + this.label15.Size = new System.Drawing.Size(62, 18); + this.label15.TabIndex = 24; + this.label15.Text = "Stand:"; + // + // textBox16 + // + this.textBox16.Location = new System.Drawing.Point(623, 138); + this.textBox16.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4); + this.textBox16.Name = "textBox16"; + this.textBox16.Size = new System.Drawing.Size(169, 27); + this.textBox16.TabIndex = 27; + // + // label16 + // + this.label16.AutoSize = true; + this.label16.Location = new System.Drawing.Point(456, 143); + this.label16.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); + this.label16.Name = "label16"; + this.label16.Size = new System.Drawing.Size(62, 18); + this.label16.TabIndex = 26; + this.label16.Text = "Stand:"; + // + // textBox17 + // + this.textBox17.Location = new System.Drawing.Point(623, 174); + this.textBox17.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4); + this.textBox17.Name = "textBox17"; + this.textBox17.Size = new System.Drawing.Size(169, 27); + this.textBox17.TabIndex = 29; + // + // label17 + // + this.label17.AutoSize = true; + this.label17.Location = new System.Drawing.Point(456, 179); + this.label17.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); + this.label17.Name = "label17"; + this.label17.Size = new System.Drawing.Size(62, 18); + this.label17.TabIndex = 28; + this.label17.Text = "Stand:"; + // + // textBox18 + // + this.textBox18.Location = new System.Drawing.Point(623, 210); + this.textBox18.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4); + this.textBox18.Name = "textBox18"; + this.textBox18.Size = new System.Drawing.Size(169, 27); + this.textBox18.TabIndex = 31; + // + // label18 + // + this.label18.AutoSize = true; + this.label18.Location = new System.Drawing.Point(456, 215); + this.label18.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); + this.label18.Name = "label18"; + this.label18.Size = new System.Drawing.Size(62, 18); + this.label18.TabIndex = 30; + this.label18.Text = "Stand:"; + // + // textBox19 + // + this.textBox19.Location = new System.Drawing.Point(623, 246); + this.textBox19.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4); + this.textBox19.Name = "textBox19"; + this.textBox19.Size = new System.Drawing.Size(169, 27); + this.textBox19.TabIndex = 33; + // + // label19 + // + this.label19.AutoSize = true; + this.label19.Location = new System.Drawing.Point(456, 251); + this.label19.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); + this.label19.Name = "label19"; + this.label19.Size = new System.Drawing.Size(62, 18); + this.label19.TabIndex = 32; + this.label19.Text = "Stand:"; + // + // textBox20 + // + this.textBox20.Location = new System.Drawing.Point(623, 282); + this.textBox20.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4); + this.textBox20.Name = "textBox20"; + this.textBox20.Size = new System.Drawing.Size(169, 27); + this.textBox20.TabIndex = 35; + // + // label20 + // + this.label20.AutoSize = true; + this.label20.Location = new System.Drawing.Point(456, 287); + this.label20.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); + this.label20.Name = "label20"; + this.label20.Size = new System.Drawing.Size(62, 18); + this.label20.TabIndex = 34; + this.label20.Text = "Stand:"; + // + // textBox21 + // + this.textBox21.Location = new System.Drawing.Point(623, 318); + this.textBox21.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4); + this.textBox21.Name = "textBox21"; + this.textBox21.Size = new System.Drawing.Size(169, 27); + this.textBox21.TabIndex = 37; + // + // label21 + // + this.label21.AutoSize = true; + this.label21.Location = new System.Drawing.Point(456, 323); + this.label21.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); + this.label21.Name = "label21"; + this.label21.Size = new System.Drawing.Size(62, 18); + this.label21.TabIndex = 36; + this.label21.Text = "Stand:"; + // + // textBox22 + // + this.textBox22.Location = new System.Drawing.Point(623, 354); + this.textBox22.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4); + this.textBox22.Name = "textBox22"; + this.textBox22.Size = new System.Drawing.Size(169, 27); + this.textBox22.TabIndex = 39; + // + // label22 + // + this.label22.AutoSize = true; + this.label22.Location = new System.Drawing.Point(456, 359); + this.label22.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); + this.label22.Name = "label22"; + this.label22.Size = new System.Drawing.Size(62, 18); + this.label22.TabIndex = 38; + this.label22.Text = "Stand:"; + // + // textBox23 + // + this.textBox23.Location = new System.Drawing.Point(623, 390); + this.textBox23.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4); + this.textBox23.Name = "textBox23"; + this.textBox23.Size = new System.Drawing.Size(169, 27); + this.textBox23.TabIndex = 41; + // + // label23 + // + this.label23.AutoSize = true; + this.label23.Location = new System.Drawing.Point(456, 395); + this.label23.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); + this.label23.Name = "label23"; + this.label23.Size = new System.Drawing.Size(62, 18); + this.label23.TabIndex = 40; + this.label23.Text = "Stand:"; + // + // textBox24 + // + this.textBox24.Location = new System.Drawing.Point(623, 426); + this.textBox24.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4); + this.textBox24.Name = "textBox24"; + this.textBox24.Size = new System.Drawing.Size(169, 27); + this.textBox24.TabIndex = 43; + // + // label24 + // + this.label24.AutoSize = true; + this.label24.Location = new System.Drawing.Point(456, 431); + this.label24.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0); + this.label24.Name = "label24"; + this.label24.Size = new System.Drawing.Size(62, 18); + this.label24.TabIndex = 42; + this.label24.Text = "Stand:"; + // + // CycleEndForm + // + this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 18F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.BackColor = System.Drawing.Color.DarkGray; + this.ClientSize = new System.Drawing.Size(959, 489); + this.Controls.Add(this.textBox24); + this.Controls.Add(this.label24); + this.Controls.Add(this.textBox23); + this.Controls.Add(this.label23); + this.Controls.Add(this.textBox22); + this.Controls.Add(this.label22); + this.Controls.Add(this.textBox21); + this.Controls.Add(this.label21); + this.Controls.Add(this.textBox20); + this.Controls.Add(this.label20); + this.Controls.Add(this.textBox19); + this.Controls.Add(this.label19); + this.Controls.Add(this.textBox18); + this.Controls.Add(this.label18); + this.Controls.Add(this.textBox17); + this.Controls.Add(this.label17); + this.Controls.Add(this.textBox16); + this.Controls.Add(this.label16); + this.Controls.Add(this.textBox15); + this.Controls.Add(this.label15); + this.Controls.Add(this.textBox14); + this.Controls.Add(this.label14); + this.Controls.Add(this.textBox13); + this.Controls.Add(this.label13); + this.Controls.Add(this.textBox12); + this.Controls.Add(this.label12); + this.Controls.Add(this.textBox11); + this.Controls.Add(this.label11); + this.Controls.Add(this.textBox10); + this.Controls.Add(this.label10); + this.Controls.Add(this.textBox9); + this.Controls.Add(this.label9); + this.Controls.Add(this.textBox8); + this.Controls.Add(this.label8); + this.Controls.Add(this.textBox7); + this.Controls.Add(this.label7); + this.Controls.Add(this.textBox6); + this.Controls.Add(this.label6); + this.Controls.Add(this.textBox5); + this.Controls.Add(this.label5); + this.Controls.Add(this.textBox4); + this.Controls.Add(this.label4); + this.Controls.Add(this.textBox3); + this.Controls.Add(this.label3); + this.Controls.Add(this.textBox2); + this.Controls.Add(this.label2); + this.Controls.Add(this.textBox1); + this.Controls.Add(this.label1); + this.Controls.Add(this.okButton); + this.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; + this.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4); + this.Name = "CycleEndForm"; + this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide; + this.Text = "Daten"; + this.TopMost = true; + this.Load += new System.EventHandler(this.CycleEndForm_Load); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.TextBox textBox2; + private System.Windows.Forms.Label label2; + private System.Windows.Forms.TextBox textBox1; + private System.Windows.Forms.Label label1; + private System.Windows.Forms.Button okButton; + private System.Windows.Forms.TextBox textBox3; + private System.Windows.Forms.Label label3; + private System.Windows.Forms.TextBox textBox4; + private System.Windows.Forms.Label label4; + private System.Windows.Forms.TextBox textBox5; + private System.Windows.Forms.Label label5; + private System.Windows.Forms.TextBox textBox6; + private System.Windows.Forms.Label label6; + private System.Windows.Forms.TextBox textBox7; + private System.Windows.Forms.Label label7; + private System.Windows.Forms.TextBox textBox8; + private System.Windows.Forms.Label label8; + private System.Windows.Forms.TextBox textBox9; + private System.Windows.Forms.Label label9; + private System.Windows.Forms.TextBox textBox10; + private System.Windows.Forms.Label label10; + private System.Windows.Forms.TextBox textBox11; + private System.Windows.Forms.Label label11; + private System.Windows.Forms.TextBox textBox12; + private System.Windows.Forms.Label label12; + private System.Windows.Forms.TextBox textBox13; + private System.Windows.Forms.Label label13; + private System.Windows.Forms.TextBox textBox14; + private System.Windows.Forms.Label label14; + private System.Windows.Forms.TextBox textBox15; + private System.Windows.Forms.Label label15; + private System.Windows.Forms.TextBox textBox16; + private System.Windows.Forms.Label label16; + private System.Windows.Forms.TextBox textBox17; + private System.Windows.Forms.Label label17; + private System.Windows.Forms.TextBox textBox18; + private System.Windows.Forms.Label label18; + private System.Windows.Forms.TextBox textBox19; + private System.Windows.Forms.Label label19; + private System.Windows.Forms.TextBox textBox20; + private System.Windows.Forms.Label label20; + private System.Windows.Forms.TextBox textBox21; + private System.Windows.Forms.Label label21; + private System.Windows.Forms.TextBox textBox22; + private System.Windows.Forms.Label label22; + private System.Windows.Forms.TextBox textBox23; + private System.Windows.Forms.Label label23; + private System.Windows.Forms.TextBox textBox24; + private System.Windows.Forms.Label label24; + + } +} \ No newline at end of file diff --git a/TBF/Rig/DataEntry/StandartCameraPurchaseOrder/CycleEndForm.resx b/TBF/Rig/DataEntry/StandartCameraPurchaseOrder/CycleEndForm.resx new file mode 100644 index 000000000..1af7de150 --- /dev/null +++ b/TBF/Rig/DataEntry/StandartCameraPurchaseOrder/CycleEndForm.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/TBF/Rig/DataEntry/StandartCameraPurchaseOrder/EntryForm.cs b/TBF/Rig/DataEntry/StandartCameraPurchaseOrder/EntryForm.cs new file mode 100644 index 000000000..830e64f38 --- /dev/null +++ b/TBF/Rig/DataEntry/StandartCameraPurchaseOrder/EntryForm.cs @@ -0,0 +1,445 @@ +/// +/// Copyright (c) 2017-2022 Sensus Slovensko a.s. +/// +using System; +using System.Collections.Generic; +using log4net; +using Common; +using TBF.Rig.GenericDevices; + +namespace TBF.Rig.DataEntry.StandartCameraPurchaseOrder +{ + public class EntryForm : ComponentBase, IOperation, IDataEntryForCamera, IHasWMStatesForm, IHasCycleBeginForm, IHasCycleEndForm + { + private static readonly ILog log = LogManager.GetLogger(typeof(EntryForm)); + public override string ToString() { return string.Format("{0}({1})", ClassName, Cfg.ToString(-1)); } + + const string DfltOcrWorkspaceFolder = "C:\\TBF\\OCR\\"; + const string DfltOcrWorkspaceExt = ".vrws"; + + static Dictionary ocrDictionary = new Dictionary(); + + + readonly EntryFormCfg entryFormCfg; + + public string OcrWorkspace + { + get { return (entryFormCfg != null && entryFormCfg.ProcParams != null) ? entryFormCfg.ProcParams.OcrWorkspace : string.Empty; } + } + + public string OcrStream + { + get { return (entryFormCfg != null && entryFormCfg.ProcParams != null) ? entryFormCfg.ProcParams.OcrStream : string.Empty; } + } + + IRegReader[] regReaders; + + + public string[] StartImages + { + get { return startImages; } + set + { + /*if (entryFormCfg.DebugLevel == DebugMode.Simulate ) + { + startImages = new string[] { "C:\\TBF\\Images\\Test\\Image1.jpg", "C:\\TBF\\Images\\Test\\Image2.jpg", + "C:\\TBF\\Images\\Test\\Image3.jpg", "C:\\TBF\\Images\\Test\\Image4.jpg", "C:\\TBF\\Images\\Test\\Image5.jpg", + "C:\\TBF\\Images\\Test\\Image1.jpg", "C:\\TBF\\Images\\Test\\Image2.jpg", "C:\\TBF\\Images\\Test\\Image3.jpg", + "C:\\TBF\\Images\\Test\\Image4.jpg", "C:\\TBF\\Images\\Test\\Image5.jpg", "C:\\TBF\\Images\\Test\\Image1.jpg", + "C:\\TBF\\Images\\Test\\Image2.jpg", "C:\\TBF\\Images\\Test\\Image3.jpg", "C:\\TBF\\Images\\Test\\Image4.jpg", + "C:\\TBF\\Images\\Test\\Image5.jpg", "C:\\TBF\\Images\\Test\\Image1.jpg", "C:\\TBF\\Images\\Test\\Image2.jpg", + "C:\\TBF\\Images\\Test\\Image3.jpg", "C:\\TBF\\Images\\Test\\Image4.jpg", "C:\\TBF\\Images\\Test\\Image5.jpg" }; + } + else*/ + { + startImages = value; + } + } + } + string[] startImages; + + public string[] EndImages + { + get { return endImages; } + set { endImages = value; } + } + string[] endImages; + + public bool SaveImages + { + get { return entryFormCfg.SaveImages; } + } + + + /// + /// Properties set by the Begin, End and WMStates form + /// + bool[] disabled; /// This array is shared between forms + + string[] wmCycleEndState; + public string WMCycleEndState(int wmNr) { return (wmNr >= 0 && wmNr < wmCycleEndState.Length) ? wmCycleEndState[wmNr] : string.Empty; } + + double[] wmStartState; + + public double WMStartState(int wmNr) + { + bool real = (wmNr >= 0 && wmNr < wmStartState.Length); + log.DebugFormat("WMEndState, wmNr:{0}, wmEndState real: {1}, wmEndState[wmNr]: {2} ",wmNr,real, real ? wmStartState[wmNr] : 0); + return real ? wmStartState[wmNr] : 0; + } + + double[] wmEndState; + + public double WMEndState(int wmNr) + { + bool real = (wmNr >= 0 && wmNr < wmEndState.Length); + log.DebugFormat("WMEndState, wmNr:{0}, wmEndState real: {1}, wmEndState[wmNr]: {2} ",wmNr,real, real ? wmEndState[wmNr] : 0); + return real ? wmEndState[wmNr] : 0; + } + + string[] wmStartStateStr; + + + System.Windows.Forms.Form modelessDlg; + public bool Completed { get { return (modelessDlg is IHasCompleted) ? (modelessDlg as IHasCompleted).Completed : true; } } + + double refVolume; + double errLimLo; + double errLimHi; + + bool resultSaved; /// Set in Run() when results are saved + + IList waterMeters; /// Reference to ...ProcessData.BatchRslts.WaterMeters[] + + public string TestStartImgName(int wmNr0, string testName) + { + if (waterMeters == null || wmNr0 < 0 || wmNr0 >= waterMeters.Count) return string.Empty; + + return string.Format("{0}-start.bmp", testName).Replace(' ','_'); + } + + public string TestEndImgName(int wmNr0, string testName) + { + if (waterMeters == null || wmNr0 < 0 || wmNr0 >= waterMeters.Count) return string.Empty; + + return string.Format("{0}-end.bmp", testName).Replace(' ','_'); + } + + public enum CurrentOp + { + None, + ShowFormAtCycleBeginning, + ShowFormAtCycleEnd, + TestStartStates, + TestEndStates, + DeferredTestEval, + } + + CurrentOp currentOp; + + public EntryForm() { } + + public EntryForm(Generic.IComponentCfg cfg) + : base(cfg) + { + entryFormCfg = cfg as EntryFormCfg; + } + + public override void Initialize() + { + disabled = new bool[TBF.Data.WMsCount]; + wmStartState = new double[TBF.Data.WMsCount]; + wmStartStateStr = new string[TBF.Data.WMsCount]; + wmEndState = new double[TBF.Data.WMsCount]; + wmCycleEndState = new string[TBF.Data.WMsCount]; + currentOp = CurrentOp.None; + log.FatalFormat("{0} initialized: {1}", Name, this); + } + + + /// Reference to the operation + public IOperation ShowCycleBeginFormOp() + { + if (currentOp != CurrentOp.None) throw new Exception("Sequence error"); + currentOp = CurrentOp.ShowFormAtCycleBeginning; + this.waterMeters = TBF.Rig.Sequences.ProcessData.BatchRslts.Batch.WaterMeters; + return this; + } + + /// Reference to the operation + public IOperation ShowCycleEndFormOp(IList waterMeters) + { + if (currentOp != CurrentOp.None) throw new Exception("Sequence error"); + currentOp = CurrentOp.ShowFormAtCycleEnd; + this.waterMeters = waterMeters; + return this; + } + + /// Reference to the operation + public IOperation ShowTestStartFormOp(IRegReader[] regReaders) + { + if (currentOp != CurrentOp.None) throw new Exception("Sequence error"); + currentOp = CurrentOp.TestStartStates; + this.regReaders = regReaders; + return this; + } + + /// null (not implemented) + public IOperation ShowAdvancedTestStartFormOp(IRegReader[] regReaders, IList waterMeters, bool isCondOp) { return null; } + + /// Reference to the operation + public IOperation ShowTestEndFormOp(IRegReader[] regReaders, double refVolume, double errLimLo, double errLimHi) + { + if (currentOp != CurrentOp.None) throw new Exception("Sequence error"); + currentOp = CurrentOp.TestEndStates; + this.regReaders = regReaders; + this.refVolume = refVolume; + this.errLimLo = errLimLo; + this.errLimHi = errLimHi; + return this; + } + + /// Reference to the operation + public IOperation ShowDeferredTestEvalFormOp(IRegReader[] regReaders, double refVolume, double errLimLo, double errLimHi) + { + if (currentOp != CurrentOp.None) throw new Exception("Sequence error"); + currentOp = CurrentOp.DeferredTestEval; + this.regReaders = regReaders; + this.refVolume = refVolume; + this.errLimLo = errLimLo; + this.errLimHi = errLimHi; + return this; + } + + delegate void EntryFormDlgt(EntryForm myRef); + /// + void OpenBeginningDlg(EntryForm myRef) + { + myRef.modelessDlg = new CycleBeginningForm(TBF.Data.WMsCount, entryFormCfg.HideOrder); + modelessDlg.Show(); + } + /// + void OpenEndDlg(EntryForm myRef) + { + myRef.modelessDlg = new CycleEndForm(TBF.Data.WMsCount, TBF.Data.LineSize); + modelessDlg.Show(); + } + /// + void OpenTestStartStatesDlg(EntryForm myRef) + { + log.Debug("-- OpenTestStartStatesDlg --"); + string ocrMessage; + var ocr = GetOcr(myRef.OcrWorkspace, out ocrMessage); + myRef.modelessDlg = new TestStartEndForm(TBF.Data.WMsCount, myRef.regReaders, ocr, ocrMessage, myRef.OcrStream, + startImages, disabled); + modelessDlg.Show(); + } + /// + void OpenTestEndStatesDlg(EntryForm myRef) + { + log.Debug("-- OpenTestEndStatesDlg --"); + string ocrMessage; + var ocr = GetOcr(myRef.OcrWorkspace, out ocrMessage); + myRef.modelessDlg = new TestStartEndForm(TBF.Data.WMsCount, myRef.regReaders, ocr, ocrMessage, myRef.OcrStream, + startImages, wmStartState, wmStartStateStr, endImages, disabled, + refVolume, errLimLo, errLimHi); + modelessDlg.Show(); + } + /// + void OpenDeferredTestEvalDlg(EntryForm myRef) + { + string ocrMessage; + var ocr = GetOcr(myRef.OcrWorkspace, out ocrMessage); + myRef.modelessDlg = new TestStartEndForm(TBF.Data.WMsCount, myRef.regReaders, ocr, ocrMessage, myRef.OcrStream, + startImages, endImages, disabled, + refVolume, errLimLo, errLimHi); + modelessDlg.Show(); + } + /// + OcrVidi GetOcr(string ocrWorkspace, out string message) + { + message = string.Empty; + if (string.IsNullOrEmpty(ocrWorkspace)) return null; /// No OCR was configured + + string fullPath = (ocrWorkspace.Contains("\\") || ocrWorkspace.Contains("/")) + ? ocrWorkspace.Replace('/', '\\') + : System.IO.Path.Combine(DfltOcrWorkspaceFolder, ocrWorkspace); + if (!fullPath.Contains(".")) fullPath = fullPath + DfltOcrWorkspaceExt; + + OcrVidi ocrVidi; + if (ocrDictionary.TryGetValue(fullPath, out ocrVidi)) + { + log.InfoFormat("existing OcrVidi({0}) was retrieved from dictionary", fullPath); + return ocrVidi; + } + + try + { + ocrVidi = new OcrVidi(fullPath); + ocrDictionary.Add(fullPath, ocrVidi); + log.WarnFormat("new OcrVidi({0}) was added to dictionary", fullPath); + return ocrVidi; + } + catch (Exception e) + { + if (e.InnerException != null) + { + log.ErrorFormat("new OcrVidi({0}) thrown {1}: {2} / {3}", + fullPath, e.GetType().ToString(), e.Message,e.InnerException.Message); + } + else + { + log.ErrorFormat("new OcrVidi({0}) thrown {1}: {2}", + fullPath, e.GetType().ToString(), e.Message); + } + log.ErrorFormat("Stack trace:\r\n{0}", e.StackTrace); + + message = string.Format("Cannot load OCR workspace:\r\n{0}\r\nOCR workspace file is {1}", e.Message, fullPath); + return null; + } + } + + /// Start this operation + public void Start() + { + resultSaved = false; + switch (currentOp) + { + case CurrentOp.ShowFormAtCycleBeginning: + if (!entryFormCfg.EnterSerialNrsAtTheEnd) + { + Program.MainWnd.Invoke(new EntryFormDlgt(OpenBeginningDlg), this); + } + break; + + case CurrentOp.ShowFormAtCycleEnd: + if (entryFormCfg.EnterSerialNrsAtTheEnd) + { + Program.MainWnd.Invoke(new EntryFormDlgt(OpenBeginningDlg), this); + } + else if (entryFormCfg.ShowCycleEndForm) + { + Program.MainWnd.Invoke(new EntryFormDlgt(OpenEndDlg), this); + } + break; + + case CurrentOp.TestStartStates: + Program.MainWnd.Invoke(new EntryFormDlgt(OpenTestStartStatesDlg), this); + break; + + case CurrentOp.TestEndStates: + Program.MainWnd.Invoke(new EntryFormDlgt(OpenTestEndStatesDlg), this); + break; + + case CurrentOp.DeferredTestEval: + Program.MainWnd.Invoke(new EntryFormDlgt(OpenDeferredTestEvalDlg), this); + break; + } + } + + /// Run this operation + /// Event.ResultsPrinted + public Event Run() + { + if ((modelessDlg is IHasCompleted) && !(modelessDlg as IHasCompleted).Completed) + { + return Event.ModelessFormIsOpen; + } + + if (!resultSaved) /// This is to save the result only once + { + if ((!entryFormCfg.EnterSerialNrsAtTheEnd && currentOp == CurrentOp.ShowFormAtCycleBeginning) || + (entryFormCfg.EnterSerialNrsAtTheEnd && currentOp == CurrentOp.ShowFormAtCycleEnd)) + { + CycleBeginningForm dlg = (modelessDlg as CycleBeginningForm); + if (dlg != null) + { + for (int i = 0; i < Math.Min(dlg.WaterMetersCount, waterMeters.Count); i++) + { + if (waterMeters[i] != null) + { + waterMeters[i].Disabled = disabled[i] = dlg.Disabled[i]; + waterMeters[i].SerialNr = dlg.SNText[i]; + if (!entryFormCfg.HideOrder && dlg.PurchaseOrder != null) waterMeters[i].PurchaseOrder = dlg.PurchaseOrder; + } + } + } + } + else if (currentOp == CurrentOp.ShowFormAtCycleEnd) + { + if (modelessDlg is CycleEndForm) + { + CycleEndForm dlg = (modelessDlg as CycleEndForm); + int count = waterMeters.Count; + if ((dlg != null) && (count > dlg.WaterMetersCount)) count = dlg.WaterMetersCount; + + for (int i = 0; i < count; i++) + { + if (waterMeters[i] != null) + { + /// In case entryFormCfg.ShowCycleEndForm == false dlg would be null, values would be string.Empty + wmCycleEndState[i] = waterMeters[i].EndState = (dlg != null) ? dlg.EndStateText[i] : string.Empty; + } + } + } + } + else if (modelessDlg is TestStartEndForm && currentOp == CurrentOp.TestStartStates) + { + /// Fixed start/stop: test start + TestStartEndForm dlg = (modelessDlg as TestStartEndForm); + if (dlg != null) + { + for (int i = 0; i < dlg.WaterMetersCount; i++) + { + wmStartState[i] = dlg.WMStartState[i]; + wmStartStateStr[i] = dlg.WMStartStateStr[i]; + } + } + } + else if (modelessDlg is TestStartEndForm && currentOp == CurrentOp.TestEndStates) + { + /// Fixed start/stop: test end + TestStartEndForm dlg = (modelessDlg as TestStartEndForm); + if (dlg != null) + { + for (int i = 0; i < dlg.WaterMetersCount; i++) + { + wmStartState[i] = dlg.WMStartState[i]; + wmStartStateStr[i] = dlg.WMStartStateStr[i]; + wmEndState[i] = dlg.WMEndState[i]; + } + } + } + else if (modelessDlg is TestStartEndForm && currentOp == CurrentOp.DeferredTestEval) + { + /// Fixed start/stop: deferred test evaluation + TestStartEndForm dlg = (modelessDlg as TestStartEndForm); + if (dlg != null) + { + for (int i = 0; i < dlg.WaterMetersCount; i++) + { + wmStartState[i] = dlg.WMStartState[i]; + wmStartStateStr[i] = dlg.WMStartStateStr[i]; + wmEndState[i] = dlg.WMEndState[i]; + } + } + } + resultSaved = true; + modelessDlg = null; + } + + return Event.ModelessFormClosed; /// Form closed + } + + /// Stop this operation + public void Stop() + { + if (modelessDlg is IHasCompleted) + { + UiBridge.Bridge.OnCloseModelessForm(this, null); + modelessDlg = null; + } + currentOp = CurrentOp.None; + } + } +} diff --git a/TBF/Rig/DataEntry/StandartCameraPurchaseOrder/EntryFormCfg.cs b/TBF/Rig/DataEntry/StandartCameraPurchaseOrder/EntryFormCfg.cs new file mode 100644 index 000000000..d1eece78c --- /dev/null +++ b/TBF/Rig/DataEntry/StandartCameraPurchaseOrder/EntryFormCfg.cs @@ -0,0 +1,58 @@ +/// +/// Copyright (c) 2017-2022 Sensus Slovensko a.s. +/// +using System; +using System.Collections.Generic; +using System.Xml.Serialization; +using Common; +using TBF.Rig.Generic; + +namespace TBF.Rig.DataEntry.StandartCameraPurchaseOrder +{ + public class EntryFormCfg : ComponentCfgBase, Generic.IComponentCfg + { + public static XmlSerializer Serializer = XmlSerializer.FromTypes(new[] { typeof(EntryFormCfg) })[0]; + public override XmlSerializer GetSerializer() { return Serializer; } + + public IComponentCfgCtrl GetControl(IList cmpntEntities) { return new EntryFormCfgCtrl(); } + + /// + /// Serialized parameters + /// + public bool HideOrder; + public bool EnterSerialNrsAtTheEnd; + public bool ShowCycleEndForm; + public bool SaveImages; + + + /// Procedure parameters + [XmlIgnore] + public ProcParams ProcParams; + public override IParamsProvider GetRuntimeProcParamsProvider() { return ProcParams; } + public override IParamsProvider CreateProcParamsProvider() { return new ProcParams(true); } + + /// Private parameterless constructor invoked by all other (public) constructors + EntryFormCfg() + { + ProcParams = new ProcParams(true); + + Name = "DataEntry-for-Camera-PO"; + ParentName = string.Empty; + HideOrder = false; + EnterSerialNrsAtTheEnd = false; + ShowCycleEndForm = false; + SaveImages = false; + } + + public EntryFormCfg(IComponentFactory factory) + : this() + { + this.Factory = factory; + } + + public string ToString(int i) + { + return string.Format("Name={0}, HideOrder={1} SNsAtTheEnd={2}, EndForm={3}, SaveImages={4}", Name, HideOrder, EnterSerialNrsAtTheEnd, ShowCycleEndForm, SaveImages); + } + } +} diff --git a/TBF/Rig/DataEntry/StandartCameraPurchaseOrder/EntryFormCfgCtrl.cs b/TBF/Rig/DataEntry/StandartCameraPurchaseOrder/EntryFormCfgCtrl.cs new file mode 100644 index 000000000..fcd065cc6 --- /dev/null +++ b/TBF/Rig/DataEntry/StandartCameraPurchaseOrder/EntryFormCfgCtrl.cs @@ -0,0 +1,91 @@ +/// +/// Copyright (c) 2017-2021 Sensus Slovensko a.s. +/// +using System; +using System.Windows.Forms; +using Common; +using Config.Entities; +using TBF.Rig.Generic; +using TBF.Resources; + +namespace TBF.Rig.DataEntry.StandartCameraPurchaseOrder +{ + public partial class EntryFormCfgCtrl : UserControl, IComponentCfgCtrl + { + public bool ShowMore { get { return false; } } + + EntryFormCfg config; + public IComponentCfg Config + { + get { return config as IComponentCfg; } + set + { + config = value as EntryFormCfg; + Redraw(); + } + } + + public EntryFormCfgCtrl() + { + InitializeComponent(); + } + + private void EntryFormCfgCtrl_Load(object sender, EventArgs e) + { + Localize(); + Redraw(); + } + + void Localize() + { + enterSNsAtTheEndCheckBox.Text = Strings.Enter_SNs_at_the_end; + showEndStateFormCheckBox.Text = Strings.Show_cycle_end_form; + saveImagesCheckBox.Text = "Save images"; + } + + public void Closing() + { + } + + void Redraw() + { + if (config == null) return; /// Control was not loaded, settings were not changed + classNameLabel.Text = config.Factory.ClassName; + nameTextBox.Text = config.Name; + hideOrderCheckBox.Checked = config.HideOrder; + enterSNsAtTheEndCheckBox.Checked = config.EnterSerialNrsAtTheEnd; + showEndStateFormCheckBox.Checked = config.ShowCycleEndForm; + saveImagesCheckBox.Checked = config.SaveImages; + } + + public void Unlock() + { + nameTextBox.Enabled = true; + hideOrderCheckBox.Enabled = true; + enterSNsAtTheEndCheckBox.Enabled = true; + showEndStateFormCheckBox.Enabled = true; + saveImagesCheckBox.Enabled = true; + } + + public CfgUpdateFlags VerifyCfg(ref string message) + { + CfgUpdateFlags flags = CfgUpdateFlags.None; + return flags; + } + + public CfgUpdateFlags UpdateCfg() + { + CfgUpdateFlags flags = CfgUpdateFlags.RestartRqrd; + + if (config == null) return CfgUpdateFlags.Error; /// Control was not loaded, settings were not changed + + config.Name = nameTextBox.Text; + config.HideOrder = hideOrderCheckBox.Checked; + config.EnterSerialNrsAtTheEnd = enterSNsAtTheEndCheckBox.Checked; + config.ShowCycleEndForm = showEndStateFormCheckBox.Checked; + config.SaveImages = saveImagesCheckBox.Checked; + + return flags; + } + } +} diff --git a/TBF/Rig/DataEntry/StandartCameraPurchaseOrder/EntryFormCfgCtrl.designer.cs b/TBF/Rig/DataEntry/StandartCameraPurchaseOrder/EntryFormCfgCtrl.designer.cs new file mode 100644 index 000000000..d9045ae1c --- /dev/null +++ b/TBF/Rig/DataEntry/StandartCameraPurchaseOrder/EntryFormCfgCtrl.designer.cs @@ -0,0 +1,142 @@ +/// +/// Copyright (c) 2017 Sensus Metering Systems +/// +namespace TBF.Rig.DataEntry.StandartCameraPurchaseOrder +{ + partial class EntryFormCfgCtrl + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Component Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.nameTextBox = new System.Windows.Forms.TextBox(); + this.nameLabel = new System.Windows.Forms.Label(); + this.classNameLabel = new System.Windows.Forms.Label(); + this.showEndStateFormCheckBox = new System.Windows.Forms.CheckBox(); + this.enterSNsAtTheEndCheckBox = new System.Windows.Forms.CheckBox(); + this.saveImagesCheckBox = new System.Windows.Forms.CheckBox(); + this.hideOrderCheckBox = new System.Windows.Forms.CheckBox(); + this.SuspendLayout(); + // + // nameTextBox + // + this.nameTextBox.Enabled = false; + this.nameTextBox.Location = new System.Drawing.Point(136, 31); + this.nameTextBox.Name = "nameTextBox"; + this.nameTextBox.Size = new System.Drawing.Size(130, 20); + this.nameTextBox.TabIndex = 2; + // + // nameLabel + // + this.nameLabel.AutoSize = true; + this.nameLabel.Location = new System.Drawing.Point(26, 34); + this.nameLabel.Name = "nameLabel"; + this.nameLabel.Size = new System.Drawing.Size(35, 13); + this.nameLabel.TabIndex = 1; + this.nameLabel.Text = "Name"; + // + // classNameLabel + // + this.classNameLabel.AutoSize = true; + this.classNameLabel.Location = new System.Drawing.Point(133, 10); + this.classNameLabel.Name = "classNameLabel"; + this.classNameLabel.Size = new System.Drawing.Size(61, 13); + this.classNameLabel.TabIndex = 0; + this.classNameLabel.Text = "Class name"; + // + // showEndStateFormCheckBox + // + this.showEndStateFormCheckBox.AutoSize = true; + this.showEndStateFormCheckBox.Enabled = false; + this.showEndStateFormCheckBox.Location = new System.Drawing.Point(136, 103); + this.showEndStateFormCheckBox.Name = "showEndStateFormCheckBox"; + this.showEndStateFormCheckBox.Size = new System.Drawing.Size(151, 17); + this.showEndStateFormCheckBox.TabIndex = 5; + this.showEndStateFormCheckBox.Text = "Watermeter end state form"; + this.showEndStateFormCheckBox.UseVisualStyleBackColor = true; + // + // enterSNsAtTheEndCheckBox + // + this.enterSNsAtTheEndCheckBox.AutoSize = true; + this.enterSNsAtTheEndCheckBox.Enabled = false; + this.enterSNsAtTheEndCheckBox.Location = new System.Drawing.Point(136, 82); + this.enterSNsAtTheEndCheckBox.Name = "enterSNsAtTheEndCheckBox"; + this.enterSNsAtTheEndCheckBox.Size = new System.Drawing.Size(167, 17); + this.enterSNsAtTheEndCheckBox.TabIndex = 4; + this.enterSNsAtTheEndCheckBox.Text = "Enter serial number at the end"; + this.enterSNsAtTheEndCheckBox.UseVisualStyleBackColor = true; + // + // saveImagesCheckBox + // + this.saveImagesCheckBox.AutoSize = true; + this.saveImagesCheckBox.Enabled = false; + this.saveImagesCheckBox.Location = new System.Drawing.Point(136, 124); + this.saveImagesCheckBox.Name = "saveImagesCheckBox"; + this.saveImagesCheckBox.Size = new System.Drawing.Size(87, 17); + this.saveImagesCheckBox.TabIndex = 6; + this.saveImagesCheckBox.Text = "Save images"; + this.saveImagesCheckBox.UseVisualStyleBackColor = true; + // + // hideOrderCheckBox + // + this.hideOrderCheckBox.AutoSize = true; + this.hideOrderCheckBox.Enabled = false; + this.hideOrderCheckBox.Location = new System.Drawing.Point(136, 61); + this.hideOrderCheckBox.Name = "hideOrderCheckBox"; + this.hideOrderCheckBox.Size = new System.Drawing.Size(103, 17); + this.hideOrderCheckBox.TabIndex = 3; + this.hideOrderCheckBox.Text = "Hide \'Order\' field"; + this.hideOrderCheckBox.UseVisualStyleBackColor = true; + // + // EntryFormCfgCtrl + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.Controls.Add(this.hideOrderCheckBox); + this.Controls.Add(this.saveImagesCheckBox); + this.Controls.Add(this.enterSNsAtTheEndCheckBox); + this.Controls.Add(this.showEndStateFormCheckBox); + this.Controls.Add(this.nameTextBox); + this.Controls.Add(this.nameLabel); + this.Controls.Add(this.classNameLabel); + this.Name = "EntryFormCfgCtrl"; + this.Size = new System.Drawing.Size(359, 275); + this.Load += new System.EventHandler(this.EntryFormCfgCtrl_Load); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.TextBox nameTextBox; + private System.Windows.Forms.Label nameLabel; + private System.Windows.Forms.Label classNameLabel; + private System.Windows.Forms.CheckBox showEndStateFormCheckBox; + private System.Windows.Forms.CheckBox enterSNsAtTheEndCheckBox; + private System.Windows.Forms.CheckBox saveImagesCheckBox; + private System.Windows.Forms.CheckBox hideOrderCheckBox; + } +} diff --git a/TBF/Rig/DataEntry/StandartCameraPurchaseOrder/EntryFormCfgCtrl.resx b/TBF/Rig/DataEntry/StandartCameraPurchaseOrder/EntryFormCfgCtrl.resx new file mode 100644 index 000000000..1af7de150 --- /dev/null +++ b/TBF/Rig/DataEntry/StandartCameraPurchaseOrder/EntryFormCfgCtrl.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/TBF/Rig/DataEntry/StandartCameraPurchaseOrder/Factory.cs b/TBF/Rig/DataEntry/StandartCameraPurchaseOrder/Factory.cs new file mode 100644 index 000000000..a1353d07a --- /dev/null +++ b/TBF/Rig/DataEntry/StandartCameraPurchaseOrder/Factory.cs @@ -0,0 +1,25 @@ +/// +/// Copyright (c) 2017 Sensus Metering Systems +/// +using System.Collections.Generic; +using TBF.Rig.Generic; + +namespace TBF.Rig.DataEntry.StandartCameraPurchaseOrder +{ + public class Factory : IComponentFactory + { + public string ClassName { get { return "DataEntry-CameraPurchaseOrder"; } } + public override string ToString() { return ClassName; } + + public IComponent DummyComponent() { return new EntryForm(); } + + public IComponent GetComponent(IComponentCfg cfg, IList components) { return new EntryForm(cfg); } + + public IComponentCfg DefaultConfig() { return new EntryFormCfg(this); } + + public IComponentCfg CmpntCfgFromCmpntEntity(Config.Entities.Component component) + { + return ComponentCfgBase.CreateFromDbEntity(EntryFormCfg.Serializer, component, this); + } + } +} diff --git a/TBF/Rig/DataEntry/StandartCameraPurchaseOrder/ProcParams.cs b/TBF/Rig/DataEntry/StandartCameraPurchaseOrder/ProcParams.cs new file mode 100644 index 000000000..0fc76aeef --- /dev/null +++ b/TBF/Rig/DataEntry/StandartCameraPurchaseOrder/ProcParams.cs @@ -0,0 +1,132 @@ +/// +/// Copyright (c) 2022 Sensus Slovensko a.s. +/// +using System.IO; +using System.Xml.Serialization; +using Common; +using Config.Entities; +using TBF.Rig.Generic; + +namespace TBF.Rig.DataEntry.StandartCameraPurchaseOrder +{ + public class ProcParams : ProcedureParamsBase, IParamsProvider, IProcedureParams + { + public static XmlSerializer Serializer = XmlSerializer.FromTypes(new[] { typeof(ProcParams) })[0]; + public override XmlSerializer GetSerializer() { return Serializer; } + + public string OcrWorkspace; /// Path to a Cognex workspace file + public string OcrStream; /// Cognex workspace stream name + + + public override void InitializeAll() + { + OcrWorkspace = string.Empty; + OcrStream = "default"; + } + + string[] paramNames = new string[] + { + "OCR workspace file", + "OCR stream", + }; + public override string ParamName(int i) { return paramNames[i]; } + public override int ParamsCount() { return paramNames.Length; } + + public override string ToString(int i) + { + switch (i) + { + case 0: return OcrWorkspace; + case 1: return OcrStream; + default: return string.Empty; + } + } + + public CfgUpdateFlags UpdateParam(int i, string str) + { + switch (i) + { + case 0: OcrWorkspace = str; return CfgUpdateFlags.None; + case 1: OcrStream = str; return CfgUpdateFlags.None; + default: return CfgUpdateFlags.None; + } + } + + /// + /// Verifiy the string representation of the parameter + /// + /// Parameter ID + /// String representation of the parameter + /// In case false is returned this is the error messsage to be displayed + /// true = parameter OK, false = parameter NOK + public bool ValidateParam(int i, string str, out string message) + { + message = string.Empty; + + switch (i) + { + case 0: + return true; + case 1: + if (!string.IsNullOrEmpty(str)) return true; + break; + default: + message = "Invalid index"; + return false; + } + + message = ParamName(i) + " is invalid"; + return false; + } + + void CopyContentTo(ProcParams prms) + { + prms.OcrWorkspace = OcrWorkspace; + prms.OcrStream = OcrStream; + } + + public IParamsProvider Clone() + { + ProcParams pars = new ProcParams(); + CopyContentTo(pars); + return pars; + } + + public override void UpdateFromDbEntity(ComponentProcedure dbEntity) + { + if (dbEntity == null) return; + try + { + ProcParams tmp = Serializer.Deserialize(new StringReader(dbEntity.Parameters)) as ProcParams; + + procedureParamsEntity = dbEntity; + componentName = dbEntity.CmpntName; + procedure = dbEntity.Procedure; + + if (tmp != null) tmp.CopyContentTo(this); + } + catch + { + } + } + + /// + /// Parameterless constructor initializes the parameters + /// + public ProcParams() + { + } + + public ProcParams(bool initialize) + { + if (initialize) InitializeAll(); + } + + public ProcParams(ComponentProcedure procParamsEntity, string componentName, Procedure procedure) + { + this.procedureParamsEntity = procParamsEntity; + this.componentName = componentName; + this.procedure = procedure; + } + } +} diff --git a/TBF/Rig/DataEntry/StandartCameraPurchaseOrder/TestStartEndForm.cs b/TBF/Rig/DataEntry/StandartCameraPurchaseOrder/TestStartEndForm.cs new file mode 100644 index 000000000..c531393da --- /dev/null +++ b/TBF/Rig/DataEntry/StandartCameraPurchaseOrder/TestStartEndForm.cs @@ -0,0 +1,1111 @@ +/// +/// Copyright (c) 2017-2022 Sensus Slovensko a.s. +/// +using System; +using System.Collections.Generic; +using System.Drawing; +using System.IO; +using System.Linq; +using System.Threading; +using System.Windows.Forms; +using log4net; +using Common; +using TBF.Rig.GenericDevices; +using TBF.Resources; + +namespace TBF.Rig.DataEntry.StandartCameraPurchaseOrder +{ + public partial class TestStartEndForm : Form, GenericDevices.IHasCompleted + { + private static readonly ILog log = LogManager.GetLogger(typeof(TestStartEndForm)); + + const Unit unit = Unit.m3; + + /// + /// Static members and constructor + /// + static int wmNr0b; + static Rotation imageRotation; + static bool[] isZoomed; + static Point[] zoomCenterLoc; + /// + static TestStartEndForm() + { + wmNr0b = 0; + //imageRotation = new Rotation[TextBoxesCount]; + isZoomed = new bool[TextBoxesCount]; + zoomCenterLoc = new Point[TextBoxesCount]; + } + + + /// Arguments + readonly Tst mode; /// Start, End or Deferred + public readonly int WaterMetersCount; + readonly IRegReader[] regReaders; + readonly bool[] disabled; + readonly string[] startImages; + readonly string[] endImages; + readonly double refVolume; + readonly double warningLimLo; /// limit to display exclamation mark, typically 2x errLimLo + readonly double warningLimHi; /// limit to display exclamation mark, typically 2x errLimHi + readonly OcrVidi ocrVidi; + readonly string ocrMessage; + readonly string streamName; + + double denominator; /// derived from PulsesPerLtr, passed to OcrVidi + string format; /// derived from PulsesPerLtr, passed to OcrVidi + + // To be retrieved after the form closes + public double[] WMStartState; + + // To be retrieved after the form closes + public readonly string[] WMStartStateStr; + + // To be retrieved after the form closes + public double[] WMEndState; + + const int TextBoxesCount = 48; + + string lastImageName; + int lastWmNr1; + Bitmap lastImage; /// non-zoomed image + Bitmap zoomedImage; + + Thread imageProcessingThread; /// Thread to process images + public delegate void OcrTextObtainedDelegate(int ix, bool isEnd, string text); + OcrTextObtainedDelegate ocrTextObtained; + + readonly Label[] labels; + readonly TextBox[] startTextBoxes; + readonly TextBox[] endTextBoxes; + readonly Label[] exclamations; + + int[] phys2wm; /// Array: index is physical position 0..23, value is water meter position 1..X or 0 (controls hidden) + int[] wm2phys; /// Array: index is water meters position 1..X (item at ix=0 is not used), value is physical position 0..23 + + IList enabledTextBoxes; + + /// Set to 'true' when the form closes + public bool Completed { get { return completed; } } + bool completed; + + + /// + /// Parameterless constructor initializing common part for start and endstate form + /// + public TestStartEndForm() + { + InitializeComponent(); + ControlBox = false; + + labels = new Label[] + { + label1, label2, label3, label4, label5, label6, label7, label8, label9, label10, + label11, label12, label13, label14, label15, label16, label17, label18, label19, label20, + label21, label22, label23, label24, label25, label26, label27, label28, label29, label30, + label31, label32, label33, label34, label35, label36, label37, label38, label39, label40, + label41, label42, label43, label44, label45, label46, label47, label48, + }; + startTextBoxes = new TextBox[] + { + startTextBox1, startTextBox2, startTextBox3, startTextBox4, startTextBox5, startTextBox6, startTextBox7, startTextBox8, startTextBox9, startTextBox10, + startTextBox11, startTextBox12, startTextBox13, startTextBox14, startTextBox15, startTextBox16, startTextBox17, startTextBox18, startTextBox19, startTextBox20, + startTextBox21, startTextBox22, startTextBox23, startTextBox24, startTextBox25, startTextBox26, startTextBox27, startTextBox28, startTextBox29, startTextBox30, + startTextBox31, startTextBox32, startTextBox33, startTextBox34, startTextBox35, startTextBox36, startTextBox37, startTextBox38, startTextBox39, startTextBox40, + startTextBox41, startTextBox42, startTextBox43, startTextBox44, startTextBox45, startTextBox46, startTextBox47, startTextBox48, + }; + endTextBoxes = new TextBox[] + { + endTextBox1, endTextBox2, endTextBox3, endTextBox4, endTextBox5, endTextBox6, endTextBox7, endTextBox8, endTextBox9, endTextBox10, + endTextBox11, endTextBox12, endTextBox13, endTextBox14, endTextBox15, endTextBox16, endTextBox17, endTextBox18, endTextBox19, endTextBox20, + endTextBox21, endTextBox22, endTextBox23, endTextBox24, endTextBox25, endTextBox26, endTextBox27, endTextBox28, endTextBox29, endTextBox30, + endTextBox31, endTextBox32, endTextBox33, endTextBox34, endTextBox35, endTextBox36, endTextBox37, endTextBox38, endTextBox39, endTextBox40, + endTextBox41, endTextBox42, endTextBox43, endTextBox44, endTextBox45, endTextBox46, endTextBox47, endTextBox48, + }; + exclamations = new Label[] + { + exclamation1, exclamation2, exclamation3, exclamation4, exclamation5, exclamation6, + exclamation7, exclamation8, exclamation9, exclamation10, exclamation11, exclamation12, + exclamation13, exclamation14, exclamation15, exclamation16, exclamation17, exclamation18, + exclamation19, exclamation20, exclamation21, exclamation22, exclamation23, exclamation24, + exclamation25, exclamation26, exclamation27, exclamation28, exclamation29, exclamation30, + exclamation31, exclamation32, exclamation33, exclamation34, exclamation35, exclamation36, + exclamation37, exclamation38, exclamation39, exclamation40, exclamation41, exclamation42, + exclamation43, exclamation44, exclamation45, exclamation46, exclamation47, exclamation48, + }; + + enabledTextBoxes = new List(); + + imageProcessingThread = null; + + completed = false; + StartForceCloseHandler(); + } + + /// + /// Constructor to fill in start states + /// + /// Number of water meters + /// Array with register reader components + /// Cognex wrapper object performing OCR or null + /// Array with paths to start images + /// Information from CycleBeginningForm about availability of water meters + public TestStartEndForm(int waterMetersCount, IRegReader[] regReaders, OcrVidi ocrVidi, string ocrMessage, string streamName, + string[] startImages, bool[] disabled) + : this() + { + mode = Tst.Start; + + this.regReaders = regReaders; + this.WaterMetersCount = Math.Min(waterMetersCount, regReaders.Length); + this.ocrVidi = ocrVidi; + this.ocrMessage = ocrMessage; + this.streamName = streamName; + this.startImages = startImages; + this.disabled = disabled; + + if (startImages == null || startImages.Length != WaterMetersCount) + { + throw new Exception("Invalid 'startImages' argument"); + } + + this.endImages = new string[WaterMetersCount]; + WMStartState = new double[WaterMetersCount]; + WMStartStateStr = new string[WaterMetersCount]; + + ConstructorCommon(regReaders); + } + + /// + /// Constructor to fill in end states + /// + /// Number of water meters + /// Array with register reader components + /// Cognex wrapper object performing OCR or null + /// Array with paths to end images + /// Array with start states in default volume units (liters) + /// Information entered on test start + /// Information from CycleBeginningForm about availability of water meters + /// Reference volume, it is used to verify the end state, show/hide exclamation if necessary + /// Error limit low, it is used to verify the end state, show/hide exclamation if necessary + /// Error limit high, it is used to verify the end state, show/hide exclamation if necessary + public TestStartEndForm(int waterMetersCount, IRegReader[] regReaders, OcrVidi ocrVidi, string ocrMessage, string streamName, + string[] startImages, double[] wmStartState, string[] wmStartStateStr, string[] endImages, + bool[] disabled, double refVolume, double errLimLo, double errLimHi) + : this() + { + mode = Tst.End; + + this.regReaders = regReaders; + this.WaterMetersCount = Math.Min(waterMetersCount, regReaders.Length); + this.ocrVidi = ocrVidi; + this.ocrMessage = ocrMessage; + this.streamName = streamName; + this.startImages = startImages; + this.WMStartState = wmStartState; + this.WMStartStateStr = wmStartStateStr; + this.endImages = endImages; + this.disabled = disabled; + this.refVolume = refVolume; + this.warningLimLo = 2 * errLimLo; + this.warningLimHi = 2 * errLimHi; + + if (startImages == null || startImages.Length != WaterMetersCount || + wmStartState == null || wmStartState.Length != WaterMetersCount || + wmStartStateStr == null || wmStartStateStr.Length != WaterMetersCount || + endImages == null || endImages.Length != WaterMetersCount) + { + throw new Exception("Invalid argument(s)"); + } + + WMEndState = new double[WaterMetersCount]; + + ConstructorCommon(regReaders); + } + + /// + /// Constructor for deferred evaluation, to fill in both start- and end-states + /// + /// Number of water meters + /// Array with register reader components + /// Cognex wrapper object performing OCR or null + /// Array with paths to start images + /// Array with paths to end images + /// Information from CycleBeginningForm about availability of water meters + /// Reference volume, it is used to verify the end state, show/hide exclamation if necessary + /// Error limit low, it is used to verify the end state, show/hide exclamation if necessary + /// Error limit high, it is used to verify the end state, show/hide exclamation if necessary + public TestStartEndForm(int waterMetersCount, IRegReader[] regReaders, OcrVidi ocrVidi, string ocrMessage, string streamName, + string[] startImages, string[] endImages, bool[] disabled, + double refVolume, double errLimLo, double errLimHi) + : this() + { + mode = Tst.Both; + + this.regReaders = regReaders; + this.WaterMetersCount = Math.Min(waterMetersCount, regReaders.Length); + this.ocrVidi = ocrVidi; + this.ocrMessage = ocrMessage; + this.streamName = streamName; + this.startImages = startImages; + this.endImages = endImages; + this.disabled = disabled; + this.refVolume = refVolume; + this.warningLimLo = 2 * errLimLo; + this.warningLimHi = 2 * errLimHi; + + if (startImages == null || startImages.Length != waterMetersCount || + endImages == null || endImages.Length != waterMetersCount) + { + throw new Exception("Invalid argument(s)"); + } + + WMStartState = new double[waterMetersCount]; + WMStartStateStr = new string[waterMetersCount]; + WMEndState = new double[waterMetersCount]; + + ConstructorCommon(regReaders); + } + + void ConstructorCommon(IRegReader[] regReaders) + { + /// For large benches with WaterMetersCount LE 6 is TBF.Data.LineSize==1 (compound meters) + int lineSize = (WaterMetersCount <= 6) ? WaterMetersCount : TBF.Data.LineSize; + + DeterminePhysPosWMPos(TextBoxesCount, WaterMetersCount, lineSize, out phys2wm, out wm2phys); + + int nrLines = (TBF.Data.WMsCount - 1) / TBF.Data.LineSize + 1; + if (nrLines == 1) + { + Width = 1040; + } + else + { + Width = 1420; + } + } + + /// + /// Make sure the layout of labels/text boxes on the screen + /// corresponds to the layout of watermeters of the test bench. + /// + void DeterminePhysPosWMPos(int textBoxesCount, int waterMetersCount, int lineSize, out int[] physPos2wmPos, out int[] wmPos2PhysPos) + { + physPos2wmPos = new int[textBoxesCount]; /// already initialized to 0-s + wmPos2PhysPos = new int[waterMetersCount + 1]; + for (int i = 0; i < waterMetersCount + 1; i++) wmPos2PhysPos[i] = -1; /// initialize to -1 + + if (waterMetersCount < textBoxesCount) + { + int nrLines = waterMetersCount / lineSize; + int gap = (textBoxesCount - waterMetersCount) / nrLines; + + int wmPos = 1; + for (int ln = 0; ln < nrLines; ln++) + { + for (int i = 0; i < lineSize; i++, wmPos++) + { + physPos2wmPos[ln * lineSize + ln * gap + i] = wmPos; + wmPos2PhysPos[wmPos] = ln * lineSize + ln * gap + i; + } + } + } + else + { + int wmPos = 1; + for (int i = 0; i < textBoxesCount; i++, wmPos++) + { + physPos2wmPos[i] = wmPos; + wmPos2PhysPos[wmPos] = i; + } + } + } + + private void TestStartEndForm_Load(object sender, EventArgs e) + { + Localize(); + + for (int i = 0; i < TextBoxesCount; i++) + { + int wmPos = phys2wm[i]; + + labels[i].Visible = startTextBoxes[i].Visible = endTextBoxes[i].Visible = (wmPos > 0); + + if (wmPos > 0) + { + labels[i].Text = wmPos.ToString(); + + switch (mode) + { + case Tst.Start: + if ((disabled != null && wmPos <= disabled.Length && disabled[wmPos - 1]) || + (regReaders != null && wmPos <= regReaders.Length && regReaders[wmPos - 1] == null)) + { + startTextBoxes[i].Enabled = false; + } + else + { + startTextBoxes[i].Enabled = true; + enabledTextBoxes.Add(startTextBoxes[i]); + } + break; + + case Tst.End: + if ((disabled != null && wmPos <= disabled.Length && disabled[wmPos - 1]) || + (regReaders != null && wmPos <= regReaders.Length && regReaders[wmPos - 1] == null)) + { + startTextBoxes[i].Enabled = false; + endTextBoxes[i].Enabled = false; + } + else + { + startTextBoxes[i].Enabled = true; + startTextBoxes[i].Text = WMStartStateStr[wmPos - 1]; + endTextBoxes[i].Enabled = true; + enabledTextBoxes.Add(startTextBoxes[i]); + enabledTextBoxes.Add(endTextBoxes[i]); + } + break; + + case Tst.Both: + if ((disabled != null && wmPos <= disabled.Length && disabled[wmPos - 1]) || + (regReaders != null && wmPos <= regReaders.Length && regReaders[wmPos - 1] == null)) + { + startTextBoxes[i].Enabled = false; + endTextBoxes[i].Enabled = false; + } + else + { + startTextBoxes[i].Enabled = true; + endTextBoxes[i].Enabled = true; + enabledTextBoxes.Add(startTextBoxes[i]); + enabledTextBoxes.Add(endTextBoxes[i]); + } + break; + } + } + } + + if (!string.IsNullOrEmpty(ocrMessage)) + { + MessageBox.Show(ocrMessage, Strings.Warning, MessageBoxButtons.OK, MessageBoxIcon.Exclamation); + } + + int imagesCount = ImagesToProcessCount(); + log.WarnFormat("Images to process count = {0}", imagesCount); + /// + if (imagesCount > 0 && ocrVidi != null) + { + log.WarnFormat("Starting image processing thread with OcrVidi={0} and OcrStream={1}", ocrVidi, streamName); + + /// Delegate for a thread->form communication + ocrTextObtained = new OcrTextObtainedDelegate(OnOcrTextObtained); + + /// Show and initalize the progress bar + imageProcessingProgressLabel.Visible = true; + imageProcessingProgressBar.Visible = true; + imageProcessingProgressBar.Minimum = 0; + imageProcessingProgressBar.Value = 0; + imageProcessingProgressBar.Maximum = imagesCount; + + /// Start the image processing thread + imageProcessingThread = new Thread(new ThreadStart(ImageProcessingThread)); + imageProcessingThread.Start(); + } + } + + private void TestStartEndForm_FormClosed(object sender, FormClosedEventArgs e) + { + if (imageProcessingThread != null && imageProcessingThread.IsAlive) + { + imageProcessingThread.Join(2000); + } + } + + void Localize() + { + Text = (ocrVidi != null) + ? string.Format("{0} ({1} / {2})", Strings.Water_Meter_States, ocrVidi, streamName) + : Strings.Water_Meter_States; + + startLabel.Text = startLabel2.Text = string.Format("{0} [{1}]", Strings.Start, unit.ToDescription()); + endLabel.Text = endLabel2.Text = string.Format("{0} [{1}]", Strings.End, unit.ToDescription()); + okButton.Text = Strings.OkBtnText; + } + + int ImagesToProcessCount() + { + int count = 0; + + /// Count the images + for (int i = 0; i < WaterMetersCount; i++) + { + if ((mode == Tst.Start || mode == Tst.Both) && startTextBoxes[wm2phys[i + 1]].Enabled && + startImages != null && startImages.Length > i && !string.IsNullOrEmpty(startImages[i])) + { + count++; + } + + if ((mode == Tst.End || mode == Tst.Both) && endTextBoxes[wm2phys[i + 1]].Enabled && + endImages != null && endImages.Length > i && !string.IsNullOrEmpty(endImages[i])) + { + count++; + } + } + + return count; + } + + void ImageProcessingThread() + { + Thread.Sleep(2000); + + bool[] startImgProcessed = new bool[WaterMetersCount]; + bool[] endImgProcessed = new bool[WaterMetersCount]; + + for (int attempt = 1; attempt <= 3; attempt++) + { + for (int i = 0; i < WaterMetersCount; i++) + { + double pulsesPerLtr = (regReaders != null && regReaders.Length > i && regReaders[i] != null) ? regReaders[i].PulsesPerLtr : 1; + GetOcrParameters(pulsesPerLtr, out denominator, out format); + + if ((mode == Tst.Start || mode == Tst.Both) && startTextBoxes[wm2phys[i + 1]].Enabled && + startImages != null && startImages.Length > i && !string.IsNullOrEmpty(startImages[i])) + { + if (!startImgProcessed[i]) + { + try + { + /// Process a start image + var text = ocrVidi.Recognize(streamName, startImages[i], denominator, format); /// OCR + this.Invoke(ocrTextObtained, new object[] { wm2phys[i + 1], false, text }); + startImgProcessed[i] = true; + } + catch (Exception) + { + } + } + } + + if ((mode == Tst.End || mode == Tst.Both) && endTextBoxes[wm2phys[i + 1]].Enabled && + endImages != null && endImages.Length > i && !string.IsNullOrEmpty(endImages[i])) + { + if (!endImgProcessed[i]) + { + try + { + /// Process an end image + var text = ocrVidi.Recognize(streamName, endImages[i], denominator, format); /// OCR + this.Invoke(ocrTextObtained, new object[] { wm2phys[i + 1], true, text }); + endImgProcessed[i] = true; + } + catch (Exception) + { + } + } + } + } + } + } + + void GetOcrParameters(double pulsesPerLtr, out double denominator, out string format) + { + if (pulsesPerLtr == 0.1) + { + denominator = 100; + format = "F2"; + } + else if (pulsesPerLtr == 0.01) + { + denominator = 10; + format = "F1"; + } + else if (pulsesPerLtr == 10) + { + denominator = 10000; + format = "F4"; + } + else // if (pulsesPerLtr == 1) + { + denominator = 1000; + format = "F3"; + } + } + + public void OnOcrTextObtained(int ix, bool isEnd, string text) + { + if (isEnd) + { + if (ix < endTextBoxes.Length && endTextBoxes[ix].Enabled) + { + endTextBoxes[ix].Text = text; + LoadImage(null, Tst.End, ix); + } + } + else + { + if (ix < startTextBoxes.Length && startTextBoxes[ix].Enabled) + { + startTextBoxes[ix].Text = text; + LoadImage(null, Tst.Start, ix); + } + } + + imageProcessingProgressBar.Value++; + } + + private void okButton_Click(object sender, EventArgs eArgs) + { + try + { + log.DebugFormat("okButton_Click - TextBoxesCount: [{0}], phys2wm:[{1}]", TextBoxesCount, phys2wm.ToArray().ToString()); + for (int i = 0; i < TextBoxesCount; i++) + { + int wmPos = phys2wm[i]; + + if (wmPos > 0) + { + if (startTextBoxes[i].Enabled && startTextBoxes[i].Text != WMStartStateStr[wmPos - 1]) + { + double val; + if (Utils.TryParseUDouble(startTextBoxes[i].Text, out val)) + { + WMStartState[wmPos - 1] = Units.ConvertFrom(unit, val); /// Convert to liters + WMStartStateStr[wmPos - 1] = startTextBoxes[i].Text; + log.DebugFormat("startTextBoxes[{0}]= {1} - wmPos= {2} - WMStartState[{3}]= {4} ", i,startTextBoxes[i].Text, wmPos, wmPos - 1,WMStartState[wmPos - 1] ); + } + } + + if (endTextBoxes[i].Enabled) + { + double val; + if (Utils.TryParseUDouble(endTextBoxes[i].Text, out val)) + { + WMEndState[wmPos - 1] = Units.ConvertFrom(unit, val); /// Convert to liters + log.DebugFormat("endTextBoxes[{0}]= {1} - wmPos= {2} - WMEndState[{3}]= {4} ", i,endTextBoxes[i].Text, wmPos, wmPos - 1,WMEndState[wmPos - 1] ); + } + } + } + } + } + catch (Exception e) + { + log.ErrorFormat("Exception: {0}", e.Message); + return; + } + + completed = true; + Close(); + } + + private void previousButton_Click(object sender, EventArgs e) + { + + } + + private void nextButton_Click(object sender, EventArgs e) + { + + } + + + #region Forced close handling + + public void StartForceCloseHandler() + { + UiBridge.Bridge.CloseModelessFormHandler += delegate(object sender, EventArgs args) + { + if (InvokeRequired) { Invoke(new EventHandler(OnForceClose), sender, args); } + else OnForceClose(sender, args); + }; + } + + void OnForceClose(object sender, EventArgs args) + { + DialogResult = DialogResult.Cancel; + Close(); + } + + #endregion + + + /// + /// Calculate the approximate error and verify whether it is within limits. + /// Make an exclamation mark visible if out of range. + /// Similar event handler is implemented for all endTextBoxes (1..24). + /// + private void startTextBox1_TextChanged(object sender, EventArgs e) { UpdateExclamation(0); } + private void startTextBox2_TextChanged(object sender, EventArgs e) { UpdateExclamation(1); } + private void startTextBox3_TextChanged(object sender, EventArgs e) { UpdateExclamation(2); } + private void startTextBox4_TextChanged(object sender, EventArgs e) { UpdateExclamation(3); } + private void startTextBox5_TextChanged(object sender, EventArgs e) { UpdateExclamation(4); } + private void startTextBox6_TextChanged(object sender, EventArgs e) { UpdateExclamation(5); } + private void startTextBox7_TextChanged(object sender, EventArgs e) { UpdateExclamation(6); } + private void startTextBox8_TextChanged(object sender, EventArgs e) { UpdateExclamation(7); } + private void startTextBox9_TextChanged(object sender, EventArgs e) { UpdateExclamation(8); } + private void startTextBox10_TextChanged(object sender, EventArgs e) { UpdateExclamation(9); } + private void startTextBox11_TextChanged(object sender, EventArgs e) { UpdateExclamation(10); } + private void startTextBox12_TextChanged(object sender, EventArgs e) { UpdateExclamation(11); } + private void startTextBox13_TextChanged(object sender, EventArgs e) { UpdateExclamation(12); } + private void startTextBox14_TextChanged(object sender, EventArgs e) { UpdateExclamation(13); } + private void startTextBox15_TextChanged(object sender, EventArgs e) { UpdateExclamation(14); } + private void startTextBox16_TextChanged(object sender, EventArgs e) { UpdateExclamation(15); } + private void startTextBox17_TextChanged(object sender, EventArgs e) { UpdateExclamation(16); } + private void startTextBox18_TextChanged(object sender, EventArgs e) { UpdateExclamation(17); } + private void startTextBox19_TextChanged(object sender, EventArgs e) { UpdateExclamation(18); } + private void startTextBox20_TextChanged(object sender, EventArgs e) { UpdateExclamation(19); } + private void startTextBox21_TextChanged(object sender, EventArgs e) { UpdateExclamation(20); } + private void startTextBox22_TextChanged(object sender, EventArgs e) { UpdateExclamation(21); } + private void startTextBox23_TextChanged(object sender, EventArgs e) { UpdateExclamation(22); } + private void startTextBox24_TextChanged(object sender, EventArgs e) { UpdateExclamation(23); } + + private void endTextBox1_TextChanged(object sender, EventArgs e) { UpdateExclamation(0); } + private void endTextBox2_TextChanged(object sender, EventArgs e) { UpdateExclamation(1); } + private void endTextBox3_TextChanged(object sender, EventArgs e) { UpdateExclamation(2); } + private void endTextBox4_TextChanged(object sender, EventArgs e) { UpdateExclamation(3); } + private void endTextBox5_TextChanged(object sender, EventArgs e) { UpdateExclamation(4); } + private void endTextBox6_TextChanged(object sender, EventArgs e) { UpdateExclamation(5); } + private void endTextBox7_TextChanged(object sender, EventArgs e) { UpdateExclamation(6); } + private void endTextBox8_TextChanged(object sender, EventArgs e) { UpdateExclamation(7); } + private void endTextBox9_TextChanged(object sender, EventArgs e) { UpdateExclamation(8); } + private void endTextBox10_TextChanged(object sender, EventArgs e) { UpdateExclamation(9); } + private void endTextBox11_TextChanged(object sender, EventArgs e) { UpdateExclamation(10); } + private void endTextBox12_TextChanged(object sender, EventArgs e) { UpdateExclamation(11); } + private void endTextBox13_TextChanged(object sender, EventArgs e) { UpdateExclamation(12); } + private void endTextBox14_TextChanged(object sender, EventArgs e) { UpdateExclamation(13); } + private void endTextBox15_TextChanged(object sender, EventArgs e) { UpdateExclamation(14); } + private void endTextBox16_TextChanged(object sender, EventArgs e) { UpdateExclamation(15); } + private void endTextBox17_TextChanged(object sender, EventArgs e) { UpdateExclamation(16); } + private void endTextBox18_TextChanged(object sender, EventArgs e) { UpdateExclamation(17); } + private void endTextBox19_TextChanged(object sender, EventArgs e) { UpdateExclamation(18); } + private void endTextBox20_TextChanged(object sender, EventArgs e) { UpdateExclamation(19); } + private void endTextBox21_TextChanged(object sender, EventArgs e) { UpdateExclamation(20); } + private void endTextBox22_TextChanged(object sender, EventArgs e) { UpdateExclamation(21); } + private void endTextBox23_TextChanged(object sender, EventArgs e) { UpdateExclamation(22); } + private void endTextBox24_TextChanged(object sender, EventArgs e) { UpdateExclamation(23); } + /// + void UpdateExclamation(int uiCtrlPos) /// uiCtrlPos = 0 .. TextBoxesCount-1 + { + if ((mode == Tst.End) || (mode == Tst.Both)) + { + try + { + double startV = Utils.ParseUDouble(startTextBoxes[uiCtrlPos].Text); + double startVolumeL = (unit == Unit.pulse) + ? startV * regReaders[phys2wm[uiCtrlPos] - 1].LtrsPerPulse + : Units.ConvertFrom(unit, startV); + + double endV = Utils.ParseUDouble(endTextBoxes[uiCtrlPos].Text); + double endVolumeL = (unit == Unit.pulse) + ? endV * regReaders[phys2wm[uiCtrlPos] - 1].LtrsPerPulse + : Units.ConvertFrom(unit, endV); + + double err = 100.0 * (endVolumeL - startVolumeL - refVolume) / refVolume; + exclamations[uiCtrlPos].Visible = (err < warningLimLo) || (warningLimHi < err); + + log.Debug(string.Format("DataEntry - Update unit:[{0}], startV: {1} -> {2}, endV: {3} -> {4} ", + unit, startV, startVolumeL, endV, endVolumeL)); + } + catch + { + exclamations[uiCtrlPos].Visible = false; + log.Debug("DataEntry - Update unit - Error uiCtrlPos: " + uiCtrlPos); + } + } + } + + + private void startTextBox1_KeyPress(object sndr, KeyPressEventArgs e) { ProcKeyPress(sndr, e, startTextBox1); } + private void startTextBox2_KeyPress(object sndr, KeyPressEventArgs e) { ProcKeyPress(sndr, e, startTextBox2); } + private void startTextBox3_KeyPress(object sndr, KeyPressEventArgs e) { ProcKeyPress(sndr, e, startTextBox3); } + private void startTextBox4_KeyPress(object sndr, KeyPressEventArgs e) { ProcKeyPress(sndr, e, startTextBox4); } + private void startTextBox5_KeyPress(object sndr, KeyPressEventArgs e) { ProcKeyPress(sndr, e, startTextBox5); } + private void startTextBox6_KeyPress(object sndr, KeyPressEventArgs e) { ProcKeyPress(sndr, e, startTextBox6); } + private void startTextBox7_KeyPress(object sndr, KeyPressEventArgs e) { ProcKeyPress(sndr, e, startTextBox7); } + private void startTextBox8_KeyPress(object sndr, KeyPressEventArgs e) { ProcKeyPress(sndr, e, startTextBox8); } + private void startTextBox9_KeyPress(object sndr, KeyPressEventArgs e) { ProcKeyPress(sndr, e, startTextBox9); } + private void startTextBox10_KeyPress(object sndr, KeyPressEventArgs e) { ProcKeyPress(sndr, e, startTextBox10); } + private void startTextBox11_KeyPress(object sndr, KeyPressEventArgs e) { ProcKeyPress(sndr, e, startTextBox11); } + private void startTextBox12_KeyPress(object sndr, KeyPressEventArgs e) { ProcKeyPress(sndr, e, startTextBox12); } + private void startTextBox13_KeyPress(object sndr, KeyPressEventArgs e) { ProcKeyPress(sndr, e, startTextBox13); } + private void startTextBox14_KeyPress(object sndr, KeyPressEventArgs e) { ProcKeyPress(sndr, e, startTextBox14); } + private void startTextBox15_KeyPress(object sndr, KeyPressEventArgs e) { ProcKeyPress(sndr, e, startTextBox15); } + private void startTextBox16_KeyPress(object sndr, KeyPressEventArgs e) { ProcKeyPress(sndr, e, startTextBox16); } + private void startTextBox17_KeyPress(object sndr, KeyPressEventArgs e) { ProcKeyPress(sndr, e, startTextBox17); } + private void startTextBox18_KeyPress(object sndr, KeyPressEventArgs e) { ProcKeyPress(sndr, e, startTextBox18); } + private void startTextBox19_KeyPress(object sndr, KeyPressEventArgs e) { ProcKeyPress(sndr, e, startTextBox19); } + private void startTextBox20_KeyPress(object sndr, KeyPressEventArgs e) { ProcKeyPress(sndr, e, startTextBox20); } + private void startTextBox21_KeyPress(object sndr, KeyPressEventArgs e) { ProcKeyPress(sndr, e, startTextBox21); } + private void startTextBox22_KeyPress(object sndr, KeyPressEventArgs e) { ProcKeyPress(sndr, e, startTextBox22); } + private void startTextBox23_KeyPress(object sndr, KeyPressEventArgs e) { ProcKeyPress(sndr, e, startTextBox23); } + private void startTextBox24_KeyPress(object sndr, KeyPressEventArgs e) { ProcKeyPress(sndr, e, startTextBox24); } + + private void endTextBox1_KeyPress(object sndr, KeyPressEventArgs e) { ProcKeyPress(sndr, e, endTextBox1); } + private void endTextBox2_KeyPress(object sndr, KeyPressEventArgs e) { ProcKeyPress(sndr, e, endTextBox2); } + private void endTextBox3_KeyPress(object sndr, KeyPressEventArgs e) { ProcKeyPress(sndr, e, endTextBox3); } + private void endTextBox4_KeyPress(object sndr, KeyPressEventArgs e) { ProcKeyPress(sndr, e, endTextBox4); } + private void endTextBox5_KeyPress(object sndr, KeyPressEventArgs e) { ProcKeyPress(sndr, e, endTextBox5); } + private void endTextBox6_KeyPress(object sndr, KeyPressEventArgs e) { ProcKeyPress(sndr, e, endTextBox6); } + private void endTextBox7_KeyPress(object sndr, KeyPressEventArgs e) { ProcKeyPress(sndr, e, endTextBox7); } + private void endTextBox8_KeyPress(object sndr, KeyPressEventArgs e) { ProcKeyPress(sndr, e, endTextBox8); } + private void endTextBox9_KeyPress(object sndr, KeyPressEventArgs e) { ProcKeyPress(sndr, e, endTextBox9); } + private void endTextBox10_KeyPress(object sndr, KeyPressEventArgs e) { ProcKeyPress(sndr, e, endTextBox10); } + private void endTextBox11_KeyPress(object sndr, KeyPressEventArgs e) { ProcKeyPress(sndr, e, endTextBox11); } + private void endTextBox12_KeyPress(object sndr, KeyPressEventArgs e) { ProcKeyPress(sndr, e, endTextBox12); } + private void endTextBox13_KeyPress(object sndr, KeyPressEventArgs e) { ProcKeyPress(sndr, e, endTextBox13); } + private void endTextBox14_KeyPress(object sndr, KeyPressEventArgs e) { ProcKeyPress(sndr, e, endTextBox14); } + private void endTextBox15_KeyPress(object sndr, KeyPressEventArgs e) { ProcKeyPress(sndr, e, endTextBox15); } + private void endTextBox16_KeyPress(object sndr, KeyPressEventArgs e) { ProcKeyPress(sndr, e, endTextBox16); } + private void endTextBox17_KeyPress(object sndr, KeyPressEventArgs e) { ProcKeyPress(sndr, e, endTextBox17); } + private void endTextBox18_KeyPress(object sndr, KeyPressEventArgs e) { ProcKeyPress(sndr, e, endTextBox18); } + private void endTextBox19_KeyPress(object sndr, KeyPressEventArgs e) { ProcKeyPress(sndr, e, endTextBox19); } + private void endTextBox20_KeyPress(object sndr, KeyPressEventArgs e) { ProcKeyPress(sndr, e, endTextBox20); } + private void endTextBox21_KeyPress(object sndr, KeyPressEventArgs e) { ProcKeyPress(sndr, e, endTextBox21); } + private void endTextBox22_KeyPress(object sndr, KeyPressEventArgs e) { ProcKeyPress(sndr, e, endTextBox22); } + private void endTextBox23_KeyPress(object sndr, KeyPressEventArgs e) { ProcKeyPress(sndr, e, endTextBox23); } + private void endTextBox24_KeyPress(object sndr, KeyPressEventArgs e) { ProcKeyPress(sndr, e, endTextBox24); } + /// + /// + /// Process a key press within any enabled text boxe + /// + /// + /// + /// TextBox control which received the event + private void ProcKeyPress(object sender, KeyPressEventArgs e, TextBox currentFocusOwner) + { + if (e.KeyChar == '+') + { + /// Process '+' key ..... Form completed + okButton_Click(sender, e); + } + if (e.KeyChar == '\r') + { + /// Process key ..... Next text field + if (enabledTextBoxes.Count < 2) return; /// There is just one enabled textbox + + for (int i = 0; i < enabledTextBoxes.Count; i++) + { + if (enabledTextBoxes[i] == currentFocusOwner) + { + /// Change focus to the next enabled text box + var currentTextBox = enabledTextBoxes[(i + 1) % enabledTextBoxes.Count]; + currentTextBox.Focus(); + + /// Load the respective image + for (int j = 0; j < startTextBoxes.Length; j++) + { + if (startTextBoxes[j] == currentTextBox) + { + LoadImage(currentTextBox, Tst.Start, j); + return; + } + } + for (int j = 0; j < endTextBoxes.Length; j++) + { + if (endTextBoxes[j] == currentTextBox) + { + + LoadImage(currentTextBox, Tst.End, j); + return; + } + } + + /// No image found + return; + } + } + } + } + + + private void startTextBox1_AcceptsTabChanged(object sender, EventArgs e) { LoadImage(sender, Tst.Start, 0); } + private void startTextBox2_AcceptsTabChanged(object sender, EventArgs e) { LoadImage(sender, Tst.Start, 1); } + private void startTextBox3_AcceptsTabChanged(object sender, EventArgs e) { LoadImage(sender, Tst.Start, 2); } + private void startTextBox4_AcceptsTabChanged(object sender, EventArgs e) { LoadImage(sender, Tst.Start, 3); } + private void startTextBox5_AcceptsTabChanged(object sender, EventArgs e) { LoadImage(sender, Tst.Start, 4); } + private void startTextBox6_AcceptsTabChanged(object sender, EventArgs e) { LoadImage(sender, Tst.Start, 5); } + private void startTextBox7_AcceptsTabChanged(object sender, EventArgs e) { LoadImage(sender, Tst.Start, 6); } + private void startTextBox8_AcceptsTabChanged(object sender, EventArgs e) { LoadImage(sender, Tst.Start, 7); } + private void startTextBox9_AcceptsTabChanged(object sender, EventArgs e) { LoadImage(sender, Tst.Start, 8); } + private void startTextBox10_AcceptsTabChanged(object sender, EventArgs e) { LoadImage(sender, Tst.Start, 9); } + private void startTextBox11_AcceptsTabChanged(object sender, EventArgs e) { LoadImage(sender, Tst.Start, 10); } + private void startTextBox12_AcceptsTabChanged(object sender, EventArgs e) { LoadImage(sender, Tst.Start, 11); } + private void startTextBox13_AcceptsTabChanged(object sender, EventArgs e) { LoadImage(sender, Tst.Start, 12); } + private void startTextBox14_AcceptsTabChanged(object sender, EventArgs e) { LoadImage(sender, Tst.Start, 13); } + private void startTextBox15_AcceptsTabChanged(object sender, EventArgs e) { LoadImage(sender, Tst.Start, 14); } + private void startTextBox16_AcceptsTabChanged(object sender, EventArgs e) { LoadImage(sender, Tst.Start, 15); } + private void startTextBox17_AcceptsTabChanged(object sender, EventArgs e) { LoadImage(sender, Tst.Start, 16); } + private void startTextBox18_AcceptsTabChanged(object sender, EventArgs e) { LoadImage(sender, Tst.Start, 17); } + private void startTextBox19_AcceptsTabChanged(object sender, EventArgs e) { LoadImage(sender, Tst.Start, 18); } + private void startTextBox20_AcceptsTabChanged(object sender, EventArgs e) { LoadImage(sender, Tst.Start, 19); } + private void startTextBox21_AcceptsTabChanged(object sender, EventArgs e) { LoadImage(sender, Tst.Start, 20); } + private void startTextBox22_AcceptsTabChanged(object sender, EventArgs e) { LoadImage(sender, Tst.Start, 21); } + private void startTextBox23_AcceptsTabChanged(object sender, EventArgs e) { LoadImage(sender, Tst.Start, 22); } + private void startTextBox24_AcceptsTabChanged(object sender, EventArgs e) { LoadImage(sender, Tst.Start, 23); } + private void startTextBox1_MouseDown(object sender, MouseEventArgs e) { LoadImage(sender, Tst.Start, 0); } + private void startTextBox2_MouseDown(object sender, MouseEventArgs e) { LoadImage(sender, Tst.Start, 1); } + private void startTextBox3_MouseDown(object sender, MouseEventArgs e) { LoadImage(sender, Tst.Start, 2); } + private void startTextBox4_MouseDown(object sender, MouseEventArgs e) { LoadImage(sender, Tst.Start, 3); } + private void startTextBox5_MouseDown(object sender, MouseEventArgs e) { LoadImage(sender, Tst.Start, 4); } + private void startTextBox6_MouseDown(object sender, MouseEventArgs e) { LoadImage(sender, Tst.Start, 5); } + private void startTextBox7_MouseDown(object sender, MouseEventArgs e) { LoadImage(sender, Tst.Start, 6); } + private void startTextBox8_MouseDown(object sender, MouseEventArgs e) { LoadImage(sender, Tst.Start, 7); } + private void startTextBox9_MouseDown(object sender, MouseEventArgs e) { LoadImage(sender, Tst.Start, 8); } + private void startTextBox10_MouseDown(object sender, MouseEventArgs e) { LoadImage(sender, Tst.Start, 9); } + private void startTextBox11_MouseDown(object sender, MouseEventArgs e) { LoadImage(sender, Tst.Start, 10); } + private void startTextBox12_MouseDown(object sender, MouseEventArgs e) { LoadImage(sender, Tst.Start, 11); } + private void startTextBox13_MouseDown(object sender, MouseEventArgs e) { LoadImage(sender, Tst.Start, 12); } + private void startTextBox14_MouseDown(object sender, MouseEventArgs e) { LoadImage(sender, Tst.Start, 13); } + private void startTextBox15_MouseDown(object sender, MouseEventArgs e) { LoadImage(sender, Tst.Start, 14); } + private void startTextBox16_MouseDown(object sender, MouseEventArgs e) { LoadImage(sender, Tst.Start, 15); } + private void startTextBox17_MouseDown(object sender, MouseEventArgs e) { LoadImage(sender, Tst.Start, 16); } + private void startTextBox18_MouseDown(object sender, MouseEventArgs e) { LoadImage(sender, Tst.Start, 17); } + private void startTextBox19_MouseDown(object sender, MouseEventArgs e) { LoadImage(sender, Tst.Start, 18); } + private void startTextBox20_MouseDown(object sender, MouseEventArgs e) { LoadImage(sender, Tst.Start, 19); } + private void startTextBox21_MouseDown(object sender, MouseEventArgs e) { LoadImage(sender, Tst.Start, 20); } + private void startTextBox22_MouseDown(object sender, MouseEventArgs e) { LoadImage(sender, Tst.Start, 21); } + private void startTextBox23_MouseDown(object sender, MouseEventArgs e) { LoadImage(sender, Tst.Start, 22); } + private void startTextBox24_MouseDown(object sender, MouseEventArgs e) { LoadImage(sender, Tst.Start, 23); } + + private void endTextBox1_AcceptsTabChanged(object sender, EventArgs e) { LoadImage(sender, Tst.End, 0); } + private void endTextBox2_AcceptsTabChanged(object sender, EventArgs e) { LoadImage(sender, Tst.End, 1); } + private void endTextBox3_AcceptsTabChanged(object sender, EventArgs e) { LoadImage(sender, Tst.End, 2); } + private void endTextBox4_AcceptsTabChanged(object sender, EventArgs e) { LoadImage(sender, Tst.End, 3); } + private void endTextBox5_AcceptsTabChanged(object sender, EventArgs e) { LoadImage(sender, Tst.End, 4); } + private void endTextBox6_AcceptsTabChanged(object sender, EventArgs e) { LoadImage(sender, Tst.End, 5); } + private void endTextBox7_AcceptsTabChanged(object sender, EventArgs e) { LoadImage(sender, Tst.End, 6); } + private void endTextBox8_AcceptsTabChanged(object sender, EventArgs e) { LoadImage(sender, Tst.End, 7); } + private void endTextBox9_AcceptsTabChanged(object sender, EventArgs e) { LoadImage(sender, Tst.End, 8); } + private void endTextBox10_AcceptsTabChanged(object sender, EventArgs e) { LoadImage(sender, Tst.End, 9); } + private void endTextBox11_AcceptsTabChanged(object sender, EventArgs e) { LoadImage(sender, Tst.End, 10); } + private void endTextBox12_AcceptsTabChanged(object sender, EventArgs e) { LoadImage(sender, Tst.End, 11); } + private void endTextBox13_AcceptsTabChanged(object sender, EventArgs e) { LoadImage(sender, Tst.End, 12); } + private void endTextBox14_AcceptsTabChanged(object sender, EventArgs e) { LoadImage(sender, Tst.End, 13); } + private void endTextBox15_AcceptsTabChanged(object sender, EventArgs e) { LoadImage(sender, Tst.End, 14); } + private void endTextBox16_AcceptsTabChanged(object sender, EventArgs e) { LoadImage(sender, Tst.End, 15); } + private void endTextBox17_AcceptsTabChanged(object sender, EventArgs e) { LoadImage(sender, Tst.End, 16); } + private void endTextBox18_AcceptsTabChanged(object sender, EventArgs e) { LoadImage(sender, Tst.End, 17); } + private void endTextBox19_AcceptsTabChanged(object sender, EventArgs e) { LoadImage(sender, Tst.End, 18); } + private void endTextBox20_AcceptsTabChanged(object sender, EventArgs e) { LoadImage(sender, Tst.End, 19); } + private void endTextBox21_AcceptsTabChanged(object sender, EventArgs e) { LoadImage(sender, Tst.End, 20); } + private void endTextBox22_AcceptsTabChanged(object sender, EventArgs e) { LoadImage(sender, Tst.End, 21); } + private void endTextBox24_AcceptsTabChanged(object sender, EventArgs e) { LoadImage(sender, Tst.End, 22); } + private void endTextBox23_AcceptsTabChanged(object sender, EventArgs e) { LoadImage(sender, Tst.End, 23); } + private void endTextBox1_MouseDown(object sender, MouseEventArgs e) { LoadImage(sender, Tst.End, 0); } + private void endTextBox2_MouseDown(object sender, MouseEventArgs e) { LoadImage(sender, Tst.End, 1); } + private void endTextBox3_MouseDown(object sender, MouseEventArgs e) { LoadImage(sender, Tst.End, 2); } + private void endTextBox4_MouseDown(object sender, MouseEventArgs e) { LoadImage(sender, Tst.End, 3); } + private void endTextBox5_MouseDown(object sender, MouseEventArgs e) { LoadImage(sender, Tst.End, 4); } + private void endTextBox6_MouseDown(object sender, MouseEventArgs e) { LoadImage(sender, Tst.End, 5); } + private void endTextBox7_MouseDown(object sender, MouseEventArgs e) { LoadImage(sender, Tst.End, 6); } + private void endTextBox8_MouseDown(object sender, MouseEventArgs e) { LoadImage(sender, Tst.End, 7); } + private void endTextBox9_MouseDown(object sender, MouseEventArgs e) { LoadImage(sender, Tst.End, 8); } + private void endTextBox10_MouseDown(object sender, MouseEventArgs e) { LoadImage(sender, Tst.End, 9); } + private void endTextBox11_MouseDown(object sender, MouseEventArgs e) { LoadImage(sender, Tst.End, 10); } + private void endTextBox12_MouseDown(object sender, MouseEventArgs e) { LoadImage(sender, Tst.End, 11); } + private void endTextBox13_MouseDown(object sender, MouseEventArgs e) { LoadImage(sender, Tst.End, 12); } + private void endTextBox14_MouseDown(object sender, MouseEventArgs e) { LoadImage(sender, Tst.End, 13); } + private void endTextBox15_MouseDown(object sender, MouseEventArgs e) { LoadImage(sender, Tst.End, 14); } + private void endTextBox16_MouseDown(object sender, MouseEventArgs e) { LoadImage(sender, Tst.End, 15); } + private void endTextBox17_MouseDown(object sender, MouseEventArgs e) { LoadImage(sender, Tst.End, 16); } + private void endTextBox18_MouseDown(object sender, MouseEventArgs e) { LoadImage(sender, Tst.End, 17); } + private void endTextBox19_MouseDown(object sender, MouseEventArgs e) { LoadImage(sender, Tst.End, 18); } + private void endTextBox20_MouseDown(object sender, MouseEventArgs e) { LoadImage(sender, Tst.End, 19); } + private void endTextBox21_MouseDown(object sender, MouseEventArgs e) { LoadImage(sender, Tst.End, 20); } + private void endTextBox22_MouseDown(object sender, MouseEventArgs e) { LoadImage(sender, Tst.End, 21); } + private void endTextBox23_MouseDown(object sender, MouseEventArgs e) { LoadImage(sender, Tst.End, 22); } + private void endTextBox24_MouseDown(object sender, MouseEventArgs e) { LoadImage(sender, Tst.End, 23); } + + /// + /// Loads appropriate image into pictureBox1.Image + /// Handles mouse clicks and Tab-changes inside text boxes. + /// + /// Tst.Start or Tst.End + /// 0..23 + void LoadImage(object sender, Tst startOrEnd, int physPos) + { + int wmNr1b = phys2wm[physPos]; /// 0 means no WM + if (wmNr1b <= 0) return; + + wmNr0b = wmNr1b - 1; + + string imageFileName; + if (startOrEnd == Tst.Start && startImages[wmNr0b] != null) + imageFileName = startImages[wmNr0b]; + else if (startOrEnd == Tst.End && endImages[wmNr0b] != null) + imageFileName = endImages[wmNr0b]; + else + imageFileName = string.Empty; + + if (imageFileName == lastImageName) + { + return; + } + + lastImageName = imageFileName; + lastWmNr1 = wmNr1b; + + if (string.IsNullOrEmpty(imageFileName) || !File.Exists(imageFileName)) + { + lastImage = null; + } + else + { + using (Bitmap tempBmp = Image.FromFile(imageFileName) as Bitmap) + { + Rectangle rect; + if (tempBmp.Height < tempBmp.Width) + { + int hght = tempBmp.Height; + int leftMargin = (tempBmp.Width - hght) / 2; + rect = new Rectangle(leftMargin, 0, hght, hght); + } + else + { + int hght = tempBmp.Height; + int wdth = tempBmp.Width; + int margin = (hght - wdth) / 2; + rect = new Rectangle(0, margin, wdth, wdth); + } + //int hght = tempBmp.Height; + //int leftMargin = (tempBmp.Width - hght) / 2; + //lastImage = new Bitmap(tempBmp.Clone(new Rectangle(leftMargin, 0, hght, hght), tempBmp.PixelFormat)); + lastImage = new Bitmap(tempBmp.Clone(rect, tempBmp.PixelFormat)); + if (isZoomed[wmNr0b]) + { + zoomedImage = MakeZoomedImage(lastImage, zoomCenterLoc[wmNr0b]); + } + } + } + + ShowImage(); + } + + + /// + /// Left click = Zoom, Right click = Unzoom + /// + private void pictureBox1_Click(object sender, EventArgs e) + { + if (lastImage == null) return; + + MouseEventArgs me = (MouseEventArgs)e; + + if (me.Button == MouseButtons.Left && !isZoomed[wmNr0b]) + { + switch (imageRotation) + { + case Rotation.R0: + zoomCenterLoc[wmNr0b] = me.Location; + break; + case Rotation.R90: + zoomCenterLoc[wmNr0b].X = pictureBox1.Size.Height - me.Location.Y - 1; + zoomCenterLoc[wmNr0b].Y = me.Location.X; + break; + case Rotation.R180: + zoomCenterLoc[wmNr0b].X = pictureBox1.Size.Width - me.Location.X - 1; + zoomCenterLoc[wmNr0b].Y = pictureBox1.Size.Height - me.Location.Y - 1; + break; + case Rotation.R270: + zoomCenterLoc[wmNr0b].X = me.Location.Y; + zoomCenterLoc[wmNr0b].Y = pictureBox1.Size.Width - me.Location.X - 1; + break; + } + + zoomedImage = MakeZoomedImage(lastImage, zoomCenterLoc[wmNr0b]); + isZoomed[wmNr0b] = true; + ShowImage(); + } + else if (me.Button == MouseButtons.Right) + { + isZoomed[wmNr0b] = false; + ShowImage(); + } + } + + private void rotateImageButton_Click(object sender, EventArgs e) + { + if (lastImage == null) return; + + if (++imageRotation == Rotation.Count) + { + imageRotation = Rotation.R0; + } + ShowImage(); + } + + Bitmap MakeZoomedImage(Bitmap oriImage, Point centerLoc) + { + float picBoxW = (float)pictureBox1.Size.Width; + float picBoxH = (float)pictureBox1.Size.Height; + float newRelX = Math.Max(0, Math.Min(centerLoc.X / picBoxW - 0.25f, 0.5f)); + float newRelY = Math.Max(0, Math.Min(centerLoc.Y / picBoxH - 0.25f, 0.5f)); + + Rectangle newRect = new Rectangle((int)(newRelX * oriImage.Width), + (int)(newRelY * oriImage.Height), + oriImage.Width / 2, + oriImage.Height / 2); /// image resolution, 1280 x 960 + return lastImage.Clone(newRect, oriImage.PixelFormat); + } + + /// + /// Used by ShowImage() + /// + Brush lightBrush = new SolidBrush(Color.LightGreen); + Brush darkBrush = new SolidBrush(Color.Green); + Font largeFont = new Font("arial", 24.0F, FontStyle.Bold); /// normal image + Font smallFont = new Font("arial", 12.0F, FontStyle.Bold); /// zoomed image + + /// + /// Show selected image in the picture box. + /// lastWmNr1, lastImage, zoomedImage, isZoomed and imageRotation are used. + /// + void ShowImage() + { + if (lastImage == null) + { + pictureBox1.Image = new Bitmap(TBF.Properties.Resources.Empty); + return; + } + + Bitmap tempBmp = isZoomed[wmNr0b] + ? new Bitmap(zoomedImage.Clone(new Rectangle(0, 0, zoomedImage.Width, zoomedImage.Height), zoomedImage.PixelFormat)) + : new Bitmap(lastImage.Clone(new Rectangle(0, 0, lastImage.Width, lastImage.Height), lastImage.PixelFormat)); + + switch (imageRotation) + { + case Rotation.R90: tempBmp.RotateFlip(RotateFlipType.Rotate270FlipNone); break; + case Rotation.R180: tempBmp.RotateFlip(RotateFlipType.Rotate180FlipNone); break; + case Rotation.R270: tempBmp.RotateFlip(RotateFlipType.Rotate90FlipNone); break; + } + + /// Write water meter number to the bitmap + using (var grph = Graphics.FromImage(tempBmp)) + { + Font font = isZoomed[wmNr0b] ? smallFont : largeFont; + int margin = isZoomed[wmNr0b] ? 1 : 2; + + int pixelsCount = 0; + int brightness = 0; + for (int x = margin; x <= 8 * margin; x += margin) + { + for (int y = margin; y <= 8 * margin; y += margin) + { + brightness += (int)tempBmp.GetPixel(x, y).G; + pixelsCount++; + } + } + brightness /= pixelsCount; + + Brush brush = (brightness > 160) ? darkBrush : lightBrush; + + grph.DrawString(lastWmNr1.ToString(), font, brush, margin, margin); + } + + pictureBox1.Image = tempBmp; + } + + + } +} diff --git a/TBF/Rig/DataEntry/StandartCameraPurchaseOrder/TestStartEndForm.designer.cs b/TBF/Rig/DataEntry/StandartCameraPurchaseOrder/TestStartEndForm.designer.cs new file mode 100644 index 000000000..3dca08f43 --- /dev/null +++ b/TBF/Rig/DataEntry/StandartCameraPurchaseOrder/TestStartEndForm.designer.cs @@ -0,0 +1,3218 @@ +/// +/// Copyright (c) 2017 Sensus Metering Systems +/// +namespace TBF.Rig.DataEntry.StandartCameraPurchaseOrder +{ + partial class TestStartEndForm + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.exclamation1 = new System.Windows.Forms.Label(); + this.startTextBox1 = new System.Windows.Forms.TextBox(); + this.endTextBox1 = new System.Windows.Forms.TextBox(); + this.label1 = new System.Windows.Forms.Label(); + this.okButton = new System.Windows.Forms.Button(); + this.exclamation3 = new System.Windows.Forms.Label(); + this.startTextBox3 = new System.Windows.Forms.TextBox(); + this.endTextBox3 = new System.Windows.Forms.TextBox(); + this.label3 = new System.Windows.Forms.Label(); + this.exclamation4 = new System.Windows.Forms.Label(); + this.startTextBox4 = new System.Windows.Forms.TextBox(); + this.endTextBox4 = new System.Windows.Forms.TextBox(); + this.label4 = new System.Windows.Forms.Label(); + this.exclamation5 = new System.Windows.Forms.Label(); + this.startTextBox5 = new System.Windows.Forms.TextBox(); + this.endTextBox5 = new System.Windows.Forms.TextBox(); + this.label5 = new System.Windows.Forms.Label(); + this.exclamation6 = new System.Windows.Forms.Label(); + this.startTextBox6 = new System.Windows.Forms.TextBox(); + this.endTextBox6 = new System.Windows.Forms.TextBox(); + this.label6 = new System.Windows.Forms.Label(); + this.startLabel = new System.Windows.Forms.Label(); + this.endLabel = new System.Windows.Forms.Label(); + this.label2 = new System.Windows.Forms.Label(); + this.endTextBox2 = new System.Windows.Forms.TextBox(); + this.startTextBox2 = new System.Windows.Forms.TextBox(); + this.exclamation2 = new System.Windows.Forms.Label(); + this.exclamation7 = new System.Windows.Forms.Label(); + this.startTextBox7 = new System.Windows.Forms.TextBox(); + this.endTextBox7 = new System.Windows.Forms.TextBox(); + this.label7 = new System.Windows.Forms.Label(); + this.exclamation8 = new System.Windows.Forms.Label(); + this.startTextBox8 = new System.Windows.Forms.TextBox(); + this.endTextBox8 = new System.Windows.Forms.TextBox(); + this.label8 = new System.Windows.Forms.Label(); + this.exclamation9 = new System.Windows.Forms.Label(); + this.startTextBox9 = new System.Windows.Forms.TextBox(); + this.endTextBox9 = new System.Windows.Forms.TextBox(); + this.label9 = new System.Windows.Forms.Label(); + this.exclamation10 = new System.Windows.Forms.Label(); + this.startTextBox10 = new System.Windows.Forms.TextBox(); + this.endTextBox10 = new System.Windows.Forms.TextBox(); + this.label10 = new System.Windows.Forms.Label(); + this.exclamation11 = new System.Windows.Forms.Label(); + this.startTextBox11 = new System.Windows.Forms.TextBox(); + this.endTextBox11 = new System.Windows.Forms.TextBox(); + this.label11 = new System.Windows.Forms.Label(); + this.exclamation12 = new System.Windows.Forms.Label(); + this.startTextBox12 = new System.Windows.Forms.TextBox(); + this.endTextBox12 = new System.Windows.Forms.TextBox(); + this.label12 = new System.Windows.Forms.Label(); + this.exclamation24 = new System.Windows.Forms.Label(); + this.startTextBox24 = new System.Windows.Forms.TextBox(); + this.endTextBox24 = new System.Windows.Forms.TextBox(); + this.label24 = new System.Windows.Forms.Label(); + this.exclamation23 = new System.Windows.Forms.Label(); + this.startTextBox23 = new System.Windows.Forms.TextBox(); + this.endTextBox23 = new System.Windows.Forms.TextBox(); + this.label23 = new System.Windows.Forms.Label(); + this.exclamation22 = new System.Windows.Forms.Label(); + this.startTextBox22 = new System.Windows.Forms.TextBox(); + this.endTextBox22 = new System.Windows.Forms.TextBox(); + this.label22 = new System.Windows.Forms.Label(); + this.exclamation21 = new System.Windows.Forms.Label(); + this.startTextBox21 = new System.Windows.Forms.TextBox(); + this.endTextBox21 = new System.Windows.Forms.TextBox(); + this.label21 = new System.Windows.Forms.Label(); + this.exclamation20 = new System.Windows.Forms.Label(); + this.startTextBox20 = new System.Windows.Forms.TextBox(); + this.endTextBox20 = new System.Windows.Forms.TextBox(); + this.label20 = new System.Windows.Forms.Label(); + this.exclamation19 = new System.Windows.Forms.Label(); + this.startTextBox19 = new System.Windows.Forms.TextBox(); + this.endTextBox19 = new System.Windows.Forms.TextBox(); + this.label19 = new System.Windows.Forms.Label(); + this.exclamation18 = new System.Windows.Forms.Label(); + this.exclamation17 = new System.Windows.Forms.Label(); + this.startTextBox18 = new System.Windows.Forms.TextBox(); + this.exclamation16 = new System.Windows.Forms.Label(); + this.endTextBox18 = new System.Windows.Forms.TextBox(); + this.label18 = new System.Windows.Forms.Label(); + this.startTextBox17 = new System.Windows.Forms.TextBox(); + this.exclamation15 = new System.Windows.Forms.Label(); + this.endTextBox17 = new System.Windows.Forms.TextBox(); + this.label17 = new System.Windows.Forms.Label(); + this.startTextBox16 = new System.Windows.Forms.TextBox(); + this.exclamation14 = new System.Windows.Forms.Label(); + this.endTextBox16 = new System.Windows.Forms.TextBox(); + this.label16 = new System.Windows.Forms.Label(); + this.startTextBox15 = new System.Windows.Forms.TextBox(); + this.exclamation13 = new System.Windows.Forms.Label(); + this.endTextBox15 = new System.Windows.Forms.TextBox(); + this.label15 = new System.Windows.Forms.Label(); + this.startTextBox14 = new System.Windows.Forms.TextBox(); + this.endLabel2 = new System.Windows.Forms.Label(); + this.endTextBox14 = new System.Windows.Forms.TextBox(); + this.label14 = new System.Windows.Forms.Label(); + this.startTextBox13 = new System.Windows.Forms.TextBox(); + this.startLabel2 = new System.Windows.Forms.Label(); + this.endTextBox13 = new System.Windows.Forms.TextBox(); + this.label13 = new System.Windows.Forms.Label(); + this.pictureBox1 = new System.Windows.Forms.PictureBox(); + this.rotateImageButton = new System.Windows.Forms.Button(); + this.imageProcessingProgressBar = new System.Windows.Forms.ProgressBar(); + this.imageProcessingProgressLabel = new System.Windows.Forms.Label(); + this.exclamation48 = new System.Windows.Forms.Label(); + this.startTextBox48 = new System.Windows.Forms.TextBox(); + this.endTextBox48 = new System.Windows.Forms.TextBox(); + this.label48 = new System.Windows.Forms.Label(); + this.exclamation47 = new System.Windows.Forms.Label(); + this.startTextBox47 = new System.Windows.Forms.TextBox(); + this.endTextBox47 = new System.Windows.Forms.TextBox(); + this.label47 = new System.Windows.Forms.Label(); + this.exclamation46 = new System.Windows.Forms.Label(); + this.startTextBox46 = new System.Windows.Forms.TextBox(); + this.endTextBox46 = new System.Windows.Forms.TextBox(); + this.label46 = new System.Windows.Forms.Label(); + this.exclamation45 = new System.Windows.Forms.Label(); + this.startTextBox45 = new System.Windows.Forms.TextBox(); + this.endTextBox45 = new System.Windows.Forms.TextBox(); + this.label45 = new System.Windows.Forms.Label(); + this.exclamation44 = new System.Windows.Forms.Label(); + this.startTextBox44 = new System.Windows.Forms.TextBox(); + this.endTextBox44 = new System.Windows.Forms.TextBox(); + this.label44 = new System.Windows.Forms.Label(); + this.exclamation43 = new System.Windows.Forms.Label(); + this.startTextBox43 = new System.Windows.Forms.TextBox(); + this.endTextBox43 = new System.Windows.Forms.TextBox(); + this.label43 = new System.Windows.Forms.Label(); + this.exclamation42 = new System.Windows.Forms.Label(); + this.exclamation41 = new System.Windows.Forms.Label(); + this.startTextBox42 = new System.Windows.Forms.TextBox(); + this.exclamation40 = new System.Windows.Forms.Label(); + this.endTextBox42 = new System.Windows.Forms.TextBox(); + this.label42 = new System.Windows.Forms.Label(); + this.startTextBox41 = new System.Windows.Forms.TextBox(); + this.exclamation39 = new System.Windows.Forms.Label(); + this.endTextBox41 = new System.Windows.Forms.TextBox(); + this.label41 = new System.Windows.Forms.Label(); + this.startTextBox40 = new System.Windows.Forms.TextBox(); + this.exclamation38 = new System.Windows.Forms.Label(); + this.endTextBox40 = new System.Windows.Forms.TextBox(); + this.label40 = new System.Windows.Forms.Label(); + this.startTextBox39 = new System.Windows.Forms.TextBox(); + this.exclamation37 = new System.Windows.Forms.Label(); + this.endTextBox39 = new System.Windows.Forms.TextBox(); + this.label39 = new System.Windows.Forms.Label(); + this.startTextBox38 = new System.Windows.Forms.TextBox(); + this.endTextBox38 = new System.Windows.Forms.TextBox(); + this.label38 = new System.Windows.Forms.Label(); + this.startTextBox37 = new System.Windows.Forms.TextBox(); + this.endTextBox37 = new System.Windows.Forms.TextBox(); + this.label37 = new System.Windows.Forms.Label(); + this.exclamation36 = new System.Windows.Forms.Label(); + this.startTextBox36 = new System.Windows.Forms.TextBox(); + this.endTextBox36 = new System.Windows.Forms.TextBox(); + this.label36 = new System.Windows.Forms.Label(); + this.exclamation35 = new System.Windows.Forms.Label(); + this.startTextBox35 = new System.Windows.Forms.TextBox(); + this.endTextBox35 = new System.Windows.Forms.TextBox(); + this.label35 = new System.Windows.Forms.Label(); + this.exclamation34 = new System.Windows.Forms.Label(); + this.startTextBox34 = new System.Windows.Forms.TextBox(); + this.endTextBox34 = new System.Windows.Forms.TextBox(); + this.label34 = new System.Windows.Forms.Label(); + this.exclamation33 = new System.Windows.Forms.Label(); + this.startTextBox33 = new System.Windows.Forms.TextBox(); + this.endTextBox33 = new System.Windows.Forms.TextBox(); + this.label33 = new System.Windows.Forms.Label(); + this.exclamation32 = new System.Windows.Forms.Label(); + this.startTextBox32 = new System.Windows.Forms.TextBox(); + this.endTextBox32 = new System.Windows.Forms.TextBox(); + this.label32 = new System.Windows.Forms.Label(); + this.exclamation31 = new System.Windows.Forms.Label(); + this.startTextBox31 = new System.Windows.Forms.TextBox(); + this.endTextBox31 = new System.Windows.Forms.TextBox(); + this.label31 = new System.Windows.Forms.Label(); + this.exclamation30 = new System.Windows.Forms.Label(); + this.exclamation29 = new System.Windows.Forms.Label(); + this.startTextBox30 = new System.Windows.Forms.TextBox(); + this.exclamation28 = new System.Windows.Forms.Label(); + this.endTextBox30 = new System.Windows.Forms.TextBox(); + this.label30 = new System.Windows.Forms.Label(); + this.startTextBox29 = new System.Windows.Forms.TextBox(); + this.exclamation27 = new System.Windows.Forms.Label(); + this.endTextBox29 = new System.Windows.Forms.TextBox(); + this.label29 = new System.Windows.Forms.Label(); + this.startTextBox28 = new System.Windows.Forms.TextBox(); + this.exclamation26 = new System.Windows.Forms.Label(); + this.endTextBox28 = new System.Windows.Forms.TextBox(); + this.label28 = new System.Windows.Forms.Label(); + this.startTextBox27 = new System.Windows.Forms.TextBox(); + this.exclamation25 = new System.Windows.Forms.Label(); + this.endTextBox27 = new System.Windows.Forms.TextBox(); + this.label27 = new System.Windows.Forms.Label(); + this.startTextBox26 = new System.Windows.Forms.TextBox(); + this.endTextBox26 = new System.Windows.Forms.TextBox(); + this.label26 = new System.Windows.Forms.Label(); + this.startTextBox25 = new System.Windows.Forms.TextBox(); + this.endTextBox25 = new System.Windows.Forms.TextBox(); + this.label25 = new System.Windows.Forms.Label(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); + this.SuspendLayout(); + // + // exclamation1 + // + this.exclamation1.AutoSize = true; + this.exclamation1.Font = new System.Drawing.Font("Verdana", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.exclamation1.ForeColor = System.Drawing.Color.Red; + this.exclamation1.Location = new System.Drawing.Point(1342, 174); + this.exclamation1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.exclamation1.Name = "exclamation1"; + this.exclamation1.Size = new System.Drawing.Size(34, 44); + this.exclamation1.TabIndex = 5; + this.exclamation1.Text = "!"; + this.exclamation1.Visible = false; + // + // startTextBox1 + // + this.startTextBox1.Enabled = false; + this.startTextBox1.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.startTextBox1.Location = new System.Drawing.Point(822, 180); + this.startTextBox1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.startTextBox1.Name = "startTextBox1"; + this.startTextBox1.Size = new System.Drawing.Size(242, 37); + this.startTextBox1.TabIndex = 3; + this.startTextBox1.Visible = false; + this.startTextBox1.AcceptsTabChanged += new System.EventHandler(this.startTextBox1_AcceptsTabChanged); + this.startTextBox1.TextChanged += new System.EventHandler(this.startTextBox1_TextChanged); + this.startTextBox1.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.startTextBox1_KeyPress); + this.startTextBox1.MouseDown += new System.Windows.Forms.MouseEventHandler(this.startTextBox1_MouseDown); + // + // endTextBox1 + // + this.endTextBox1.Enabled = false; + this.endTextBox1.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.endTextBox1.Location = new System.Drawing.Point(1095, 180); + this.endTextBox1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.endTextBox1.Name = "endTextBox1"; + this.endTextBox1.Size = new System.Drawing.Size(242, 37); + this.endTextBox1.TabIndex = 4; + this.endTextBox1.Visible = false; + this.endTextBox1.AcceptsTabChanged += new System.EventHandler(this.endTextBox1_AcceptsTabChanged); + this.endTextBox1.TextChanged += new System.EventHandler(this.endTextBox1_TextChanged); + this.endTextBox1.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.endTextBox1_KeyPress); + this.endTextBox1.MouseDown += new System.Windows.Forms.MouseEventHandler(this.endTextBox1_MouseDown); + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.label1.Location = new System.Drawing.Point(762, 185); + this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(28, 29); + this.label1.TabIndex = 2; + this.label1.Text = "1"; + this.label1.Visible = false; + // + // okButton + // + this.okButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.okButton.Font = new System.Drawing.Font("Verdana", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.okButton.ForeColor = System.Drawing.Color.Black; + this.okButton.Location = new System.Drawing.Point(1822, 35); + this.okButton.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.okButton.Name = "okButton"; + this.okButton.Size = new System.Drawing.Size(184, 97); + this.okButton.TabIndex = 100; + this.okButton.Text = "OK"; + this.okButton.UseVisualStyleBackColor = true; + this.okButton.Click += new System.EventHandler(this.okButton_Click); + // + // exclamation3 + // + this.exclamation3.AutoSize = true; + this.exclamation3.Font = new System.Drawing.Font("Verdana", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.exclamation3.ForeColor = System.Drawing.Color.Red; + this.exclamation3.Location = new System.Drawing.Point(1342, 266); + this.exclamation3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.exclamation3.Name = "exclamation3"; + this.exclamation3.Size = new System.Drawing.Size(34, 44); + this.exclamation3.TabIndex = 13; + this.exclamation3.Text = "!"; + this.exclamation3.Visible = false; + // + // startTextBox3 + // + this.startTextBox3.Enabled = false; + this.startTextBox3.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.startTextBox3.Location = new System.Drawing.Point(822, 272); + this.startTextBox3.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.startTextBox3.Name = "startTextBox3"; + this.startTextBox3.Size = new System.Drawing.Size(242, 37); + this.startTextBox3.TabIndex = 11; + this.startTextBox3.Visible = false; + this.startTextBox3.AcceptsTabChanged += new System.EventHandler(this.startTextBox3_AcceptsTabChanged); + this.startTextBox3.TextChanged += new System.EventHandler(this.startTextBox3_TextChanged); + this.startTextBox3.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.startTextBox3_KeyPress); + this.startTextBox3.MouseDown += new System.Windows.Forms.MouseEventHandler(this.startTextBox3_MouseDown); + // + // endTextBox3 + // + this.endTextBox3.Enabled = false; + this.endTextBox3.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.endTextBox3.Location = new System.Drawing.Point(1095, 272); + this.endTextBox3.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.endTextBox3.Name = "endTextBox3"; + this.endTextBox3.Size = new System.Drawing.Size(242, 37); + this.endTextBox3.TabIndex = 12; + this.endTextBox3.Visible = false; + this.endTextBox3.AcceptsTabChanged += new System.EventHandler(this.endTextBox3_AcceptsTabChanged); + this.endTextBox3.TextChanged += new System.EventHandler(this.endTextBox3_TextChanged); + this.endTextBox3.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.endTextBox3_KeyPress); + this.endTextBox3.MouseDown += new System.Windows.Forms.MouseEventHandler(this.endTextBox3_MouseDown); + // + // label3 + // + this.label3.AutoSize = true; + this.label3.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.label3.Location = new System.Drawing.Point(762, 277); + this.label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label3.Name = "label3"; + this.label3.Size = new System.Drawing.Size(28, 29); + this.label3.TabIndex = 10; + this.label3.Text = "3"; + this.label3.Visible = false; + // + // exclamation4 + // + this.exclamation4.AutoSize = true; + this.exclamation4.Font = new System.Drawing.Font("Verdana", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.exclamation4.ForeColor = System.Drawing.Color.Red; + this.exclamation4.Location = new System.Drawing.Point(1342, 312); + this.exclamation4.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.exclamation4.Name = "exclamation4"; + this.exclamation4.Size = new System.Drawing.Size(34, 44); + this.exclamation4.TabIndex = 17; + this.exclamation4.Text = "!"; + this.exclamation4.Visible = false; + // + // startTextBox4 + // + this.startTextBox4.Enabled = false; + this.startTextBox4.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.startTextBox4.Location = new System.Drawing.Point(822, 318); + this.startTextBox4.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.startTextBox4.Name = "startTextBox4"; + this.startTextBox4.Size = new System.Drawing.Size(242, 37); + this.startTextBox4.TabIndex = 15; + this.startTextBox4.Visible = false; + this.startTextBox4.AcceptsTabChanged += new System.EventHandler(this.startTextBox4_AcceptsTabChanged); + this.startTextBox4.TextChanged += new System.EventHandler(this.startTextBox4_TextChanged); + this.startTextBox4.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.startTextBox4_KeyPress); + this.startTextBox4.MouseDown += new System.Windows.Forms.MouseEventHandler(this.startTextBox4_MouseDown); + // + // endTextBox4 + // + this.endTextBox4.Enabled = false; + this.endTextBox4.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.endTextBox4.Location = new System.Drawing.Point(1095, 318); + this.endTextBox4.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.endTextBox4.Name = "endTextBox4"; + this.endTextBox4.Size = new System.Drawing.Size(242, 37); + this.endTextBox4.TabIndex = 16; + this.endTextBox4.Visible = false; + this.endTextBox4.AcceptsTabChanged += new System.EventHandler(this.endTextBox4_AcceptsTabChanged); + this.endTextBox4.TextChanged += new System.EventHandler(this.endTextBox4_TextChanged); + this.endTextBox4.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.endTextBox4_KeyPress); + this.endTextBox4.MouseDown += new System.Windows.Forms.MouseEventHandler(this.endTextBox4_MouseDown); + // + // label4 + // + this.label4.AutoSize = true; + this.label4.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.label4.Location = new System.Drawing.Point(762, 323); + this.label4.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label4.Name = "label4"; + this.label4.Size = new System.Drawing.Size(28, 29); + this.label4.TabIndex = 14; + this.label4.Text = "4"; + this.label4.Visible = false; + // + // exclamation5 + // + this.exclamation5.AutoSize = true; + this.exclamation5.Font = new System.Drawing.Font("Verdana", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.exclamation5.ForeColor = System.Drawing.Color.Red; + this.exclamation5.Location = new System.Drawing.Point(1342, 358); + this.exclamation5.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.exclamation5.Name = "exclamation5"; + this.exclamation5.Size = new System.Drawing.Size(34, 44); + this.exclamation5.TabIndex = 21; + this.exclamation5.Text = "!"; + this.exclamation5.Visible = false; + // + // startTextBox5 + // + this.startTextBox5.Enabled = false; + this.startTextBox5.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.startTextBox5.Location = new System.Drawing.Point(822, 365); + this.startTextBox5.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.startTextBox5.Name = "startTextBox5"; + this.startTextBox5.Size = new System.Drawing.Size(242, 37); + this.startTextBox5.TabIndex = 19; + this.startTextBox5.Visible = false; + this.startTextBox5.AcceptsTabChanged += new System.EventHandler(this.startTextBox5_AcceptsTabChanged); + this.startTextBox5.TextChanged += new System.EventHandler(this.startTextBox5_TextChanged); + this.startTextBox5.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.startTextBox5_KeyPress); + this.startTextBox5.MouseDown += new System.Windows.Forms.MouseEventHandler(this.startTextBox5_MouseDown); + // + // endTextBox5 + // + this.endTextBox5.Enabled = false; + this.endTextBox5.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.endTextBox5.Location = new System.Drawing.Point(1095, 365); + this.endTextBox5.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.endTextBox5.Name = "endTextBox5"; + this.endTextBox5.Size = new System.Drawing.Size(242, 37); + this.endTextBox5.TabIndex = 20; + this.endTextBox5.Visible = false; + this.endTextBox5.AcceptsTabChanged += new System.EventHandler(this.endTextBox5_AcceptsTabChanged); + this.endTextBox5.TextChanged += new System.EventHandler(this.endTextBox5_TextChanged); + this.endTextBox5.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.endTextBox5_KeyPress); + this.endTextBox5.MouseDown += new System.Windows.Forms.MouseEventHandler(this.endTextBox5_MouseDown); + // + // label5 + // + this.label5.AutoSize = true; + this.label5.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.label5.Location = new System.Drawing.Point(762, 369); + this.label5.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label5.Name = "label5"; + this.label5.Size = new System.Drawing.Size(28, 29); + this.label5.TabIndex = 18; + this.label5.Text = "5"; + this.label5.Visible = false; + // + // exclamation6 + // + this.exclamation6.AutoSize = true; + this.exclamation6.Font = new System.Drawing.Font("Verdana", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.exclamation6.ForeColor = System.Drawing.Color.Red; + this.exclamation6.Location = new System.Drawing.Point(1342, 405); + this.exclamation6.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.exclamation6.Name = "exclamation6"; + this.exclamation6.Size = new System.Drawing.Size(34, 44); + this.exclamation6.TabIndex = 25; + this.exclamation6.Text = "!"; + this.exclamation6.Visible = false; + // + // startTextBox6 + // + this.startTextBox6.Enabled = false; + this.startTextBox6.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.startTextBox6.Location = new System.Drawing.Point(822, 411); + this.startTextBox6.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.startTextBox6.Name = "startTextBox6"; + this.startTextBox6.Size = new System.Drawing.Size(242, 37); + this.startTextBox6.TabIndex = 23; + this.startTextBox6.Visible = false; + this.startTextBox6.AcceptsTabChanged += new System.EventHandler(this.startTextBox6_AcceptsTabChanged); + this.startTextBox6.TextChanged += new System.EventHandler(this.startTextBox6_TextChanged); + this.startTextBox6.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.startTextBox6_KeyPress); + this.startTextBox6.MouseDown += new System.Windows.Forms.MouseEventHandler(this.startTextBox6_MouseDown); + // + // endTextBox6 + // + this.endTextBox6.Enabled = false; + this.endTextBox6.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.endTextBox6.Location = new System.Drawing.Point(1095, 411); + this.endTextBox6.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.endTextBox6.Name = "endTextBox6"; + this.endTextBox6.Size = new System.Drawing.Size(242, 37); + this.endTextBox6.TabIndex = 24; + this.endTextBox6.Visible = false; + this.endTextBox6.AcceptsTabChanged += new System.EventHandler(this.endTextBox6_AcceptsTabChanged); + this.endTextBox6.TextChanged += new System.EventHandler(this.endTextBox6_TextChanged); + this.endTextBox6.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.endTextBox6_KeyPress); + this.endTextBox6.MouseDown += new System.Windows.Forms.MouseEventHandler(this.endTextBox6_MouseDown); + // + // label6 + // + this.label6.AutoSize = true; + this.label6.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.label6.Location = new System.Drawing.Point(762, 415); + this.label6.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label6.Name = "label6"; + this.label6.Size = new System.Drawing.Size(28, 29); + this.label6.TabIndex = 22; + this.label6.Text = "6"; + this.label6.Visible = false; + // + // startLabel + // + this.startLabel.AutoSize = true; + this.startLabel.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.startLabel.Location = new System.Drawing.Point(820, 145); + this.startLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.startLabel.Name = "startLabel"; + this.startLabel.Size = new System.Drawing.Size(71, 29); + this.startLabel.TabIndex = 0; + this.startLabel.Text = "Start"; + // + // endLabel + // + this.endLabel.AutoSize = true; + this.endLabel.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.endLabel.Location = new System.Drawing.Point(1092, 145); + this.endLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.endLabel.Name = "endLabel"; + this.endLabel.Size = new System.Drawing.Size(58, 29); + this.endLabel.TabIndex = 1; + this.endLabel.Text = "End"; + // + // label2 + // + this.label2.AutoSize = true; + this.label2.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.label2.Location = new System.Drawing.Point(762, 231); + this.label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(28, 29); + this.label2.TabIndex = 6; + this.label2.Text = "2"; + this.label2.Visible = false; + // + // endTextBox2 + // + this.endTextBox2.Enabled = false; + this.endTextBox2.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.endTextBox2.Location = new System.Drawing.Point(1095, 226); + this.endTextBox2.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.endTextBox2.Name = "endTextBox2"; + this.endTextBox2.Size = new System.Drawing.Size(242, 37); + this.endTextBox2.TabIndex = 8; + this.endTextBox2.Visible = false; + this.endTextBox2.AcceptsTabChanged += new System.EventHandler(this.endTextBox2_AcceptsTabChanged); + this.endTextBox2.TextChanged += new System.EventHandler(this.endTextBox2_TextChanged); + this.endTextBox2.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.endTextBox2_KeyPress); + this.endTextBox2.MouseDown += new System.Windows.Forms.MouseEventHandler(this.endTextBox2_MouseDown); + // + // startTextBox2 + // + this.startTextBox2.Enabled = false; + this.startTextBox2.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.startTextBox2.Location = new System.Drawing.Point(822, 226); + this.startTextBox2.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.startTextBox2.Name = "startTextBox2"; + this.startTextBox2.Size = new System.Drawing.Size(242, 37); + this.startTextBox2.TabIndex = 7; + this.startTextBox2.Visible = false; + this.startTextBox2.AcceptsTabChanged += new System.EventHandler(this.startTextBox2_AcceptsTabChanged); + this.startTextBox2.TextChanged += new System.EventHandler(this.startTextBox2_TextChanged); + this.startTextBox2.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.startTextBox2_KeyPress); + this.startTextBox2.MouseDown += new System.Windows.Forms.MouseEventHandler(this.startTextBox2_MouseDown); + // + // exclamation2 + // + this.exclamation2.AutoSize = true; + this.exclamation2.Font = new System.Drawing.Font("Verdana", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.exclamation2.ForeColor = System.Drawing.Color.Red; + this.exclamation2.Location = new System.Drawing.Point(1342, 220); + this.exclamation2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.exclamation2.Name = "exclamation2"; + this.exclamation2.Size = new System.Drawing.Size(34, 44); + this.exclamation2.TabIndex = 9; + this.exclamation2.Text = "!"; + this.exclamation2.Visible = false; + // + // exclamation7 + // + this.exclamation7.AutoSize = true; + this.exclamation7.Font = new System.Drawing.Font("Verdana", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.exclamation7.ForeColor = System.Drawing.Color.Red; + this.exclamation7.Location = new System.Drawing.Point(1342, 451); + this.exclamation7.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.exclamation7.Name = "exclamation7"; + this.exclamation7.Size = new System.Drawing.Size(34, 44); + this.exclamation7.TabIndex = 29; + this.exclamation7.Text = "!"; + this.exclamation7.Visible = false; + // + // startTextBox7 + // + this.startTextBox7.Enabled = false; + this.startTextBox7.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.startTextBox7.Location = new System.Drawing.Point(822, 457); + this.startTextBox7.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.startTextBox7.Name = "startTextBox7"; + this.startTextBox7.Size = new System.Drawing.Size(242, 37); + this.startTextBox7.TabIndex = 27; + this.startTextBox7.Visible = false; + this.startTextBox7.AcceptsTabChanged += new System.EventHandler(this.startTextBox7_AcceptsTabChanged); + this.startTextBox7.TextChanged += new System.EventHandler(this.startTextBox7_TextChanged); + this.startTextBox7.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.startTextBox7_KeyPress); + this.startTextBox7.MouseDown += new System.Windows.Forms.MouseEventHandler(this.startTextBox7_MouseDown); + // + // endTextBox7 + // + this.endTextBox7.Enabled = false; + this.endTextBox7.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.endTextBox7.Location = new System.Drawing.Point(1095, 457); + this.endTextBox7.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.endTextBox7.Name = "endTextBox7"; + this.endTextBox7.Size = new System.Drawing.Size(242, 37); + this.endTextBox7.TabIndex = 28; + this.endTextBox7.Visible = false; + this.endTextBox7.AcceptsTabChanged += new System.EventHandler(this.endTextBox7_AcceptsTabChanged); + this.endTextBox7.TextChanged += new System.EventHandler(this.endTextBox7_TextChanged); + this.endTextBox7.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.endTextBox7_KeyPress); + this.endTextBox7.MouseDown += new System.Windows.Forms.MouseEventHandler(this.endTextBox7_MouseDown); + // + // label7 + // + this.label7.AutoSize = true; + this.label7.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.label7.Location = new System.Drawing.Point(762, 462); + this.label7.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label7.Name = "label7"; + this.label7.Size = new System.Drawing.Size(28, 29); + this.label7.TabIndex = 26; + this.label7.Text = "7"; + this.label7.Visible = false; + // + // exclamation8 + // + this.exclamation8.AutoSize = true; + this.exclamation8.Font = new System.Drawing.Font("Verdana", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.exclamation8.ForeColor = System.Drawing.Color.Red; + this.exclamation8.Location = new System.Drawing.Point(1342, 497); + this.exclamation8.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.exclamation8.Name = "exclamation8"; + this.exclamation8.Size = new System.Drawing.Size(34, 44); + this.exclamation8.TabIndex = 33; + this.exclamation8.Text = "!"; + this.exclamation8.Visible = false; + // + // startTextBox8 + // + this.startTextBox8.Enabled = false; + this.startTextBox8.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.startTextBox8.Location = new System.Drawing.Point(822, 503); + this.startTextBox8.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.startTextBox8.Name = "startTextBox8"; + this.startTextBox8.Size = new System.Drawing.Size(242, 37); + this.startTextBox8.TabIndex = 31; + this.startTextBox8.Visible = false; + this.startTextBox8.AcceptsTabChanged += new System.EventHandler(this.startTextBox8_AcceptsTabChanged); + this.startTextBox8.TextChanged += new System.EventHandler(this.startTextBox8_TextChanged); + this.startTextBox8.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.startTextBox8_KeyPress); + this.startTextBox8.MouseDown += new System.Windows.Forms.MouseEventHandler(this.startTextBox8_MouseDown); + // + // endTextBox8 + // + this.endTextBox8.Enabled = false; + this.endTextBox8.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.endTextBox8.Location = new System.Drawing.Point(1095, 503); + this.endTextBox8.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.endTextBox8.Name = "endTextBox8"; + this.endTextBox8.Size = new System.Drawing.Size(242, 37); + this.endTextBox8.TabIndex = 32; + this.endTextBox8.Visible = false; + this.endTextBox8.AcceptsTabChanged += new System.EventHandler(this.endTextBox8_AcceptsTabChanged); + this.endTextBox8.TextChanged += new System.EventHandler(this.endTextBox8_TextChanged); + this.endTextBox8.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.endTextBox8_KeyPress); + this.endTextBox8.MouseDown += new System.Windows.Forms.MouseEventHandler(this.endTextBox8_MouseDown); + // + // label8 + // + this.label8.AutoSize = true; + this.label8.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.label8.Location = new System.Drawing.Point(762, 508); + this.label8.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label8.Name = "label8"; + this.label8.Size = new System.Drawing.Size(28, 29); + this.label8.TabIndex = 30; + this.label8.Text = "8"; + this.label8.Visible = false; + // + // exclamation9 + // + this.exclamation9.AutoSize = true; + this.exclamation9.Font = new System.Drawing.Font("Verdana", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.exclamation9.ForeColor = System.Drawing.Color.Red; + this.exclamation9.Location = new System.Drawing.Point(1342, 543); + this.exclamation9.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.exclamation9.Name = "exclamation9"; + this.exclamation9.Size = new System.Drawing.Size(34, 44); + this.exclamation9.TabIndex = 37; + this.exclamation9.Text = "!"; + this.exclamation9.Visible = false; + // + // startTextBox9 + // + this.startTextBox9.Enabled = false; + this.startTextBox9.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.startTextBox9.Location = new System.Drawing.Point(822, 549); + this.startTextBox9.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.startTextBox9.Name = "startTextBox9"; + this.startTextBox9.Size = new System.Drawing.Size(242, 37); + this.startTextBox9.TabIndex = 35; + this.startTextBox9.Visible = false; + this.startTextBox9.AcceptsTabChanged += new System.EventHandler(this.startTextBox9_AcceptsTabChanged); + this.startTextBox9.TextChanged += new System.EventHandler(this.startTextBox9_TextChanged); + this.startTextBox9.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.startTextBox9_KeyPress); + this.startTextBox9.MouseDown += new System.Windows.Forms.MouseEventHandler(this.startTextBox9_MouseDown); + // + // endTextBox9 + // + this.endTextBox9.Enabled = false; + this.endTextBox9.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.endTextBox9.Location = new System.Drawing.Point(1095, 549); + this.endTextBox9.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.endTextBox9.Name = "endTextBox9"; + this.endTextBox9.Size = new System.Drawing.Size(242, 37); + this.endTextBox9.TabIndex = 36; + this.endTextBox9.Visible = false; + this.endTextBox9.AcceptsTabChanged += new System.EventHandler(this.endTextBox9_AcceptsTabChanged); + this.endTextBox9.TextChanged += new System.EventHandler(this.endTextBox9_TextChanged); + this.endTextBox9.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.endTextBox9_KeyPress); + this.endTextBox9.MouseDown += new System.Windows.Forms.MouseEventHandler(this.endTextBox9_MouseDown); + // + // label9 + // + this.label9.AutoSize = true; + this.label9.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.label9.Location = new System.Drawing.Point(762, 554); + this.label9.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label9.Name = "label9"; + this.label9.Size = new System.Drawing.Size(28, 29); + this.label9.TabIndex = 34; + this.label9.Text = "9"; + this.label9.Visible = false; + // + // exclamation10 + // + this.exclamation10.AutoSize = true; + this.exclamation10.Font = new System.Drawing.Font("Verdana", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.exclamation10.ForeColor = System.Drawing.Color.Red; + this.exclamation10.Location = new System.Drawing.Point(1342, 589); + this.exclamation10.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.exclamation10.Name = "exclamation10"; + this.exclamation10.Size = new System.Drawing.Size(34, 44); + this.exclamation10.TabIndex = 41; + this.exclamation10.Text = "!"; + this.exclamation10.Visible = false; + // + // startTextBox10 + // + this.startTextBox10.Enabled = false; + this.startTextBox10.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.startTextBox10.Location = new System.Drawing.Point(822, 595); + this.startTextBox10.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.startTextBox10.Name = "startTextBox10"; + this.startTextBox10.Size = new System.Drawing.Size(242, 37); + this.startTextBox10.TabIndex = 39; + this.startTextBox10.Visible = false; + this.startTextBox10.AcceptsTabChanged += new System.EventHandler(this.startTextBox10_AcceptsTabChanged); + this.startTextBox10.TextChanged += new System.EventHandler(this.startTextBox10_TextChanged); + this.startTextBox10.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.startTextBox10_KeyPress); + this.startTextBox10.MouseDown += new System.Windows.Forms.MouseEventHandler(this.startTextBox10_MouseDown); + // + // endTextBox10 + // + this.endTextBox10.Enabled = false; + this.endTextBox10.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.endTextBox10.Location = new System.Drawing.Point(1095, 595); + this.endTextBox10.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.endTextBox10.Name = "endTextBox10"; + this.endTextBox10.Size = new System.Drawing.Size(242, 37); + this.endTextBox10.TabIndex = 40; + this.endTextBox10.Visible = false; + this.endTextBox10.AcceptsTabChanged += new System.EventHandler(this.endTextBox10_AcceptsTabChanged); + this.endTextBox10.TextChanged += new System.EventHandler(this.endTextBox10_TextChanged); + this.endTextBox10.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.endTextBox10_KeyPress); + this.endTextBox10.MouseDown += new System.Windows.Forms.MouseEventHandler(this.endTextBox10_MouseDown); + // + // label10 + // + this.label10.AutoSize = true; + this.label10.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.label10.Location = new System.Drawing.Point(762, 600); + this.label10.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label10.Name = "label10"; + this.label10.Size = new System.Drawing.Size(43, 29); + this.label10.TabIndex = 38; + this.label10.Text = "10"; + this.label10.Visible = false; + // + // exclamation11 + // + this.exclamation11.AutoSize = true; + this.exclamation11.Font = new System.Drawing.Font("Verdana", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.exclamation11.ForeColor = System.Drawing.Color.Red; + this.exclamation11.Location = new System.Drawing.Point(1342, 635); + this.exclamation11.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.exclamation11.Name = "exclamation11"; + this.exclamation11.Size = new System.Drawing.Size(34, 44); + this.exclamation11.TabIndex = 45; + this.exclamation11.Text = "!"; + this.exclamation11.Visible = false; + // + // startTextBox11 + // + this.startTextBox11.Enabled = false; + this.startTextBox11.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.startTextBox11.Location = new System.Drawing.Point(822, 642); + this.startTextBox11.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.startTextBox11.Name = "startTextBox11"; + this.startTextBox11.Size = new System.Drawing.Size(242, 37); + this.startTextBox11.TabIndex = 43; + this.startTextBox11.Visible = false; + this.startTextBox11.AcceptsTabChanged += new System.EventHandler(this.startTextBox11_AcceptsTabChanged); + this.startTextBox11.TextChanged += new System.EventHandler(this.startTextBox11_TextChanged); + this.startTextBox11.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.startTextBox11_KeyPress); + this.startTextBox11.MouseDown += new System.Windows.Forms.MouseEventHandler(this.startTextBox11_MouseDown); + // + // endTextBox11 + // + this.endTextBox11.Enabled = false; + this.endTextBox11.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.endTextBox11.Location = new System.Drawing.Point(1095, 642); + this.endTextBox11.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.endTextBox11.Name = "endTextBox11"; + this.endTextBox11.Size = new System.Drawing.Size(242, 37); + this.endTextBox11.TabIndex = 44; + this.endTextBox11.Visible = false; + this.endTextBox11.AcceptsTabChanged += new System.EventHandler(this.endTextBox11_AcceptsTabChanged); + this.endTextBox11.TextChanged += new System.EventHandler(this.endTextBox11_TextChanged); + this.endTextBox11.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.endTextBox11_KeyPress); + this.endTextBox11.MouseDown += new System.Windows.Forms.MouseEventHandler(this.endTextBox11_MouseDown); + // + // label11 + // + this.label11.AutoSize = true; + this.label11.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.label11.Location = new System.Drawing.Point(762, 646); + this.label11.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label11.Name = "label11"; + this.label11.Size = new System.Drawing.Size(43, 29); + this.label11.TabIndex = 42; + this.label11.Text = "11"; + this.label11.Visible = false; + // + // exclamation12 + // + this.exclamation12.AutoSize = true; + this.exclamation12.Font = new System.Drawing.Font("Verdana", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.exclamation12.ForeColor = System.Drawing.Color.Red; + this.exclamation12.Location = new System.Drawing.Point(1342, 682); + this.exclamation12.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.exclamation12.Name = "exclamation12"; + this.exclamation12.Size = new System.Drawing.Size(34, 44); + this.exclamation12.TabIndex = 49; + this.exclamation12.Text = "!"; + this.exclamation12.Visible = false; + // + // startTextBox12 + // + this.startTextBox12.Enabled = false; + this.startTextBox12.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.startTextBox12.Location = new System.Drawing.Point(822, 688); + this.startTextBox12.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.startTextBox12.Name = "startTextBox12"; + this.startTextBox12.Size = new System.Drawing.Size(242, 37); + this.startTextBox12.TabIndex = 47; + this.startTextBox12.Visible = false; + this.startTextBox12.AcceptsTabChanged += new System.EventHandler(this.startTextBox12_AcceptsTabChanged); + this.startTextBox12.TextChanged += new System.EventHandler(this.startTextBox12_TextChanged); + this.startTextBox12.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.startTextBox12_KeyPress); + this.startTextBox12.MouseDown += new System.Windows.Forms.MouseEventHandler(this.startTextBox12_MouseDown); + // + // endTextBox12 + // + this.endTextBox12.Enabled = false; + this.endTextBox12.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.endTextBox12.Location = new System.Drawing.Point(1095, 688); + this.endTextBox12.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.endTextBox12.Name = "endTextBox12"; + this.endTextBox12.Size = new System.Drawing.Size(242, 37); + this.endTextBox12.TabIndex = 48; + this.endTextBox12.Visible = false; + this.endTextBox12.AcceptsTabChanged += new System.EventHandler(this.endTextBox12_AcceptsTabChanged); + this.endTextBox12.TextChanged += new System.EventHandler(this.endTextBox12_TextChanged); + this.endTextBox12.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.endTextBox12_KeyPress); + this.endTextBox12.MouseDown += new System.Windows.Forms.MouseEventHandler(this.endTextBox12_MouseDown); + // + // label12 + // + this.label12.AutoSize = true; + this.label12.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.label12.Location = new System.Drawing.Point(762, 692); + this.label12.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label12.Name = "label12"; + this.label12.Size = new System.Drawing.Size(43, 29); + this.label12.TabIndex = 46; + this.label12.Text = "12"; + this.label12.Visible = false; + // + // exclamation24 + // + this.exclamation24.AutoSize = true; + this.exclamation24.Font = new System.Drawing.Font("Verdana", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.exclamation24.ForeColor = System.Drawing.Color.Red; + this.exclamation24.Location = new System.Drawing.Point(1341, 1237); + this.exclamation24.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.exclamation24.Name = "exclamation24"; + this.exclamation24.Size = new System.Drawing.Size(34, 44); + this.exclamation24.TabIndex = 99; + this.exclamation24.Text = "!"; + this.exclamation24.Visible = false; + // + // startTextBox24 + // + this.startTextBox24.Enabled = false; + this.startTextBox24.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.startTextBox24.Location = new System.Drawing.Point(820, 1243); + this.startTextBox24.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.startTextBox24.Name = "startTextBox24"; + this.startTextBox24.Size = new System.Drawing.Size(242, 37); + this.startTextBox24.TabIndex = 97; + this.startTextBox24.Visible = false; + this.startTextBox24.AcceptsTabChanged += new System.EventHandler(this.startTextBox24_AcceptsTabChanged); + this.startTextBox24.TextChanged += new System.EventHandler(this.startTextBox24_TextChanged); + this.startTextBox24.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.startTextBox24_KeyPress); + this.startTextBox24.MouseDown += new System.Windows.Forms.MouseEventHandler(this.startTextBox24_MouseDown); + // + // endTextBox24 + // + this.endTextBox24.Enabled = false; + this.endTextBox24.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.endTextBox24.Location = new System.Drawing.Point(1094, 1243); + this.endTextBox24.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.endTextBox24.Name = "endTextBox24"; + this.endTextBox24.Size = new System.Drawing.Size(242, 37); + this.endTextBox24.TabIndex = 98; + this.endTextBox24.Visible = false; + this.endTextBox24.AcceptsTabChanged += new System.EventHandler(this.endTextBox24_AcceptsTabChanged); + this.endTextBox24.TextChanged += new System.EventHandler(this.endTextBox24_TextChanged); + this.endTextBox24.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.endTextBox24_KeyPress); + this.endTextBox24.MouseDown += new System.Windows.Forms.MouseEventHandler(this.endTextBox24_MouseDown); + // + // label24 + // + this.label24.AutoSize = true; + this.label24.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.label24.Location = new System.Drawing.Point(760, 1247); + this.label24.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label24.Name = "label24"; + this.label24.Size = new System.Drawing.Size(43, 29); + this.label24.TabIndex = 96; + this.label24.Text = "24"; + this.label24.Visible = false; + // + // exclamation23 + // + this.exclamation23.AutoSize = true; + this.exclamation23.Font = new System.Drawing.Font("Verdana", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.exclamation23.ForeColor = System.Drawing.Color.Red; + this.exclamation23.Location = new System.Drawing.Point(1341, 1190); + this.exclamation23.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.exclamation23.Name = "exclamation23"; + this.exclamation23.Size = new System.Drawing.Size(34, 44); + this.exclamation23.TabIndex = 95; + this.exclamation23.Text = "!"; + this.exclamation23.Visible = false; + // + // startTextBox23 + // + this.startTextBox23.Enabled = false; + this.startTextBox23.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.startTextBox23.Location = new System.Drawing.Point(820, 1197); + this.startTextBox23.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.startTextBox23.Name = "startTextBox23"; + this.startTextBox23.Size = new System.Drawing.Size(242, 37); + this.startTextBox23.TabIndex = 93; + this.startTextBox23.Visible = false; + this.startTextBox23.AcceptsTabChanged += new System.EventHandler(this.startTextBox23_AcceptsTabChanged); + this.startTextBox23.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.startTextBox23_KeyPress); + this.startTextBox23.MouseDown += new System.Windows.Forms.MouseEventHandler(this.startTextBox23_MouseDown); + // + // endTextBox23 + // + this.endTextBox23.Enabled = false; + this.endTextBox23.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.endTextBox23.Location = new System.Drawing.Point(1094, 1197); + this.endTextBox23.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.endTextBox23.Name = "endTextBox23"; + this.endTextBox23.Size = new System.Drawing.Size(242, 37); + this.endTextBox23.TabIndex = 94; + this.endTextBox23.Visible = false; + this.endTextBox23.AcceptsTabChanged += new System.EventHandler(this.endTextBox23_AcceptsTabChanged); + this.endTextBox23.TextChanged += new System.EventHandler(this.endTextBox23_TextChanged); + this.endTextBox23.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.endTextBox23_KeyPress); + this.endTextBox23.MouseDown += new System.Windows.Forms.MouseEventHandler(this.endTextBox23_MouseDown); + // + // label23 + // + this.label23.AutoSize = true; + this.label23.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.label23.Location = new System.Drawing.Point(760, 1201); + this.label23.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label23.Name = "label23"; + this.label23.Size = new System.Drawing.Size(43, 29); + this.label23.TabIndex = 92; + this.label23.Text = "23"; + this.label23.Visible = false; + // + // exclamation22 + // + this.exclamation22.AutoSize = true; + this.exclamation22.Font = new System.Drawing.Font("Verdana", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.exclamation22.ForeColor = System.Drawing.Color.Red; + this.exclamation22.Location = new System.Drawing.Point(1341, 1144); + this.exclamation22.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.exclamation22.Name = "exclamation22"; + this.exclamation22.Size = new System.Drawing.Size(34, 44); + this.exclamation22.TabIndex = 91; + this.exclamation22.Text = "!"; + this.exclamation22.Visible = false; + // + // startTextBox22 + // + this.startTextBox22.Enabled = false; + this.startTextBox22.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.startTextBox22.Location = new System.Drawing.Point(820, 1150); + this.startTextBox22.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.startTextBox22.Name = "startTextBox22"; + this.startTextBox22.Size = new System.Drawing.Size(242, 37); + this.startTextBox22.TabIndex = 89; + this.startTextBox22.Visible = false; + this.startTextBox22.AcceptsTabChanged += new System.EventHandler(this.startTextBox22_AcceptsTabChanged); + this.startTextBox22.TextChanged += new System.EventHandler(this.startTextBox22_TextChanged); + this.startTextBox22.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.startTextBox22_KeyPress); + this.startTextBox22.MouseDown += new System.Windows.Forms.MouseEventHandler(this.startTextBox22_MouseDown); + // + // endTextBox22 + // + this.endTextBox22.Enabled = false; + this.endTextBox22.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.endTextBox22.Location = new System.Drawing.Point(1094, 1150); + this.endTextBox22.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.endTextBox22.Name = "endTextBox22"; + this.endTextBox22.Size = new System.Drawing.Size(242, 37); + this.endTextBox22.TabIndex = 90; + this.endTextBox22.Visible = false; + this.endTextBox22.AcceptsTabChanged += new System.EventHandler(this.endTextBox22_AcceptsTabChanged); + this.endTextBox22.TextChanged += new System.EventHandler(this.endTextBox22_TextChanged); + this.endTextBox22.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.endTextBox22_KeyPress); + this.endTextBox22.MouseDown += new System.Windows.Forms.MouseEventHandler(this.endTextBox22_MouseDown); + // + // label22 + // + this.label22.AutoSize = true; + this.label22.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.label22.Location = new System.Drawing.Point(760, 1155); + this.label22.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label22.Name = "label22"; + this.label22.Size = new System.Drawing.Size(43, 29); + this.label22.TabIndex = 88; + this.label22.Text = "22"; + this.label22.Visible = false; + // + // exclamation21 + // + this.exclamation21.AutoSize = true; + this.exclamation21.Font = new System.Drawing.Font("Verdana", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.exclamation21.ForeColor = System.Drawing.Color.Red; + this.exclamation21.Location = new System.Drawing.Point(1341, 1098); + this.exclamation21.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.exclamation21.Name = "exclamation21"; + this.exclamation21.Size = new System.Drawing.Size(34, 44); + this.exclamation21.TabIndex = 87; + this.exclamation21.Text = "!"; + this.exclamation21.Visible = false; + // + // startTextBox21 + // + this.startTextBox21.Enabled = false; + this.startTextBox21.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.startTextBox21.Location = new System.Drawing.Point(820, 1104); + this.startTextBox21.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.startTextBox21.Name = "startTextBox21"; + this.startTextBox21.Size = new System.Drawing.Size(242, 37); + this.startTextBox21.TabIndex = 85; + this.startTextBox21.Visible = false; + this.startTextBox21.AcceptsTabChanged += new System.EventHandler(this.startTextBox21_AcceptsTabChanged); + this.startTextBox21.TextChanged += new System.EventHandler(this.startTextBox21_TextChanged); + this.startTextBox21.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.startTextBox21_KeyPress); + this.startTextBox21.MouseDown += new System.Windows.Forms.MouseEventHandler(this.startTextBox21_MouseDown); + // + // endTextBox21 + // + this.endTextBox21.Enabled = false; + this.endTextBox21.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.endTextBox21.Location = new System.Drawing.Point(1094, 1104); + this.endTextBox21.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.endTextBox21.Name = "endTextBox21"; + this.endTextBox21.Size = new System.Drawing.Size(242, 37); + this.endTextBox21.TabIndex = 86; + this.endTextBox21.Visible = false; + this.endTextBox21.AcceptsTabChanged += new System.EventHandler(this.endTextBox21_AcceptsTabChanged); + this.endTextBox21.TextChanged += new System.EventHandler(this.endTextBox21_TextChanged); + this.endTextBox21.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.endTextBox21_KeyPress); + this.endTextBox21.MouseDown += new System.Windows.Forms.MouseEventHandler(this.endTextBox21_MouseDown); + // + // label21 + // + this.label21.AutoSize = true; + this.label21.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.label21.Location = new System.Drawing.Point(760, 1109); + this.label21.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label21.Name = "label21"; + this.label21.Size = new System.Drawing.Size(43, 29); + this.label21.TabIndex = 84; + this.label21.Text = "21"; + this.label21.Visible = false; + // + // exclamation20 + // + this.exclamation20.AutoSize = true; + this.exclamation20.Font = new System.Drawing.Font("Verdana", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.exclamation20.ForeColor = System.Drawing.Color.Red; + this.exclamation20.Location = new System.Drawing.Point(1341, 1052); + this.exclamation20.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.exclamation20.Name = "exclamation20"; + this.exclamation20.Size = new System.Drawing.Size(34, 44); + this.exclamation20.TabIndex = 83; + this.exclamation20.Text = "!"; + this.exclamation20.Visible = false; + // + // startTextBox20 + // + this.startTextBox20.Enabled = false; + this.startTextBox20.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.startTextBox20.Location = new System.Drawing.Point(820, 1058); + this.startTextBox20.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.startTextBox20.Name = "startTextBox20"; + this.startTextBox20.Size = new System.Drawing.Size(242, 37); + this.startTextBox20.TabIndex = 81; + this.startTextBox20.Visible = false; + this.startTextBox20.AcceptsTabChanged += new System.EventHandler(this.startTextBox20_AcceptsTabChanged); + this.startTextBox20.TextChanged += new System.EventHandler(this.startTextBox20_TextChanged); + this.startTextBox20.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.startTextBox20_KeyPress); + this.startTextBox20.MouseDown += new System.Windows.Forms.MouseEventHandler(this.startTextBox20_MouseDown); + // + // endTextBox20 + // + this.endTextBox20.Enabled = false; + this.endTextBox20.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.endTextBox20.Location = new System.Drawing.Point(1094, 1058); + this.endTextBox20.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.endTextBox20.Name = "endTextBox20"; + this.endTextBox20.Size = new System.Drawing.Size(242, 37); + this.endTextBox20.TabIndex = 82; + this.endTextBox20.Visible = false; + this.endTextBox20.AcceptsTabChanged += new System.EventHandler(this.endTextBox20_AcceptsTabChanged); + this.endTextBox20.TextChanged += new System.EventHandler(this.endTextBox20_TextChanged); + this.endTextBox20.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.endTextBox20_KeyPress); + this.endTextBox20.MouseDown += new System.Windows.Forms.MouseEventHandler(this.endTextBox20_MouseDown); + // + // label20 + // + this.label20.AutoSize = true; + this.label20.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.label20.Location = new System.Drawing.Point(760, 1063); + this.label20.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label20.Name = "label20"; + this.label20.Size = new System.Drawing.Size(43, 29); + this.label20.TabIndex = 80; + this.label20.Text = "20"; + this.label20.Visible = false; + // + // exclamation19 + // + this.exclamation19.AutoSize = true; + this.exclamation19.Font = new System.Drawing.Font("Verdana", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.exclamation19.ForeColor = System.Drawing.Color.Red; + this.exclamation19.Location = new System.Drawing.Point(1341, 1006); + this.exclamation19.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.exclamation19.Name = "exclamation19"; + this.exclamation19.Size = new System.Drawing.Size(34, 44); + this.exclamation19.TabIndex = 79; + this.exclamation19.Text = "!"; + this.exclamation19.Visible = false; + // + // startTextBox19 + // + this.startTextBox19.Enabled = false; + this.startTextBox19.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.startTextBox19.Location = new System.Drawing.Point(820, 1012); + this.startTextBox19.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.startTextBox19.Name = "startTextBox19"; + this.startTextBox19.Size = new System.Drawing.Size(242, 37); + this.startTextBox19.TabIndex = 77; + this.startTextBox19.Visible = false; + this.startTextBox19.AcceptsTabChanged += new System.EventHandler(this.startTextBox19_AcceptsTabChanged); + this.startTextBox19.TextChanged += new System.EventHandler(this.startTextBox19_TextChanged); + this.startTextBox19.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.startTextBox19_KeyPress); + this.startTextBox19.MouseDown += new System.Windows.Forms.MouseEventHandler(this.startTextBox19_MouseDown); + // + // endTextBox19 + // + this.endTextBox19.Enabled = false; + this.endTextBox19.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.endTextBox19.Location = new System.Drawing.Point(1094, 1012); + this.endTextBox19.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.endTextBox19.Name = "endTextBox19"; + this.endTextBox19.Size = new System.Drawing.Size(242, 37); + this.endTextBox19.TabIndex = 78; + this.endTextBox19.Visible = false; + this.endTextBox19.AcceptsTabChanged += new System.EventHandler(this.endTextBox19_AcceptsTabChanged); + this.endTextBox19.TextChanged += new System.EventHandler(this.endTextBox19_TextChanged); + this.endTextBox19.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.endTextBox19_KeyPress); + this.endTextBox19.MouseDown += new System.Windows.Forms.MouseEventHandler(this.endTextBox19_MouseDown); + // + // label19 + // + this.label19.AutoSize = true; + this.label19.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.label19.Location = new System.Drawing.Point(760, 1017); + this.label19.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label19.Name = "label19"; + this.label19.Size = new System.Drawing.Size(43, 29); + this.label19.TabIndex = 76; + this.label19.Text = "19"; + this.label19.Visible = false; + // + // exclamation18 + // + this.exclamation18.AutoSize = true; + this.exclamation18.Font = new System.Drawing.Font("Verdana", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.exclamation18.ForeColor = System.Drawing.Color.Red; + this.exclamation18.Location = new System.Drawing.Point(1341, 960); + this.exclamation18.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.exclamation18.Name = "exclamation18"; + this.exclamation18.Size = new System.Drawing.Size(34, 44); + this.exclamation18.TabIndex = 75; + this.exclamation18.Text = "!"; + this.exclamation18.Visible = false; + // + // exclamation17 + // + this.exclamation17.AutoSize = true; + this.exclamation17.Font = new System.Drawing.Font("Verdana", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.exclamation17.ForeColor = System.Drawing.Color.Red; + this.exclamation17.Location = new System.Drawing.Point(1341, 913); + this.exclamation17.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.exclamation17.Name = "exclamation17"; + this.exclamation17.Size = new System.Drawing.Size(34, 44); + this.exclamation17.TabIndex = 71; + this.exclamation17.Text = "!"; + this.exclamation17.Visible = false; + // + // startTextBox18 + // + this.startTextBox18.Enabled = false; + this.startTextBox18.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.startTextBox18.Location = new System.Drawing.Point(820, 966); + this.startTextBox18.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.startTextBox18.Name = "startTextBox18"; + this.startTextBox18.Size = new System.Drawing.Size(242, 37); + this.startTextBox18.TabIndex = 73; + this.startTextBox18.Visible = false; + this.startTextBox18.AcceptsTabChanged += new System.EventHandler(this.startTextBox18_AcceptsTabChanged); + this.startTextBox18.TextChanged += new System.EventHandler(this.startTextBox18_TextChanged); + this.startTextBox18.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.startTextBox18_KeyPress); + this.startTextBox18.MouseDown += new System.Windows.Forms.MouseEventHandler(this.startTextBox18_MouseDown); + // + // exclamation16 + // + this.exclamation16.AutoSize = true; + this.exclamation16.Font = new System.Drawing.Font("Verdana", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.exclamation16.ForeColor = System.Drawing.Color.Red; + this.exclamation16.Location = new System.Drawing.Point(1341, 867); + this.exclamation16.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.exclamation16.Name = "exclamation16"; + this.exclamation16.Size = new System.Drawing.Size(34, 44); + this.exclamation16.TabIndex = 67; + this.exclamation16.Text = "!"; + this.exclamation16.Visible = false; + // + // endTextBox18 + // + this.endTextBox18.Enabled = false; + this.endTextBox18.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.endTextBox18.Location = new System.Drawing.Point(1094, 966); + this.endTextBox18.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.endTextBox18.Name = "endTextBox18"; + this.endTextBox18.Size = new System.Drawing.Size(242, 37); + this.endTextBox18.TabIndex = 74; + this.endTextBox18.Visible = false; + this.endTextBox18.AcceptsTabChanged += new System.EventHandler(this.endTextBox18_AcceptsTabChanged); + this.endTextBox18.TextChanged += new System.EventHandler(this.endTextBox18_TextChanged); + this.endTextBox18.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.endTextBox18_KeyPress); + this.endTextBox18.MouseDown += new System.Windows.Forms.MouseEventHandler(this.endTextBox18_MouseDown); + // + // label18 + // + this.label18.AutoSize = true; + this.label18.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.label18.Location = new System.Drawing.Point(760, 970); + this.label18.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label18.Name = "label18"; + this.label18.Size = new System.Drawing.Size(43, 29); + this.label18.TabIndex = 72; + this.label18.Text = "18"; + this.label18.Visible = false; + // + // startTextBox17 + // + this.startTextBox17.Enabled = false; + this.startTextBox17.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.startTextBox17.Location = new System.Drawing.Point(820, 920); + this.startTextBox17.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.startTextBox17.Name = "startTextBox17"; + this.startTextBox17.Size = new System.Drawing.Size(242, 37); + this.startTextBox17.TabIndex = 69; + this.startTextBox17.Visible = false; + this.startTextBox17.AcceptsTabChanged += new System.EventHandler(this.startTextBox17_AcceptsTabChanged); + this.startTextBox17.TextChanged += new System.EventHandler(this.startTextBox17_TextChanged); + this.startTextBox17.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.startTextBox17_KeyPress); + this.startTextBox17.MouseDown += new System.Windows.Forms.MouseEventHandler(this.startTextBox17_MouseDown); + // + // exclamation15 + // + this.exclamation15.AutoSize = true; + this.exclamation15.Font = new System.Drawing.Font("Verdana", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.exclamation15.ForeColor = System.Drawing.Color.Red; + this.exclamation15.Location = new System.Drawing.Point(1341, 821); + this.exclamation15.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.exclamation15.Name = "exclamation15"; + this.exclamation15.Size = new System.Drawing.Size(34, 44); + this.exclamation15.TabIndex = 63; + this.exclamation15.Text = "!"; + this.exclamation15.Visible = false; + // + // endTextBox17 + // + this.endTextBox17.Enabled = false; + this.endTextBox17.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.endTextBox17.Location = new System.Drawing.Point(1094, 920); + this.endTextBox17.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.endTextBox17.Name = "endTextBox17"; + this.endTextBox17.Size = new System.Drawing.Size(242, 37); + this.endTextBox17.TabIndex = 70; + this.endTextBox17.Visible = false; + this.endTextBox17.AcceptsTabChanged += new System.EventHandler(this.endTextBox17_AcceptsTabChanged); + this.endTextBox17.TextChanged += new System.EventHandler(this.endTextBox17_TextChanged); + this.endTextBox17.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.endTextBox17_KeyPress); + this.endTextBox17.MouseDown += new System.Windows.Forms.MouseEventHandler(this.endTextBox17_MouseDown); + // + // label17 + // + this.label17.AutoSize = true; + this.label17.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.label17.Location = new System.Drawing.Point(760, 924); + this.label17.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label17.Name = "label17"; + this.label17.Size = new System.Drawing.Size(43, 29); + this.label17.TabIndex = 68; + this.label17.Text = "17"; + this.label17.Visible = false; + // + // startTextBox16 + // + this.startTextBox16.Enabled = false; + this.startTextBox16.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.startTextBox16.Location = new System.Drawing.Point(820, 873); + this.startTextBox16.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.startTextBox16.Name = "startTextBox16"; + this.startTextBox16.Size = new System.Drawing.Size(242, 37); + this.startTextBox16.TabIndex = 65; + this.startTextBox16.Visible = false; + this.startTextBox16.AcceptsTabChanged += new System.EventHandler(this.startTextBox16_AcceptsTabChanged); + this.startTextBox16.TextChanged += new System.EventHandler(this.startTextBox16_TextChanged); + this.startTextBox16.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.startTextBox16_KeyPress); + this.startTextBox16.MouseDown += new System.Windows.Forms.MouseEventHandler(this.startTextBox16_MouseDown); + // + // exclamation14 + // + this.exclamation14.AutoSize = true; + this.exclamation14.Font = new System.Drawing.Font("Verdana", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.exclamation14.ForeColor = System.Drawing.Color.Red; + this.exclamation14.Location = new System.Drawing.Point(1341, 775); + this.exclamation14.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.exclamation14.Name = "exclamation14"; + this.exclamation14.Size = new System.Drawing.Size(34, 44); + this.exclamation14.TabIndex = 59; + this.exclamation14.Text = "!"; + this.exclamation14.Visible = false; + // + // endTextBox16 + // + this.endTextBox16.Enabled = false; + this.endTextBox16.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.endTextBox16.Location = new System.Drawing.Point(1094, 873); + this.endTextBox16.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.endTextBox16.Name = "endTextBox16"; + this.endTextBox16.Size = new System.Drawing.Size(242, 37); + this.endTextBox16.TabIndex = 66; + this.endTextBox16.Visible = false; + this.endTextBox16.AcceptsTabChanged += new System.EventHandler(this.endTextBox16_AcceptsTabChanged); + this.endTextBox16.TextChanged += new System.EventHandler(this.endTextBox16_TextChanged); + this.endTextBox16.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.endTextBox16_KeyPress); + this.endTextBox16.MouseDown += new System.Windows.Forms.MouseEventHandler(this.endTextBox16_MouseDown); + // + // label16 + // + this.label16.AutoSize = true; + this.label16.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.label16.Location = new System.Drawing.Point(760, 878); + this.label16.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label16.Name = "label16"; + this.label16.Size = new System.Drawing.Size(43, 29); + this.label16.TabIndex = 64; + this.label16.Text = "16"; + this.label16.Visible = false; + // + // startTextBox15 + // + this.startTextBox15.Enabled = false; + this.startTextBox15.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.startTextBox15.Location = new System.Drawing.Point(820, 827); + this.startTextBox15.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.startTextBox15.Name = "startTextBox15"; + this.startTextBox15.Size = new System.Drawing.Size(242, 37); + this.startTextBox15.TabIndex = 61; + this.startTextBox15.Visible = false; + this.startTextBox15.AcceptsTabChanged += new System.EventHandler(this.startTextBox15_AcceptsTabChanged); + this.startTextBox15.TextChanged += new System.EventHandler(this.startTextBox15_TextChanged); + this.startTextBox15.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.startTextBox15_KeyPress); + this.startTextBox15.MouseDown += new System.Windows.Forms.MouseEventHandler(this.startTextBox15_MouseDown); + // + // exclamation13 + // + this.exclamation13.AutoSize = true; + this.exclamation13.Font = new System.Drawing.Font("Verdana", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.exclamation13.ForeColor = System.Drawing.Color.Red; + this.exclamation13.Location = new System.Drawing.Point(1341, 729); + this.exclamation13.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.exclamation13.Name = "exclamation13"; + this.exclamation13.Size = new System.Drawing.Size(34, 44); + this.exclamation13.TabIndex = 55; + this.exclamation13.Text = "!"; + this.exclamation13.Visible = false; + // + // endTextBox15 + // + this.endTextBox15.Enabled = false; + this.endTextBox15.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.endTextBox15.Location = new System.Drawing.Point(1094, 827); + this.endTextBox15.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.endTextBox15.Name = "endTextBox15"; + this.endTextBox15.Size = new System.Drawing.Size(242, 37); + this.endTextBox15.TabIndex = 62; + this.endTextBox15.Visible = false; + this.endTextBox15.AcceptsTabChanged += new System.EventHandler(this.endTextBox15_AcceptsTabChanged); + this.endTextBox15.TextChanged += new System.EventHandler(this.endTextBox15_TextChanged); + this.endTextBox15.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.endTextBox15_KeyPress); + this.endTextBox15.MouseDown += new System.Windows.Forms.MouseEventHandler(this.endTextBox15_MouseDown); + // + // label15 + // + this.label15.AutoSize = true; + this.label15.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.label15.Location = new System.Drawing.Point(760, 832); + this.label15.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label15.Name = "label15"; + this.label15.Size = new System.Drawing.Size(43, 29); + this.label15.TabIndex = 60; + this.label15.Text = "15"; + this.label15.Visible = false; + // + // startTextBox14 + // + this.startTextBox14.Enabled = false; + this.startTextBox14.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.startTextBox14.Location = new System.Drawing.Point(820, 781); + this.startTextBox14.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.startTextBox14.Name = "startTextBox14"; + this.startTextBox14.Size = new System.Drawing.Size(242, 37); + this.startTextBox14.TabIndex = 57; + this.startTextBox14.Visible = false; + this.startTextBox14.AcceptsTabChanged += new System.EventHandler(this.startTextBox14_AcceptsTabChanged); + this.startTextBox14.TextChanged += new System.EventHandler(this.startTextBox14_TextChanged); + this.startTextBox14.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.startTextBox14_KeyPress); + this.startTextBox14.MouseDown += new System.Windows.Forms.MouseEventHandler(this.startTextBox14_MouseDown); + // + // endLabel2 + // + this.endLabel2.AutoSize = true; + this.endLabel2.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.endLabel2.Location = new System.Drawing.Point(1762, 145); + this.endLabel2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.endLabel2.Name = "endLabel2"; + this.endLabel2.Size = new System.Drawing.Size(58, 29); + this.endLabel2.TabIndex = 51; + this.endLabel2.Text = "End"; + // + // endTextBox14 + // + this.endTextBox14.Enabled = false; + this.endTextBox14.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.endTextBox14.Location = new System.Drawing.Point(1094, 781); + this.endTextBox14.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.endTextBox14.Name = "endTextBox14"; + this.endTextBox14.Size = new System.Drawing.Size(242, 37); + this.endTextBox14.TabIndex = 58; + this.endTextBox14.Visible = false; + this.endTextBox14.AcceptsTabChanged += new System.EventHandler(this.endTextBox14_AcceptsTabChanged); + this.endTextBox14.TextChanged += new System.EventHandler(this.endTextBox14_TextChanged); + this.endTextBox14.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.endTextBox14_KeyPress); + this.endTextBox14.MouseDown += new System.Windows.Forms.MouseEventHandler(this.endTextBox14_MouseDown); + // + // label14 + // + this.label14.AutoSize = true; + this.label14.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.label14.Location = new System.Drawing.Point(760, 786); + this.label14.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label14.Name = "label14"; + this.label14.Size = new System.Drawing.Size(43, 29); + this.label14.TabIndex = 56; + this.label14.Text = "14"; + this.label14.Visible = false; + // + // startTextBox13 + // + this.startTextBox13.Enabled = false; + this.startTextBox13.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.startTextBox13.Location = new System.Drawing.Point(820, 735); + this.startTextBox13.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.startTextBox13.Name = "startTextBox13"; + this.startTextBox13.Size = new System.Drawing.Size(242, 37); + this.startTextBox13.TabIndex = 53; + this.startTextBox13.Visible = false; + this.startTextBox13.AcceptsTabChanged += new System.EventHandler(this.startTextBox13_AcceptsTabChanged); + this.startTextBox13.TextChanged += new System.EventHandler(this.startTextBox13_TextChanged); + this.startTextBox13.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.startTextBox13_KeyPress); + this.startTextBox13.MouseDown += new System.Windows.Forms.MouseEventHandler(this.startTextBox13_MouseDown); + // + // startLabel2 + // + this.startLabel2.AutoSize = true; + this.startLabel2.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.startLabel2.Location = new System.Drawing.Point(1491, 145); + this.startLabel2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.startLabel2.Name = "startLabel2"; + this.startLabel2.Size = new System.Drawing.Size(71, 29); + this.startLabel2.TabIndex = 50; + this.startLabel2.Text = "Start"; + // + // endTextBox13 + // + this.endTextBox13.Enabled = false; + this.endTextBox13.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.endTextBox13.Location = new System.Drawing.Point(1094, 735); + this.endTextBox13.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.endTextBox13.Name = "endTextBox13"; + this.endTextBox13.Size = new System.Drawing.Size(242, 37); + this.endTextBox13.TabIndex = 54; + this.endTextBox13.Visible = false; + this.endTextBox13.AcceptsTabChanged += new System.EventHandler(this.endTextBox13_AcceptsTabChanged); + this.endTextBox13.TextChanged += new System.EventHandler(this.endTextBox13_TextChanged); + this.endTextBox13.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.endTextBox13_KeyPress); + this.endTextBox13.MouseDown += new System.Windows.Forms.MouseEventHandler(this.endTextBox13_MouseDown); + // + // label13 + // + this.label13.AutoSize = true; + this.label13.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.label13.Location = new System.Drawing.Point(760, 740); + this.label13.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label13.Name = "label13"; + this.label13.Size = new System.Drawing.Size(43, 29); + this.label13.TabIndex = 52; + this.label13.Text = "13"; + this.label13.Visible = false; + // + // pictureBox1 + // + this.pictureBox1.Location = new System.Drawing.Point(6, 8); + this.pictureBox1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.pictureBox1.Name = "pictureBox1"; + this.pictureBox1.Size = new System.Drawing.Size(720, 738); + this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; + this.pictureBox1.TabIndex = 101; + this.pictureBox1.TabStop = false; + this.pictureBox1.Click += new System.EventHandler(this.pictureBox1_Click); + // + // rotateImageButton + // + this.rotateImageButton.Font = new System.Drawing.Font("Arial", 27.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.rotateImageButton.Location = new System.Drawing.Point(766, 37); + this.rotateImageButton.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.rotateImageButton.Name = "rotateImageButton"; + this.rotateImageButton.Size = new System.Drawing.Size(75, 77); + this.rotateImageButton.TabIndex = 102; + this.rotateImageButton.Text = "↺"; + this.rotateImageButton.UseVisualStyleBackColor = true; + this.rotateImageButton.Click += new System.EventHandler(this.rotateImageButton_Click); + // + // imageProcessingProgressBar + // + this.imageProcessingProgressBar.Location = new System.Drawing.Point(880, 77); + this.imageProcessingProgressBar.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.imageProcessingProgressBar.Name = "imageProcessingProgressBar"; + this.imageProcessingProgressBar.Size = new System.Drawing.Size(369, 35); + this.imageProcessingProgressBar.TabIndex = 106; + this.imageProcessingProgressBar.Visible = false; + // + // imageProcessingProgressLabel + // + this.imageProcessingProgressLabel.AutoSize = true; + this.imageProcessingProgressLabel.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.imageProcessingProgressLabel.Location = new System.Drawing.Point(876, 38); + this.imageProcessingProgressLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.imageProcessingProgressLabel.Name = "imageProcessingProgressLabel"; + this.imageProcessingProgressLabel.Size = new System.Drawing.Size(365, 29); + this.imageProcessingProgressLabel.TabIndex = 107; + this.imageProcessingProgressLabel.Text = "Progress of image processing"; + this.imageProcessingProgressLabel.Visible = false; + // + // exclamation48 + // + this.exclamation48.AutoSize = true; + this.exclamation48.Font = new System.Drawing.Font("Verdana", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.exclamation48.ForeColor = System.Drawing.Color.Red; + this.exclamation48.Location = new System.Drawing.Point(2010, 1238); + this.exclamation48.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.exclamation48.Name = "exclamation48"; + this.exclamation48.Size = new System.Drawing.Size(34, 44); + this.exclamation48.TabIndex = 203; + this.exclamation48.Text = "!"; + this.exclamation48.Visible = false; + // + // startTextBox48 + // + this.startTextBox48.Enabled = false; + this.startTextBox48.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.startTextBox48.Location = new System.Drawing.Point(1489, 1244); + this.startTextBox48.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.startTextBox48.Name = "startTextBox48"; + this.startTextBox48.Size = new System.Drawing.Size(242, 37); + this.startTextBox48.TabIndex = 201; + this.startTextBox48.Visible = false; + // + // endTextBox48 + // + this.endTextBox48.Enabled = false; + this.endTextBox48.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.endTextBox48.Location = new System.Drawing.Point(1763, 1244); + this.endTextBox48.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.endTextBox48.Name = "endTextBox48"; + this.endTextBox48.Size = new System.Drawing.Size(242, 37); + this.endTextBox48.TabIndex = 202; + this.endTextBox48.Visible = false; + // + // label48 + // + this.label48.AutoSize = true; + this.label48.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.label48.Location = new System.Drawing.Point(1429, 1248); + this.label48.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label48.Name = "label48"; + this.label48.Size = new System.Drawing.Size(43, 29); + this.label48.TabIndex = 200; + this.label48.Text = "48"; + this.label48.Visible = false; + // + // exclamation47 + // + this.exclamation47.AutoSize = true; + this.exclamation47.Font = new System.Drawing.Font("Verdana", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.exclamation47.ForeColor = System.Drawing.Color.Red; + this.exclamation47.Location = new System.Drawing.Point(2010, 1191); + this.exclamation47.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.exclamation47.Name = "exclamation47"; + this.exclamation47.Size = new System.Drawing.Size(34, 44); + this.exclamation47.TabIndex = 199; + this.exclamation47.Text = "!"; + this.exclamation47.Visible = false; + // + // startTextBox47 + // + this.startTextBox47.Enabled = false; + this.startTextBox47.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.startTextBox47.Location = new System.Drawing.Point(1489, 1198); + this.startTextBox47.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.startTextBox47.Name = "startTextBox47"; + this.startTextBox47.Size = new System.Drawing.Size(242, 37); + this.startTextBox47.TabIndex = 197; + this.startTextBox47.Visible = false; + // + // endTextBox47 + // + this.endTextBox47.Enabled = false; + this.endTextBox47.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.endTextBox47.Location = new System.Drawing.Point(1763, 1198); + this.endTextBox47.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.endTextBox47.Name = "endTextBox47"; + this.endTextBox47.Size = new System.Drawing.Size(242, 37); + this.endTextBox47.TabIndex = 198; + this.endTextBox47.Visible = false; + // + // label47 + // + this.label47.AutoSize = true; + this.label47.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.label47.Location = new System.Drawing.Point(1429, 1202); + this.label47.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label47.Name = "label47"; + this.label47.Size = new System.Drawing.Size(43, 29); + this.label47.TabIndex = 196; + this.label47.Text = "47"; + this.label47.Visible = false; + // + // exclamation46 + // + this.exclamation46.AutoSize = true; + this.exclamation46.Font = new System.Drawing.Font("Verdana", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.exclamation46.ForeColor = System.Drawing.Color.Red; + this.exclamation46.Location = new System.Drawing.Point(2010, 1145); + this.exclamation46.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.exclamation46.Name = "exclamation46"; + this.exclamation46.Size = new System.Drawing.Size(34, 44); + this.exclamation46.TabIndex = 195; + this.exclamation46.Text = "!"; + this.exclamation46.Visible = false; + // + // startTextBox46 + // + this.startTextBox46.Enabled = false; + this.startTextBox46.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.startTextBox46.Location = new System.Drawing.Point(1489, 1151); + this.startTextBox46.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.startTextBox46.Name = "startTextBox46"; + this.startTextBox46.Size = new System.Drawing.Size(242, 37); + this.startTextBox46.TabIndex = 193; + this.startTextBox46.Visible = false; + // + // endTextBox46 + // + this.endTextBox46.Enabled = false; + this.endTextBox46.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.endTextBox46.Location = new System.Drawing.Point(1763, 1151); + this.endTextBox46.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.endTextBox46.Name = "endTextBox46"; + this.endTextBox46.Size = new System.Drawing.Size(242, 37); + this.endTextBox46.TabIndex = 194; + this.endTextBox46.Visible = false; + // + // label46 + // + this.label46.AutoSize = true; + this.label46.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.label46.Location = new System.Drawing.Point(1429, 1156); + this.label46.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label46.Name = "label46"; + this.label46.Size = new System.Drawing.Size(43, 29); + this.label46.TabIndex = 192; + this.label46.Text = "46"; + this.label46.Visible = false; + // + // exclamation45 + // + this.exclamation45.AutoSize = true; + this.exclamation45.Font = new System.Drawing.Font("Verdana", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.exclamation45.ForeColor = System.Drawing.Color.Red; + this.exclamation45.Location = new System.Drawing.Point(2010, 1099); + this.exclamation45.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.exclamation45.Name = "exclamation45"; + this.exclamation45.Size = new System.Drawing.Size(34, 44); + this.exclamation45.TabIndex = 191; + this.exclamation45.Text = "!"; + this.exclamation45.Visible = false; + // + // startTextBox45 + // + this.startTextBox45.Enabled = false; + this.startTextBox45.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.startTextBox45.Location = new System.Drawing.Point(1489, 1105); + this.startTextBox45.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.startTextBox45.Name = "startTextBox45"; + this.startTextBox45.Size = new System.Drawing.Size(242, 37); + this.startTextBox45.TabIndex = 189; + this.startTextBox45.Visible = false; + // + // endTextBox45 + // + this.endTextBox45.Enabled = false; + this.endTextBox45.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.endTextBox45.Location = new System.Drawing.Point(1763, 1105); + this.endTextBox45.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.endTextBox45.Name = "endTextBox45"; + this.endTextBox45.Size = new System.Drawing.Size(242, 37); + this.endTextBox45.TabIndex = 190; + this.endTextBox45.Visible = false; + // + // label45 + // + this.label45.AutoSize = true; + this.label45.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.label45.Location = new System.Drawing.Point(1429, 1110); + this.label45.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label45.Name = "label45"; + this.label45.Size = new System.Drawing.Size(43, 29); + this.label45.TabIndex = 188; + this.label45.Text = "45"; + this.label45.Visible = false; + // + // exclamation44 + // + this.exclamation44.AutoSize = true; + this.exclamation44.Font = new System.Drawing.Font("Verdana", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.exclamation44.ForeColor = System.Drawing.Color.Red; + this.exclamation44.Location = new System.Drawing.Point(2010, 1053); + this.exclamation44.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.exclamation44.Name = "exclamation44"; + this.exclamation44.Size = new System.Drawing.Size(34, 44); + this.exclamation44.TabIndex = 187; + this.exclamation44.Text = "!"; + this.exclamation44.Visible = false; + // + // startTextBox44 + // + this.startTextBox44.Enabled = false; + this.startTextBox44.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.startTextBox44.Location = new System.Drawing.Point(1489, 1059); + this.startTextBox44.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.startTextBox44.Name = "startTextBox44"; + this.startTextBox44.Size = new System.Drawing.Size(242, 37); + this.startTextBox44.TabIndex = 185; + this.startTextBox44.Visible = false; + // + // endTextBox44 + // + this.endTextBox44.Enabled = false; + this.endTextBox44.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.endTextBox44.Location = new System.Drawing.Point(1763, 1059); + this.endTextBox44.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.endTextBox44.Name = "endTextBox44"; + this.endTextBox44.Size = new System.Drawing.Size(242, 37); + this.endTextBox44.TabIndex = 186; + this.endTextBox44.Visible = false; + // + // label44 + // + this.label44.AutoSize = true; + this.label44.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.label44.Location = new System.Drawing.Point(1429, 1064); + this.label44.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label44.Name = "label44"; + this.label44.Size = new System.Drawing.Size(43, 29); + this.label44.TabIndex = 184; + this.label44.Text = "44"; + this.label44.Visible = false; + // + // exclamation43 + // + this.exclamation43.AutoSize = true; + this.exclamation43.Font = new System.Drawing.Font("Verdana", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.exclamation43.ForeColor = System.Drawing.Color.Red; + this.exclamation43.Location = new System.Drawing.Point(2010, 1007); + this.exclamation43.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.exclamation43.Name = "exclamation43"; + this.exclamation43.Size = new System.Drawing.Size(34, 44); + this.exclamation43.TabIndex = 183; + this.exclamation43.Text = "!"; + this.exclamation43.Visible = false; + // + // startTextBox43 + // + this.startTextBox43.Enabled = false; + this.startTextBox43.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.startTextBox43.Location = new System.Drawing.Point(1489, 1013); + this.startTextBox43.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.startTextBox43.Name = "startTextBox43"; + this.startTextBox43.Size = new System.Drawing.Size(242, 37); + this.startTextBox43.TabIndex = 181; + this.startTextBox43.Visible = false; + // + // endTextBox43 + // + this.endTextBox43.Enabled = false; + this.endTextBox43.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.endTextBox43.Location = new System.Drawing.Point(1763, 1013); + this.endTextBox43.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.endTextBox43.Name = "endTextBox43"; + this.endTextBox43.Size = new System.Drawing.Size(242, 37); + this.endTextBox43.TabIndex = 182; + this.endTextBox43.Visible = false; + // + // label43 + // + this.label43.AutoSize = true; + this.label43.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.label43.Location = new System.Drawing.Point(1429, 1018); + this.label43.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label43.Name = "label43"; + this.label43.Size = new System.Drawing.Size(43, 29); + this.label43.TabIndex = 180; + this.label43.Text = "43"; + this.label43.Visible = false; + // + // exclamation42 + // + this.exclamation42.AutoSize = true; + this.exclamation42.Font = new System.Drawing.Font("Verdana", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.exclamation42.ForeColor = System.Drawing.Color.Red; + this.exclamation42.Location = new System.Drawing.Point(2010, 961); + this.exclamation42.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.exclamation42.Name = "exclamation42"; + this.exclamation42.Size = new System.Drawing.Size(34, 44); + this.exclamation42.TabIndex = 179; + this.exclamation42.Text = "!"; + this.exclamation42.Visible = false; + // + // exclamation41 + // + this.exclamation41.AutoSize = true; + this.exclamation41.Font = new System.Drawing.Font("Verdana", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.exclamation41.ForeColor = System.Drawing.Color.Red; + this.exclamation41.Location = new System.Drawing.Point(2010, 914); + this.exclamation41.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.exclamation41.Name = "exclamation41"; + this.exclamation41.Size = new System.Drawing.Size(34, 44); + this.exclamation41.TabIndex = 175; + this.exclamation41.Text = "!"; + this.exclamation41.Visible = false; + // + // startTextBox42 + // + this.startTextBox42.Enabled = false; + this.startTextBox42.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.startTextBox42.Location = new System.Drawing.Point(1489, 967); + this.startTextBox42.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.startTextBox42.Name = "startTextBox42"; + this.startTextBox42.Size = new System.Drawing.Size(242, 37); + this.startTextBox42.TabIndex = 177; + this.startTextBox42.Visible = false; + // + // exclamation40 + // + this.exclamation40.AutoSize = true; + this.exclamation40.Font = new System.Drawing.Font("Verdana", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.exclamation40.ForeColor = System.Drawing.Color.Red; + this.exclamation40.Location = new System.Drawing.Point(2010, 868); + this.exclamation40.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.exclamation40.Name = "exclamation40"; + this.exclamation40.Size = new System.Drawing.Size(34, 44); + this.exclamation40.TabIndex = 171; + this.exclamation40.Text = "!"; + this.exclamation40.Visible = false; + // + // endTextBox42 + // + this.endTextBox42.Enabled = false; + this.endTextBox42.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.endTextBox42.Location = new System.Drawing.Point(1763, 967); + this.endTextBox42.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.endTextBox42.Name = "endTextBox42"; + this.endTextBox42.Size = new System.Drawing.Size(242, 37); + this.endTextBox42.TabIndex = 178; + this.endTextBox42.Visible = false; + // + // label42 + // + this.label42.AutoSize = true; + this.label42.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.label42.Location = new System.Drawing.Point(1429, 971); + this.label42.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label42.Name = "label42"; + this.label42.Size = new System.Drawing.Size(43, 29); + this.label42.TabIndex = 176; + this.label42.Text = "42"; + this.label42.Visible = false; + // + // startTextBox41 + // + this.startTextBox41.Enabled = false; + this.startTextBox41.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.startTextBox41.Location = new System.Drawing.Point(1489, 921); + this.startTextBox41.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.startTextBox41.Name = "startTextBox41"; + this.startTextBox41.Size = new System.Drawing.Size(242, 37); + this.startTextBox41.TabIndex = 173; + this.startTextBox41.Visible = false; + // + // exclamation39 + // + this.exclamation39.AutoSize = true; + this.exclamation39.Font = new System.Drawing.Font("Verdana", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.exclamation39.ForeColor = System.Drawing.Color.Red; + this.exclamation39.Location = new System.Drawing.Point(2010, 822); + this.exclamation39.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.exclamation39.Name = "exclamation39"; + this.exclamation39.Size = new System.Drawing.Size(34, 44); + this.exclamation39.TabIndex = 167; + this.exclamation39.Text = "!"; + this.exclamation39.Visible = false; + // + // endTextBox41 + // + this.endTextBox41.Enabled = false; + this.endTextBox41.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.endTextBox41.Location = new System.Drawing.Point(1763, 921); + this.endTextBox41.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.endTextBox41.Name = "endTextBox41"; + this.endTextBox41.Size = new System.Drawing.Size(242, 37); + this.endTextBox41.TabIndex = 174; + this.endTextBox41.Visible = false; + // + // label41 + // + this.label41.AutoSize = true; + this.label41.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.label41.Location = new System.Drawing.Point(1429, 925); + this.label41.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label41.Name = "label41"; + this.label41.Size = new System.Drawing.Size(43, 29); + this.label41.TabIndex = 172; + this.label41.Text = "41"; + this.label41.Visible = false; + // + // startTextBox40 + // + this.startTextBox40.Enabled = false; + this.startTextBox40.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.startTextBox40.Location = new System.Drawing.Point(1489, 874); + this.startTextBox40.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.startTextBox40.Name = "startTextBox40"; + this.startTextBox40.Size = new System.Drawing.Size(242, 37); + this.startTextBox40.TabIndex = 169; + this.startTextBox40.Visible = false; + // + // exclamation38 + // + this.exclamation38.AutoSize = true; + this.exclamation38.Font = new System.Drawing.Font("Verdana", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.exclamation38.ForeColor = System.Drawing.Color.Red; + this.exclamation38.Location = new System.Drawing.Point(2010, 776); + this.exclamation38.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.exclamation38.Name = "exclamation38"; + this.exclamation38.Size = new System.Drawing.Size(34, 44); + this.exclamation38.TabIndex = 163; + this.exclamation38.Text = "!"; + this.exclamation38.Visible = false; + // + // endTextBox40 + // + this.endTextBox40.Enabled = false; + this.endTextBox40.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.endTextBox40.Location = new System.Drawing.Point(1763, 874); + this.endTextBox40.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.endTextBox40.Name = "endTextBox40"; + this.endTextBox40.Size = new System.Drawing.Size(242, 37); + this.endTextBox40.TabIndex = 170; + this.endTextBox40.Visible = false; + // + // label40 + // + this.label40.AutoSize = true; + this.label40.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.label40.Location = new System.Drawing.Point(1429, 879); + this.label40.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label40.Name = "label40"; + this.label40.Size = new System.Drawing.Size(43, 29); + this.label40.TabIndex = 168; + this.label40.Text = "40"; + this.label40.Visible = false; + // + // startTextBox39 + // + this.startTextBox39.Enabled = false; + this.startTextBox39.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.startTextBox39.Location = new System.Drawing.Point(1489, 828); + this.startTextBox39.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.startTextBox39.Name = "startTextBox39"; + this.startTextBox39.Size = new System.Drawing.Size(242, 37); + this.startTextBox39.TabIndex = 165; + this.startTextBox39.Visible = false; + // + // exclamation37 + // + this.exclamation37.AutoSize = true; + this.exclamation37.Font = new System.Drawing.Font("Verdana", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.exclamation37.ForeColor = System.Drawing.Color.Red; + this.exclamation37.Location = new System.Drawing.Point(2010, 730); + this.exclamation37.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.exclamation37.Name = "exclamation37"; + this.exclamation37.Size = new System.Drawing.Size(34, 44); + this.exclamation37.TabIndex = 159; + this.exclamation37.Text = "!"; + this.exclamation37.Visible = false; + // + // endTextBox39 + // + this.endTextBox39.Enabled = false; + this.endTextBox39.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.endTextBox39.Location = new System.Drawing.Point(1763, 828); + this.endTextBox39.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.endTextBox39.Name = "endTextBox39"; + this.endTextBox39.Size = new System.Drawing.Size(242, 37); + this.endTextBox39.TabIndex = 166; + this.endTextBox39.Visible = false; + // + // label39 + // + this.label39.AutoSize = true; + this.label39.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.label39.Location = new System.Drawing.Point(1429, 833); + this.label39.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label39.Name = "label39"; + this.label39.Size = new System.Drawing.Size(43, 29); + this.label39.TabIndex = 164; + this.label39.Text = "39"; + this.label39.Visible = false; + // + // startTextBox38 + // + this.startTextBox38.Enabled = false; + this.startTextBox38.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.startTextBox38.Location = new System.Drawing.Point(1489, 782); + this.startTextBox38.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.startTextBox38.Name = "startTextBox38"; + this.startTextBox38.Size = new System.Drawing.Size(242, 37); + this.startTextBox38.TabIndex = 161; + this.startTextBox38.Visible = false; + // + // endTextBox38 + // + this.endTextBox38.Enabled = false; + this.endTextBox38.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.endTextBox38.Location = new System.Drawing.Point(1763, 782); + this.endTextBox38.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.endTextBox38.Name = "endTextBox38"; + this.endTextBox38.Size = new System.Drawing.Size(242, 37); + this.endTextBox38.TabIndex = 162; + this.endTextBox38.Visible = false; + // + // label38 + // + this.label38.AutoSize = true; + this.label38.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.label38.Location = new System.Drawing.Point(1429, 787); + this.label38.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label38.Name = "label38"; + this.label38.Size = new System.Drawing.Size(43, 29); + this.label38.TabIndex = 160; + this.label38.Text = "38"; + this.label38.Visible = false; + // + // startTextBox37 + // + this.startTextBox37.Enabled = false; + this.startTextBox37.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.startTextBox37.Location = new System.Drawing.Point(1489, 736); + this.startTextBox37.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.startTextBox37.Name = "startTextBox37"; + this.startTextBox37.Size = new System.Drawing.Size(242, 37); + this.startTextBox37.TabIndex = 157; + this.startTextBox37.Visible = false; + // + // endTextBox37 + // + this.endTextBox37.Enabled = false; + this.endTextBox37.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.endTextBox37.Location = new System.Drawing.Point(1763, 736); + this.endTextBox37.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.endTextBox37.Name = "endTextBox37"; + this.endTextBox37.Size = new System.Drawing.Size(242, 37); + this.endTextBox37.TabIndex = 158; + this.endTextBox37.Visible = false; + // + // label37 + // + this.label37.AutoSize = true; + this.label37.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.label37.Location = new System.Drawing.Point(1429, 741); + this.label37.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label37.Name = "label37"; + this.label37.Size = new System.Drawing.Size(43, 29); + this.label37.TabIndex = 156; + this.label37.Text = "37"; + this.label37.Visible = false; + // + // exclamation36 + // + this.exclamation36.AutoSize = true; + this.exclamation36.Font = new System.Drawing.Font("Verdana", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.exclamation36.ForeColor = System.Drawing.Color.Red; + this.exclamation36.Location = new System.Drawing.Point(2011, 683); + this.exclamation36.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.exclamation36.Name = "exclamation36"; + this.exclamation36.Size = new System.Drawing.Size(34, 44); + this.exclamation36.TabIndex = 155; + this.exclamation36.Text = "!"; + this.exclamation36.Visible = false; + // + // startTextBox36 + // + this.startTextBox36.Enabled = false; + this.startTextBox36.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.startTextBox36.Location = new System.Drawing.Point(1491, 689); + this.startTextBox36.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.startTextBox36.Name = "startTextBox36"; + this.startTextBox36.Size = new System.Drawing.Size(242, 37); + this.startTextBox36.TabIndex = 153; + this.startTextBox36.Visible = false; + // + // endTextBox36 + // + this.endTextBox36.Enabled = false; + this.endTextBox36.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.endTextBox36.Location = new System.Drawing.Point(1764, 689); + this.endTextBox36.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.endTextBox36.Name = "endTextBox36"; + this.endTextBox36.Size = new System.Drawing.Size(242, 37); + this.endTextBox36.TabIndex = 154; + this.endTextBox36.Visible = false; + // + // label36 + // + this.label36.AutoSize = true; + this.label36.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.label36.Location = new System.Drawing.Point(1431, 693); + this.label36.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label36.Name = "label36"; + this.label36.Size = new System.Drawing.Size(43, 29); + this.label36.TabIndex = 152; + this.label36.Text = "36"; + this.label36.Visible = false; + // + // exclamation35 + // + this.exclamation35.AutoSize = true; + this.exclamation35.Font = new System.Drawing.Font("Verdana", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.exclamation35.ForeColor = System.Drawing.Color.Red; + this.exclamation35.Location = new System.Drawing.Point(2011, 636); + this.exclamation35.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.exclamation35.Name = "exclamation35"; + this.exclamation35.Size = new System.Drawing.Size(34, 44); + this.exclamation35.TabIndex = 151; + this.exclamation35.Text = "!"; + this.exclamation35.Visible = false; + // + // startTextBox35 + // + this.startTextBox35.Enabled = false; + this.startTextBox35.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.startTextBox35.Location = new System.Drawing.Point(1491, 643); + this.startTextBox35.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.startTextBox35.Name = "startTextBox35"; + this.startTextBox35.Size = new System.Drawing.Size(242, 37); + this.startTextBox35.TabIndex = 149; + this.startTextBox35.Visible = false; + // + // endTextBox35 + // + this.endTextBox35.Enabled = false; + this.endTextBox35.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.endTextBox35.Location = new System.Drawing.Point(1764, 643); + this.endTextBox35.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.endTextBox35.Name = "endTextBox35"; + this.endTextBox35.Size = new System.Drawing.Size(242, 37); + this.endTextBox35.TabIndex = 150; + this.endTextBox35.Visible = false; + // + // label35 + // + this.label35.AutoSize = true; + this.label35.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.label35.Location = new System.Drawing.Point(1431, 647); + this.label35.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label35.Name = "label35"; + this.label35.Size = new System.Drawing.Size(43, 29); + this.label35.TabIndex = 148; + this.label35.Text = "35"; + this.label35.Visible = false; + // + // exclamation34 + // + this.exclamation34.AutoSize = true; + this.exclamation34.Font = new System.Drawing.Font("Verdana", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.exclamation34.ForeColor = System.Drawing.Color.Red; + this.exclamation34.Location = new System.Drawing.Point(2011, 590); + this.exclamation34.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.exclamation34.Name = "exclamation34"; + this.exclamation34.Size = new System.Drawing.Size(34, 44); + this.exclamation34.TabIndex = 147; + this.exclamation34.Text = "!"; + this.exclamation34.Visible = false; + // + // startTextBox34 + // + this.startTextBox34.Enabled = false; + this.startTextBox34.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.startTextBox34.Location = new System.Drawing.Point(1491, 596); + this.startTextBox34.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.startTextBox34.Name = "startTextBox34"; + this.startTextBox34.Size = new System.Drawing.Size(242, 37); + this.startTextBox34.TabIndex = 145; + this.startTextBox34.Visible = false; + // + // endTextBox34 + // + this.endTextBox34.Enabled = false; + this.endTextBox34.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.endTextBox34.Location = new System.Drawing.Point(1764, 596); + this.endTextBox34.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.endTextBox34.Name = "endTextBox34"; + this.endTextBox34.Size = new System.Drawing.Size(242, 37); + this.endTextBox34.TabIndex = 146; + this.endTextBox34.Visible = false; + // + // label34 + // + this.label34.AutoSize = true; + this.label34.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.label34.Location = new System.Drawing.Point(1431, 601); + this.label34.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label34.Name = "label34"; + this.label34.Size = new System.Drawing.Size(43, 29); + this.label34.TabIndex = 144; + this.label34.Text = "34"; + this.label34.Visible = false; + // + // exclamation33 + // + this.exclamation33.AutoSize = true; + this.exclamation33.Font = new System.Drawing.Font("Verdana", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.exclamation33.ForeColor = System.Drawing.Color.Red; + this.exclamation33.Location = new System.Drawing.Point(2011, 544); + this.exclamation33.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.exclamation33.Name = "exclamation33"; + this.exclamation33.Size = new System.Drawing.Size(34, 44); + this.exclamation33.TabIndex = 143; + this.exclamation33.Text = "!"; + this.exclamation33.Visible = false; + // + // startTextBox33 + // + this.startTextBox33.Enabled = false; + this.startTextBox33.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.startTextBox33.Location = new System.Drawing.Point(1491, 550); + this.startTextBox33.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.startTextBox33.Name = "startTextBox33"; + this.startTextBox33.Size = new System.Drawing.Size(242, 37); + this.startTextBox33.TabIndex = 141; + this.startTextBox33.Visible = false; + // + // endTextBox33 + // + this.endTextBox33.Enabled = false; + this.endTextBox33.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.endTextBox33.Location = new System.Drawing.Point(1764, 550); + this.endTextBox33.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.endTextBox33.Name = "endTextBox33"; + this.endTextBox33.Size = new System.Drawing.Size(242, 37); + this.endTextBox33.TabIndex = 142; + this.endTextBox33.Visible = false; + // + // label33 + // + this.label33.AutoSize = true; + this.label33.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.label33.Location = new System.Drawing.Point(1431, 555); + this.label33.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label33.Name = "label33"; + this.label33.Size = new System.Drawing.Size(43, 29); + this.label33.TabIndex = 140; + this.label33.Text = "33"; + this.label33.Visible = false; + // + // exclamation32 + // + this.exclamation32.AutoSize = true; + this.exclamation32.Font = new System.Drawing.Font("Verdana", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.exclamation32.ForeColor = System.Drawing.Color.Red; + this.exclamation32.Location = new System.Drawing.Point(2011, 498); + this.exclamation32.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.exclamation32.Name = "exclamation32"; + this.exclamation32.Size = new System.Drawing.Size(34, 44); + this.exclamation32.TabIndex = 139; + this.exclamation32.Text = "!"; + this.exclamation32.Visible = false; + // + // startTextBox32 + // + this.startTextBox32.Enabled = false; + this.startTextBox32.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.startTextBox32.Location = new System.Drawing.Point(1491, 504); + this.startTextBox32.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.startTextBox32.Name = "startTextBox32"; + this.startTextBox32.Size = new System.Drawing.Size(242, 37); + this.startTextBox32.TabIndex = 137; + this.startTextBox32.Visible = false; + // + // endTextBox32 + // + this.endTextBox32.Enabled = false; + this.endTextBox32.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.endTextBox32.Location = new System.Drawing.Point(1764, 504); + this.endTextBox32.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.endTextBox32.Name = "endTextBox32"; + this.endTextBox32.Size = new System.Drawing.Size(242, 37); + this.endTextBox32.TabIndex = 138; + this.endTextBox32.Visible = false; + // + // label32 + // + this.label32.AutoSize = true; + this.label32.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.label32.Location = new System.Drawing.Point(1431, 509); + this.label32.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label32.Name = "label32"; + this.label32.Size = new System.Drawing.Size(43, 29); + this.label32.TabIndex = 136; + this.label32.Text = "32"; + this.label32.Visible = false; + // + // exclamation31 + // + this.exclamation31.AutoSize = true; + this.exclamation31.Font = new System.Drawing.Font("Verdana", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.exclamation31.ForeColor = System.Drawing.Color.Red; + this.exclamation31.Location = new System.Drawing.Point(2011, 452); + this.exclamation31.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.exclamation31.Name = "exclamation31"; + this.exclamation31.Size = new System.Drawing.Size(34, 44); + this.exclamation31.TabIndex = 135; + this.exclamation31.Text = "!"; + this.exclamation31.Visible = false; + // + // startTextBox31 + // + this.startTextBox31.Enabled = false; + this.startTextBox31.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.startTextBox31.Location = new System.Drawing.Point(1491, 458); + this.startTextBox31.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.startTextBox31.Name = "startTextBox31"; + this.startTextBox31.Size = new System.Drawing.Size(242, 37); + this.startTextBox31.TabIndex = 133; + this.startTextBox31.Visible = false; + // + // endTextBox31 + // + this.endTextBox31.Enabled = false; + this.endTextBox31.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.endTextBox31.Location = new System.Drawing.Point(1764, 458); + this.endTextBox31.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.endTextBox31.Name = "endTextBox31"; + this.endTextBox31.Size = new System.Drawing.Size(242, 37); + this.endTextBox31.TabIndex = 134; + this.endTextBox31.Visible = false; + // + // label31 + // + this.label31.AutoSize = true; + this.label31.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.label31.Location = new System.Drawing.Point(1431, 463); + this.label31.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label31.Name = "label31"; + this.label31.Size = new System.Drawing.Size(43, 29); + this.label31.TabIndex = 132; + this.label31.Text = "31"; + this.label31.Visible = false; + // + // exclamation30 + // + this.exclamation30.AutoSize = true; + this.exclamation30.Font = new System.Drawing.Font("Verdana", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.exclamation30.ForeColor = System.Drawing.Color.Red; + this.exclamation30.Location = new System.Drawing.Point(2011, 406); + this.exclamation30.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.exclamation30.Name = "exclamation30"; + this.exclamation30.Size = new System.Drawing.Size(34, 44); + this.exclamation30.TabIndex = 131; + this.exclamation30.Text = "!"; + this.exclamation30.Visible = false; + // + // exclamation29 + // + this.exclamation29.AutoSize = true; + this.exclamation29.Font = new System.Drawing.Font("Verdana", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.exclamation29.ForeColor = System.Drawing.Color.Red; + this.exclamation29.Location = new System.Drawing.Point(2011, 359); + this.exclamation29.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.exclamation29.Name = "exclamation29"; + this.exclamation29.Size = new System.Drawing.Size(34, 44); + this.exclamation29.TabIndex = 127; + this.exclamation29.Text = "!"; + this.exclamation29.Visible = false; + // + // startTextBox30 + // + this.startTextBox30.Enabled = false; + this.startTextBox30.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.startTextBox30.Location = new System.Drawing.Point(1491, 412); + this.startTextBox30.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.startTextBox30.Name = "startTextBox30"; + this.startTextBox30.Size = new System.Drawing.Size(242, 37); + this.startTextBox30.TabIndex = 129; + this.startTextBox30.Visible = false; + // + // exclamation28 + // + this.exclamation28.AutoSize = true; + this.exclamation28.Font = new System.Drawing.Font("Verdana", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.exclamation28.ForeColor = System.Drawing.Color.Red; + this.exclamation28.Location = new System.Drawing.Point(2011, 313); + this.exclamation28.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.exclamation28.Name = "exclamation28"; + this.exclamation28.Size = new System.Drawing.Size(34, 44); + this.exclamation28.TabIndex = 123; + this.exclamation28.Text = "!"; + this.exclamation28.Visible = false; + // + // endTextBox30 + // + this.endTextBox30.Enabled = false; + this.endTextBox30.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.endTextBox30.Location = new System.Drawing.Point(1764, 412); + this.endTextBox30.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.endTextBox30.Name = "endTextBox30"; + this.endTextBox30.Size = new System.Drawing.Size(242, 37); + this.endTextBox30.TabIndex = 130; + this.endTextBox30.Visible = false; + // + // label30 + // + this.label30.AutoSize = true; + this.label30.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.label30.Location = new System.Drawing.Point(1431, 416); + this.label30.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label30.Name = "label30"; + this.label30.Size = new System.Drawing.Size(43, 29); + this.label30.TabIndex = 128; + this.label30.Text = "30"; + this.label30.Visible = false; + // + // startTextBox29 + // + this.startTextBox29.Enabled = false; + this.startTextBox29.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.startTextBox29.Location = new System.Drawing.Point(1491, 366); + this.startTextBox29.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.startTextBox29.Name = "startTextBox29"; + this.startTextBox29.Size = new System.Drawing.Size(242, 37); + this.startTextBox29.TabIndex = 125; + this.startTextBox29.Visible = false; + // + // exclamation27 + // + this.exclamation27.AutoSize = true; + this.exclamation27.Font = new System.Drawing.Font("Verdana", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.exclamation27.ForeColor = System.Drawing.Color.Red; + this.exclamation27.Location = new System.Drawing.Point(2011, 267); + this.exclamation27.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.exclamation27.Name = "exclamation27"; + this.exclamation27.Size = new System.Drawing.Size(34, 44); + this.exclamation27.TabIndex = 119; + this.exclamation27.Text = "!"; + this.exclamation27.Visible = false; + // + // endTextBox29 + // + this.endTextBox29.Enabled = false; + this.endTextBox29.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.endTextBox29.Location = new System.Drawing.Point(1764, 366); + this.endTextBox29.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.endTextBox29.Name = "endTextBox29"; + this.endTextBox29.Size = new System.Drawing.Size(242, 37); + this.endTextBox29.TabIndex = 126; + this.endTextBox29.Visible = false; + // + // label29 + // + this.label29.AutoSize = true; + this.label29.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.label29.Location = new System.Drawing.Point(1431, 370); + this.label29.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label29.Name = "label29"; + this.label29.Size = new System.Drawing.Size(43, 29); + this.label29.TabIndex = 124; + this.label29.Text = "29"; + this.label29.Visible = false; + // + // startTextBox28 + // + this.startTextBox28.Enabled = false; + this.startTextBox28.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.startTextBox28.Location = new System.Drawing.Point(1491, 319); + this.startTextBox28.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.startTextBox28.Name = "startTextBox28"; + this.startTextBox28.Size = new System.Drawing.Size(242, 37); + this.startTextBox28.TabIndex = 121; + this.startTextBox28.Visible = false; + // + // exclamation26 + // + this.exclamation26.AutoSize = true; + this.exclamation26.Font = new System.Drawing.Font("Verdana", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.exclamation26.ForeColor = System.Drawing.Color.Red; + this.exclamation26.Location = new System.Drawing.Point(2011, 221); + this.exclamation26.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.exclamation26.Name = "exclamation26"; + this.exclamation26.Size = new System.Drawing.Size(34, 44); + this.exclamation26.TabIndex = 115; + this.exclamation26.Text = "!"; + this.exclamation26.Visible = false; + // + // endTextBox28 + // + this.endTextBox28.Enabled = false; + this.endTextBox28.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.endTextBox28.Location = new System.Drawing.Point(1764, 319); + this.endTextBox28.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.endTextBox28.Name = "endTextBox28"; + this.endTextBox28.Size = new System.Drawing.Size(242, 37); + this.endTextBox28.TabIndex = 122; + this.endTextBox28.Visible = false; + // + // label28 + // + this.label28.AutoSize = true; + this.label28.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.label28.Location = new System.Drawing.Point(1431, 324); + this.label28.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label28.Name = "label28"; + this.label28.Size = new System.Drawing.Size(43, 29); + this.label28.TabIndex = 120; + this.label28.Text = "28"; + this.label28.Visible = false; + // + // startTextBox27 + // + this.startTextBox27.Enabled = false; + this.startTextBox27.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.startTextBox27.Location = new System.Drawing.Point(1491, 273); + this.startTextBox27.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.startTextBox27.Name = "startTextBox27"; + this.startTextBox27.Size = new System.Drawing.Size(242, 37); + this.startTextBox27.TabIndex = 117; + this.startTextBox27.Visible = false; + // + // exclamation25 + // + this.exclamation25.AutoSize = true; + this.exclamation25.Font = new System.Drawing.Font("Verdana", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.exclamation25.ForeColor = System.Drawing.Color.Red; + this.exclamation25.Location = new System.Drawing.Point(2011, 175); + this.exclamation25.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.exclamation25.Name = "exclamation25"; + this.exclamation25.Size = new System.Drawing.Size(34, 44); + this.exclamation25.TabIndex = 111; + this.exclamation25.Text = "!"; + this.exclamation25.Visible = false; + // + // endTextBox27 + // + this.endTextBox27.Enabled = false; + this.endTextBox27.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.endTextBox27.Location = new System.Drawing.Point(1764, 273); + this.endTextBox27.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.endTextBox27.Name = "endTextBox27"; + this.endTextBox27.Size = new System.Drawing.Size(242, 37); + this.endTextBox27.TabIndex = 118; + this.endTextBox27.Visible = false; + // + // label27 + // + this.label27.AutoSize = true; + this.label27.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.label27.Location = new System.Drawing.Point(1431, 278); + this.label27.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label27.Name = "label27"; + this.label27.Size = new System.Drawing.Size(43, 29); + this.label27.TabIndex = 116; + this.label27.Text = "27"; + this.label27.Visible = false; + // + // startTextBox26 + // + this.startTextBox26.Enabled = false; + this.startTextBox26.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.startTextBox26.Location = new System.Drawing.Point(1491, 227); + this.startTextBox26.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.startTextBox26.Name = "startTextBox26"; + this.startTextBox26.Size = new System.Drawing.Size(242, 37); + this.startTextBox26.TabIndex = 113; + this.startTextBox26.Visible = false; + // + // endTextBox26 + // + this.endTextBox26.Enabled = false; + this.endTextBox26.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.endTextBox26.Location = new System.Drawing.Point(1764, 227); + this.endTextBox26.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.endTextBox26.Name = "endTextBox26"; + this.endTextBox26.Size = new System.Drawing.Size(242, 37); + this.endTextBox26.TabIndex = 114; + this.endTextBox26.Visible = false; + // + // label26 + // + this.label26.AutoSize = true; + this.label26.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.label26.Location = new System.Drawing.Point(1431, 232); + this.label26.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label26.Name = "label26"; + this.label26.Size = new System.Drawing.Size(43, 29); + this.label26.TabIndex = 112; + this.label26.Text = "26"; + this.label26.Visible = false; + // + // startTextBox25 + // + this.startTextBox25.Enabled = false; + this.startTextBox25.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.startTextBox25.Location = new System.Drawing.Point(1491, 181); + this.startTextBox25.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.startTextBox25.Name = "startTextBox25"; + this.startTextBox25.Size = new System.Drawing.Size(242, 37); + this.startTextBox25.TabIndex = 109; + this.startTextBox25.Visible = false; + // + // endTextBox25 + // + this.endTextBox25.Enabled = false; + this.endTextBox25.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.endTextBox25.Location = new System.Drawing.Point(1764, 181); + this.endTextBox25.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.endTextBox25.Name = "endTextBox25"; + this.endTextBox25.Size = new System.Drawing.Size(242, 37); + this.endTextBox25.TabIndex = 110; + this.endTextBox25.Visible = false; + // + // label25 + // + this.label25.AutoSize = true; + this.label25.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.label25.Location = new System.Drawing.Point(1431, 186); + this.label25.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.label25.Name = "label25"; + this.label25.Size = new System.Drawing.Size(43, 29); + this.label25.TabIndex = 108; + this.label25.Text = "25"; + this.label25.Visible = false; + // + // TestStartEndForm + // + this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 20F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.AutoScroll = true; + this.BackColor = System.Drawing.Color.DarkGray; + this.ClientSize = new System.Drawing.Size(2061, 1295); + this.Controls.Add(this.exclamation48); + this.Controls.Add(this.startTextBox48); + this.Controls.Add(this.endTextBox48); + this.Controls.Add(this.label48); + this.Controls.Add(this.exclamation47); + this.Controls.Add(this.startTextBox47); + this.Controls.Add(this.endTextBox47); + this.Controls.Add(this.label47); + this.Controls.Add(this.exclamation46); + this.Controls.Add(this.startTextBox46); + this.Controls.Add(this.endTextBox46); + this.Controls.Add(this.label46); + this.Controls.Add(this.exclamation45); + this.Controls.Add(this.startTextBox45); + this.Controls.Add(this.endTextBox45); + this.Controls.Add(this.label45); + this.Controls.Add(this.exclamation44); + this.Controls.Add(this.startTextBox44); + this.Controls.Add(this.endTextBox44); + this.Controls.Add(this.label44); + this.Controls.Add(this.exclamation43); + this.Controls.Add(this.startTextBox43); + this.Controls.Add(this.endTextBox43); + this.Controls.Add(this.label43); + this.Controls.Add(this.exclamation42); + this.Controls.Add(this.exclamation41); + this.Controls.Add(this.startTextBox42); + this.Controls.Add(this.exclamation40); + this.Controls.Add(this.endTextBox42); + this.Controls.Add(this.label42); + this.Controls.Add(this.startTextBox41); + this.Controls.Add(this.exclamation39); + this.Controls.Add(this.endTextBox41); + this.Controls.Add(this.label41); + this.Controls.Add(this.startTextBox40); + this.Controls.Add(this.exclamation38); + this.Controls.Add(this.endTextBox40); + this.Controls.Add(this.label40); + this.Controls.Add(this.startTextBox39); + this.Controls.Add(this.exclamation37); + this.Controls.Add(this.endTextBox39); + this.Controls.Add(this.label39); + this.Controls.Add(this.startTextBox38); + this.Controls.Add(this.endTextBox38); + this.Controls.Add(this.label38); + this.Controls.Add(this.startTextBox37); + this.Controls.Add(this.endTextBox37); + this.Controls.Add(this.label37); + this.Controls.Add(this.exclamation36); + this.Controls.Add(this.startTextBox36); + this.Controls.Add(this.endTextBox36); + this.Controls.Add(this.label36); + this.Controls.Add(this.exclamation35); + this.Controls.Add(this.startTextBox35); + this.Controls.Add(this.endTextBox35); + this.Controls.Add(this.label35); + this.Controls.Add(this.exclamation34); + this.Controls.Add(this.startTextBox34); + this.Controls.Add(this.endTextBox34); + this.Controls.Add(this.label34); + this.Controls.Add(this.exclamation33); + this.Controls.Add(this.startTextBox33); + this.Controls.Add(this.endTextBox33); + this.Controls.Add(this.label33); + this.Controls.Add(this.exclamation32); + this.Controls.Add(this.startTextBox32); + this.Controls.Add(this.endTextBox32); + this.Controls.Add(this.label32); + this.Controls.Add(this.exclamation31); + this.Controls.Add(this.startTextBox31); + this.Controls.Add(this.endTextBox31); + this.Controls.Add(this.label31); + this.Controls.Add(this.exclamation30); + this.Controls.Add(this.exclamation29); + this.Controls.Add(this.startTextBox30); + this.Controls.Add(this.exclamation28); + this.Controls.Add(this.endTextBox30); + this.Controls.Add(this.label30); + this.Controls.Add(this.startTextBox29); + this.Controls.Add(this.exclamation27); + this.Controls.Add(this.endTextBox29); + this.Controls.Add(this.label29); + this.Controls.Add(this.startTextBox28); + this.Controls.Add(this.exclamation26); + this.Controls.Add(this.endTextBox28); + this.Controls.Add(this.label28); + this.Controls.Add(this.startTextBox27); + this.Controls.Add(this.exclamation25); + this.Controls.Add(this.endTextBox27); + this.Controls.Add(this.label27); + this.Controls.Add(this.startTextBox26); + this.Controls.Add(this.endTextBox26); + this.Controls.Add(this.label26); + this.Controls.Add(this.startTextBox25); + this.Controls.Add(this.endTextBox25); + this.Controls.Add(this.label25); + this.Controls.Add(this.imageProcessingProgressLabel); + this.Controls.Add(this.imageProcessingProgressBar); + this.Controls.Add(this.rotateImageButton); + this.Controls.Add(this.pictureBox1); + this.Controls.Add(this.exclamation24); + this.Controls.Add(this.startTextBox24); + this.Controls.Add(this.endTextBox24); + this.Controls.Add(this.label24); + this.Controls.Add(this.exclamation23); + this.Controls.Add(this.startTextBox23); + this.Controls.Add(this.endTextBox23); + this.Controls.Add(this.label23); + this.Controls.Add(this.exclamation22); + this.Controls.Add(this.startTextBox22); + this.Controls.Add(this.endTextBox22); + this.Controls.Add(this.label22); + this.Controls.Add(this.exclamation21); + this.Controls.Add(this.startTextBox21); + this.Controls.Add(this.endTextBox21); + this.Controls.Add(this.label21); + this.Controls.Add(this.exclamation20); + this.Controls.Add(this.startTextBox20); + this.Controls.Add(this.endTextBox20); + this.Controls.Add(this.label20); + this.Controls.Add(this.exclamation19); + this.Controls.Add(this.startTextBox19); + this.Controls.Add(this.endTextBox19); + this.Controls.Add(this.label19); + this.Controls.Add(this.exclamation18); + this.Controls.Add(this.exclamation17); + this.Controls.Add(this.startTextBox18); + this.Controls.Add(this.exclamation16); + this.Controls.Add(this.endTextBox18); + this.Controls.Add(this.label18); + this.Controls.Add(this.startTextBox17); + this.Controls.Add(this.exclamation15); + this.Controls.Add(this.endTextBox17); + this.Controls.Add(this.label17); + this.Controls.Add(this.startTextBox16); + this.Controls.Add(this.exclamation14); + this.Controls.Add(this.endTextBox16); + this.Controls.Add(this.label16); + this.Controls.Add(this.startTextBox15); + this.Controls.Add(this.exclamation13); + this.Controls.Add(this.endTextBox15); + this.Controls.Add(this.label15); + this.Controls.Add(this.startTextBox14); + this.Controls.Add(this.endLabel2); + this.Controls.Add(this.endTextBox14); + this.Controls.Add(this.label14); + this.Controls.Add(this.startTextBox13); + this.Controls.Add(this.startLabel2); + this.Controls.Add(this.endTextBox13); + this.Controls.Add(this.label13); + this.Controls.Add(this.exclamation12); + this.Controls.Add(this.startTextBox12); + this.Controls.Add(this.endTextBox12); + this.Controls.Add(this.label12); + this.Controls.Add(this.exclamation11); + this.Controls.Add(this.startTextBox11); + this.Controls.Add(this.endTextBox11); + this.Controls.Add(this.label11); + this.Controls.Add(this.exclamation10); + this.Controls.Add(this.startTextBox10); + this.Controls.Add(this.endTextBox10); + this.Controls.Add(this.label10); + this.Controls.Add(this.exclamation9); + this.Controls.Add(this.startTextBox9); + this.Controls.Add(this.endTextBox9); + this.Controls.Add(this.label9); + this.Controls.Add(this.exclamation8); + this.Controls.Add(this.startTextBox8); + this.Controls.Add(this.endTextBox8); + this.Controls.Add(this.label8); + this.Controls.Add(this.exclamation7); + this.Controls.Add(this.startTextBox7); + this.Controls.Add(this.endTextBox7); + this.Controls.Add(this.label7); + this.Controls.Add(this.exclamation6); + this.Controls.Add(this.exclamation5); + this.Controls.Add(this.startTextBox6); + this.Controls.Add(this.exclamation4); + this.Controls.Add(this.endTextBox6); + this.Controls.Add(this.label6); + this.Controls.Add(this.startTextBox5); + this.Controls.Add(this.exclamation3); + this.Controls.Add(this.endTextBox5); + this.Controls.Add(this.label5); + this.Controls.Add(this.startTextBox4); + this.Controls.Add(this.exclamation2); + this.Controls.Add(this.endTextBox4); + this.Controls.Add(this.label4); + this.Controls.Add(this.startTextBox3); + this.Controls.Add(this.exclamation1); + this.Controls.Add(this.endTextBox3); + this.Controls.Add(this.label3); + this.Controls.Add(this.startTextBox2); + this.Controls.Add(this.endLabel); + this.Controls.Add(this.endTextBox2); + this.Controls.Add(this.label2); + this.Controls.Add(this.startTextBox1); + this.Controls.Add(this.startLabel); + this.Controls.Add(this.endTextBox1); + this.Controls.Add(this.label1); + this.Controls.Add(this.okButton); + this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; + this.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); + this.Name = "TestStartEndForm"; + this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide; + this.Text = "End States"; + this.TopMost = true; + this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.TestStartEndForm_FormClosed); + this.Load += new System.EventHandler(this.TestStartEndForm_Load); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); + this.ResumeLayout(false); + this.PerformLayout(); + } + + + + + private System.Windows.Forms.TextBox startTextBox35; + + private System.Windows.Forms.Label exclamation48; + private System.Windows.Forms.TextBox startTextBox48; + private System.Windows.Forms.TextBox endTextBox48; + private System.Windows.Forms.Label label48; + private System.Windows.Forms.Label exclamation47; + private System.Windows.Forms.TextBox startTextBox47; + private System.Windows.Forms.TextBox endTextBox47; + private System.Windows.Forms.Label label47; + private System.Windows.Forms.Label exclamation46; + private System.Windows.Forms.TextBox startTextBox46; + private System.Windows.Forms.TextBox endTextBox46; + private System.Windows.Forms.Label label46; + private System.Windows.Forms.Label exclamation44; + private System.Windows.Forms.Label exclamation45; + private System.Windows.Forms.TextBox startTextBox45; + private System.Windows.Forms.TextBox endTextBox45; + private System.Windows.Forms.Label label45; + private System.Windows.Forms.TextBox startTextBox44; + private System.Windows.Forms.TextBox endTextBox44; + private System.Windows.Forms.Label label44; + private System.Windows.Forms.Label exclamation43; + private System.Windows.Forms.TextBox startTextBox43; + private System.Windows.Forms.TextBox endTextBox43; + private System.Windows.Forms.Label label43; + private System.Windows.Forms.Label exclamation42; + private System.Windows.Forms.Label exclamation41; + private System.Windows.Forms.TextBox startTextBox42; + private System.Windows.Forms.Label exclamation40; + private System.Windows.Forms.TextBox endTextBox42; + private System.Windows.Forms.Label label42; + private System.Windows.Forms.TextBox startTextBox41; + private System.Windows.Forms.Label exclamation39; + private System.Windows.Forms.TextBox endTextBox41; + private System.Windows.Forms.Label label41; + private System.Windows.Forms.TextBox startTextBox40; + private System.Windows.Forms.Label exclamation38; + private System.Windows.Forms.TextBox endTextBox40; + private System.Windows.Forms.Label label40; + private System.Windows.Forms.TextBox startTextBox39; + private System.Windows.Forms.Label exclamation37; + private System.Windows.Forms.TextBox endTextBox39; + private System.Windows.Forms.Label label39; + private System.Windows.Forms.TextBox startTextBox38; + private System.Windows.Forms.TextBox endTextBox38; + private System.Windows.Forms.Label label38; + private System.Windows.Forms.TextBox startTextBox37; + private System.Windows.Forms.TextBox endTextBox37; + private System.Windows.Forms.Label label37; + private System.Windows.Forms.Label exclamation36; + private System.Windows.Forms.TextBox startTextBox36; + private System.Windows.Forms.TextBox endTextBox36; + private System.Windows.Forms.Label label36; + private System.Windows.Forms.Label exclamation35; + private System.Windows.Forms.TextBox endTextBox35; + private System.Windows.Forms.Label label35; + private System.Windows.Forms.Label exclamation34; + private System.Windows.Forms.TextBox endTextBox34; + private System.Windows.Forms.TextBox startTextBox34; + private System.Windows.Forms.Label label34; + private System.Windows.Forms.Label exclamation33; + private System.Windows.Forms.TextBox endTextBox33; + private System.Windows.Forms.TextBox startTextBox33; + private System.Windows.Forms.Label label33; + private System.Windows.Forms.Label exclamation32; + private System.Windows.Forms.TextBox endTextBox32; + private System.Windows.Forms.TextBox startTextBox32; + private System.Windows.Forms.Label label32; + private System.Windows.Forms.Label exclamation31; + private System.Windows.Forms.TextBox endTextBox31; + private System.Windows.Forms.TextBox startTextBox31; + private System.Windows.Forms.Label label31; + private System.Windows.Forms.Label exclamation30; + private System.Windows.Forms.Label exclamation29; + private System.Windows.Forms.TextBox endTextBox30; + private System.Windows.Forms.Label exclamation28; + private System.Windows.Forms.TextBox startTextBox30; + private System.Windows.Forms.Label label30; + private System.Windows.Forms.TextBox endTextBox29; + private System.Windows.Forms.Label exclamation27; + private System.Windows.Forms.TextBox startTextBox29; + private System.Windows.Forms.Label label29; + private System.Windows.Forms.TextBox endTextBox28; + private System.Windows.Forms.Label exclamation26; + private System.Windows.Forms.TextBox startTextBox28; + private System.Windows.Forms.Label label28; + private System.Windows.Forms.TextBox endTextBox27; + private System.Windows.Forms.Label exclamation25; + private System.Windows.Forms.TextBox startTextBox27; + private System.Windows.Forms.Label label27; + private System.Windows.Forms.TextBox endTextBox26; + private System.Windows.Forms.TextBox startTextBox26; + private System.Windows.Forms.Label label26; + private System.Windows.Forms.TextBox endTextBox25; + private System.Windows.Forms.TextBox startTextBox25; + private System.Windows.Forms.Label label25; + + #endregion + + private System.Windows.Forms.TextBox endTextBox1; + private System.Windows.Forms.Label label1; + private System.Windows.Forms.Button okButton; + private System.Windows.Forms.TextBox endTextBox3; + private System.Windows.Forms.Label label3; + private System.Windows.Forms.TextBox endTextBox4; + private System.Windows.Forms.Label label4; + private System.Windows.Forms.TextBox endTextBox5; + private System.Windows.Forms.Label label5; + private System.Windows.Forms.TextBox endTextBox6; + private System.Windows.Forms.Label label6; + private System.Windows.Forms.TextBox startTextBox1; + private System.Windows.Forms.TextBox startTextBox3; + private System.Windows.Forms.TextBox startTextBox4; + private System.Windows.Forms.TextBox startTextBox5; + private System.Windows.Forms.TextBox startTextBox6; + private System.Windows.Forms.Label startLabel; + private System.Windows.Forms.Label endLabel; + private System.Windows.Forms.Label exclamation1; + private System.Windows.Forms.Label exclamation3; + private System.Windows.Forms.Label exclamation4; + private System.Windows.Forms.Label exclamation5; + private System.Windows.Forms.Label exclamation6; + private System.Windows.Forms.Label label2; + private System.Windows.Forms.TextBox endTextBox2; + private System.Windows.Forms.TextBox startTextBox2; + private System.Windows.Forms.Label exclamation2; + private System.Windows.Forms.Label exclamation7; + private System.Windows.Forms.TextBox startTextBox7; + private System.Windows.Forms.TextBox endTextBox7; + private System.Windows.Forms.Label label7; + private System.Windows.Forms.Label exclamation8; + private System.Windows.Forms.TextBox startTextBox8; + private System.Windows.Forms.TextBox endTextBox8; + private System.Windows.Forms.Label label8; + private System.Windows.Forms.Label exclamation9; + private System.Windows.Forms.TextBox startTextBox9; + private System.Windows.Forms.TextBox endTextBox9; + private System.Windows.Forms.Label label9; + private System.Windows.Forms.Label exclamation10; + private System.Windows.Forms.TextBox startTextBox10; + private System.Windows.Forms.TextBox endTextBox10; + private System.Windows.Forms.Label label10; + private System.Windows.Forms.Label exclamation11; + private System.Windows.Forms.TextBox startTextBox11; + private System.Windows.Forms.TextBox endTextBox11; + private System.Windows.Forms.Label label11; + private System.Windows.Forms.Label exclamation12; + private System.Windows.Forms.TextBox startTextBox12; + private System.Windows.Forms.TextBox endTextBox12; + private System.Windows.Forms.Label label12; + private System.Windows.Forms.Label exclamation24; + private System.Windows.Forms.TextBox startTextBox24; + private System.Windows.Forms.TextBox endTextBox24; + private System.Windows.Forms.Label label24; + private System.Windows.Forms.Label exclamation23; + private System.Windows.Forms.TextBox startTextBox23; + private System.Windows.Forms.TextBox endTextBox23; + private System.Windows.Forms.Label label23; + private System.Windows.Forms.Label exclamation22; + private System.Windows.Forms.TextBox startTextBox22; + private System.Windows.Forms.TextBox endTextBox22; + private System.Windows.Forms.Label label22; + private System.Windows.Forms.Label exclamation21; + private System.Windows.Forms.TextBox startTextBox21; + private System.Windows.Forms.TextBox endTextBox21; + private System.Windows.Forms.Label label21; + private System.Windows.Forms.Label exclamation20; + private System.Windows.Forms.TextBox startTextBox20; + private System.Windows.Forms.TextBox endTextBox20; + private System.Windows.Forms.Label label20; + private System.Windows.Forms.Label exclamation19; + private System.Windows.Forms.TextBox startTextBox19; + private System.Windows.Forms.TextBox endTextBox19; + private System.Windows.Forms.Label label19; + private System.Windows.Forms.Label exclamation18; + private System.Windows.Forms.Label exclamation17; + private System.Windows.Forms.TextBox startTextBox18; + private System.Windows.Forms.Label exclamation16; + private System.Windows.Forms.TextBox endTextBox18; + private System.Windows.Forms.Label label18; + private System.Windows.Forms.TextBox startTextBox17; + private System.Windows.Forms.Label exclamation15; + private System.Windows.Forms.TextBox endTextBox17; + private System.Windows.Forms.Label label17; + private System.Windows.Forms.TextBox startTextBox16; + private System.Windows.Forms.Label exclamation14; + private System.Windows.Forms.TextBox endTextBox16; + private System.Windows.Forms.Label label16; + private System.Windows.Forms.TextBox startTextBox15; + private System.Windows.Forms.Label exclamation13; + private System.Windows.Forms.TextBox endTextBox15; + private System.Windows.Forms.Label label15; + private System.Windows.Forms.TextBox startTextBox14; + private System.Windows.Forms.Label endLabel2; + private System.Windows.Forms.TextBox endTextBox14; + private System.Windows.Forms.Label label14; + private System.Windows.Forms.TextBox startTextBox13; + private System.Windows.Forms.Label startLabel2; + private System.Windows.Forms.TextBox endTextBox13; + private System.Windows.Forms.Label label13; + private System.Windows.Forms.PictureBox pictureBox1; + private System.Windows.Forms.Button rotateImageButton; + private System.Windows.Forms.ProgressBar imageProcessingProgressBar; + private System.Windows.Forms.Label imageProcessingProgressLabel; + + } +} \ No newline at end of file diff --git a/TBF/Rig/DataEntry/StandartCameraPurchaseOrder/TestStartEndForm.resx b/TBF/Rig/DataEntry/StandartCameraPurchaseOrder/TestStartEndForm.resx new file mode 100644 index 000000000..1af7de150 --- /dev/null +++ b/TBF/Rig/DataEntry/StandartCameraPurchaseOrder/TestStartEndForm.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/TBF/Rig/Network/Camera/KeyenceIV3G120/Camera.cs b/TBF/Rig/Network/Camera/KeyenceIV3G120/Camera.cs index 45df00a8f..b00e1f40b 100644 --- a/TBF/Rig/Network/Camera/KeyenceIV3G120/Camera.cs +++ b/TBF/Rig/Network/Camera/KeyenceIV3G120/Camera.cs @@ -117,13 +117,14 @@ namespace TBF.Rig.Network.Camera.KeyenceIV3G120 cameraIdx = GetCameraIdx(); roisAndResults = new RoisAndResults(); - if (CameraCfg.DebugLevel == DebugMode.Simulate) + /* if (CameraCfg.DebugLevel == DebugMode.Simulate) { UiBridge.Bridge.OnCameraInfo(cameraIdx, string.Format("{0} s/n {1} si simulated", Name, CameraCfg.HardwareAddress)); return; - } + }*/ + //TODO BUMI - refactor cameraDetected - it gives no sense /// Detect a camera bool cameraDetected = true; @@ -214,12 +215,17 @@ namespace TBF.Rig.Network.Camera.KeyenceIV3G120 public void Start() { - throw new System.NotImplementedException(); + running = true; + stopRtpListenerFlag = false; + StartRtpListener(); + log.DebugFormat("Camera Start() - new implementation! "); } public Event Run() { - throw new System.NotImplementedException(); + log.DebugFormat("Camera Run() - new implementation! "); + + return Event.Continue; } public void Stop() @@ -251,15 +257,16 @@ namespace TBF.Rig.Network.Camera.KeyenceIV3G120 try { //Try to find picture candidate, shout be on FTP - Image image = null; + string[] picCandidates = Directory.GetFiles(pathDir, "*.bmp", SearchOption.TopDirectoryOnly); - if (picCandidates.Length == 1 && picCandidates.Any(pic => pic == lastImageRtpListener)) + if (picCandidates == null || (picCandidates.Length == 1 && picCandidates.Any(pic => pic == lastImageRtpListener))) { continue; } picCandidates = picCandidates.Where(pic => Regex.IsMatch(pic, searchPattern)).ToArray(); if (picCandidates != null && picCandidates.Length > 0) { + Image image = null; string newCandidate = CameraUtils.GetLastCreationTimeCandidate(picCandidates); if (newCandidate == lastImageRtpListener) { @@ -268,20 +275,19 @@ namespace TBF.Rig.Network.Camera.KeyenceIV3G120 log.Debug($"RtpListener - in Cycle, newCandidate: {newCandidate}"); try { + log.DebugFormat("Image copy starting! Image exist: {0}",image!=null?"true":"false"); CameraUtils.WaitForImageCompleteOnDisk(newCandidate); - using (Image originalImage = Image.FromFile(newCandidate)) - { - // Create a new bitmap from the loaded image - using (Bitmap bitmapCopy = new Bitmap(originalImage)) - { - // Create an Image object from the Bitmap object (bitmapCopy) - image = bitmapCopy.Clone() as Image; - } - } + image = CreateCopyOfImage(newCandidate); + } + catch (OutOfMemoryException ex) + { + log.Error("Out of memory error when loading image: " + ex.Message); + image = null; } catch (Exception ex) { log.Error("Error loading image: " + ex.Message); + image = null; } @@ -298,9 +304,22 @@ namespace TBF.Rig.Network.Camera.KeyenceIV3G120 grph.DrawRectangle(pen, overlayRect); } } - log.Debug($"Image success!, size: {image.Size.ToString()}"); - UiBridge.Bridge.OnImage(this.cameraIdx, image); - lastImageRtpListener = newCandidate; + + if (image != null) + { + try + { + UiBridge.Bridge.OnImage(this.cameraIdx, image); + lastImageRtpListener = newCandidate; + log.Debug($"Image success!, size: {image?.Size.ToString()}"); + } + catch (Exception ex) + { + log.ErrorFormat("Exception in MJpeg RTP calling Bridge.OnImage(): {0}", ex.StackTrace); + image?.Dispose(); + log.Error("Exception in MJpeg RTP calling Bridge.OnImage() dispose cleanUp done!"); + } + } } } catch (Exception exc) @@ -313,6 +332,20 @@ namespace TBF.Rig.Network.Camera.KeyenceIV3G120 log.Debug($"RtpListener - finished, stopRtpListenerFlag: {stopRtpListenerFlag}"); return; } - + + + private Image CreateCopyOfImage(string newCandidate) + { + using (Image originalImage = Image.FromFile(newCandidate)) + { + // Create a new bitmap from the loaded image + using (Bitmap bitmapCopy = new Bitmap(originalImage)) + { + // Create an Image object from the Bitmap object (bitmapCopy) + return bitmapCopy.Clone() as Image; + } + } + } + } } \ No newline at end of file diff --git a/TBF/Rig/Network/Camera/KeyenceIV3G120/CameraUtils.cs b/TBF/Rig/Network/Camera/KeyenceIV3G120/CameraUtils.cs index 6c8ed1b0f..30013e561 100644 --- a/TBF/Rig/Network/Camera/KeyenceIV3G120/CameraUtils.cs +++ b/TBF/Rig/Network/Camera/KeyenceIV3G120/CameraUtils.cs @@ -43,7 +43,7 @@ namespace TBF.Rig.Network.Camera.KeyenceIV3G120 catch (IOException ex) { // Handle the case when the file is not ready or cannot be accessed - log.Debug("No accessing rihts! We will wait next iteration!"); + log.Error("No accessing rihts! We will wait next iteration!"); } } } diff --git a/TBF/Rig/Network/Camera/KeyenceIV3G120/GrabImagesOp.cs b/TBF/Rig/Network/Camera/KeyenceIV3G120/GrabImagesOp.cs index 27e57f116..a4b405503 100644 --- a/TBF/Rig/Network/Camera/KeyenceIV3G120/GrabImagesOp.cs +++ b/TBF/Rig/Network/Camera/KeyenceIV3G120/GrabImagesOp.cs @@ -37,17 +37,30 @@ namespace TBF.Rig.Network.Camera.KeyenceIV3G120 if ((imgFileNames != null) && (imgFileNames.Length > 0) && File.Exists(imgFileNames[0])) { - /// - /// An image specified, (1) delete previous image, (2) check if this is a simulation - /// - File.Delete(imgFileNames[0]); - - if (camera.CameraCfg.DebugLevel == DebugMode.Simulate || camera.CameraCfg.DebugLevel == DebugMode.DetectedOff) + try { /// - /// Camera is in simulation mode => create a simulated image + /// An image specified, (1) delete previous image, (2) check if this is a simulation + /// If Exist Image on destination fileName path, delete this file /// - File.Copy(string.Format("{0}\\Pictures\\sample.jpg", Program.ExecutableDir), imgFileNames[0]); + log.DebugFormat("Deleting destination image if exist, path: {0}", imgFileNames[0]); + File.Delete(imgFileNames[0]); + + /* if (camera.CameraCfg.DebugLevel == DebugMode.Simulate || + camera.CameraCfg.DebugLevel == DebugMode.DetectedOff) + { + /// + /// Camera is in simulation mode => create a simulated image + /// + string sampleImagePath = string.Format("{1}\\Pictures\\sample{0}.bmp", + imgFileNames[0].Contains("-end.bmp") ? "-end" : "", Program.ExecutableDir); + File.Copy( sampleImagePath, imgFileNames[0]); + log.DebugFormat("Camera is in simulation mode - sample image:{0}, to file: {1} ", sampleImagePath, imgFileNames[0]); + }*/ + } + catch (Exception e) + { + log.Error("Error deleting image / copy sample.bmp: " + e.Message); } } } @@ -61,14 +74,14 @@ namespace TBF.Rig.Network.Camera.KeyenceIV3G120 /// return Event.GrabPassed; } - else if (camera.CameraCfg.DebugLevel == DebugMode.Simulate || + /* else if (camera.CameraCfg.DebugLevel == DebugMode.Simulate || camera.CameraCfg.DebugLevel == DebugMode.DetectedOff) { /// /// Camera is in simulation mode => create a simulated image and complete /// return Event.GrabPassed; - } + }*/ else if (!grabImageDone) { string pathDir = $"{Camera.FtpCameraSource}{Camera.PrefixCameraFolder}{camera.CameraIdx}\\"; @@ -79,11 +92,13 @@ namespace TBF.Rig.Network.Camera.KeyenceIV3G120 if (picCandidates != null && picCandidates.Length > 0) { string newCandidate = CameraUtils.GetLastCreationTimeCandidate(picCandidates); - log.Debug($"GrabImageOP.Run() - in Cycle, newCandidate: {newCandidate}"); + log.Debug($"Run() in Cycle, newCandidate: {newCandidate}"); try { CameraUtils.WaitForImageCompleteOnDisk(newCandidate); + log.DebugFormat("Run() TRY newCandidate move to fileName:{0}", imgFileNames[0]); File.Move(newCandidate, imgFileNames[0]); + log.DebugFormat("Run() newCandidate moved completly into new fileName:{0}", imgFileNames[0]); grabImageDone = true; grabPassed = true; CameraUtils.ClearDir(pathDir); @@ -91,13 +106,18 @@ namespace TBF.Rig.Network.Camera.KeyenceIV3G120 } catch (Exception ex) { - log.Error("Error loading image: " + ex.Message); + //TODO BUMI add beck Event.Error + log.Error("Error (Event.Error) loading image: " + ex.Message); grabFailed = true; - return Event.Error; + return Event.GrabPassed; //Event.Error -- FAKE } } return Event.CameraBusy; } + else if (grabImageDone) + { + return Event.GrabPassed; + } return Event.CameraBusy; } diff --git a/TBF/Rig/Sequences/IProcedureCameraCollect.cs b/TBF/Rig/Sequences/IProcedureCameraCollect.cs new file mode 100644 index 000000000..972a9fbf6 --- /dev/null +++ b/TBF/Rig/Sequences/IProcedureCameraCollect.cs @@ -0,0 +1,10 @@ +using Config.Entities; +using TBF.Rig.Generic; + +namespace TBF.Rig.Sequences +{ + public interface IProcedureCameraCollect : ISequence + { + void DefineParentProcess(Procedure parentProcedure); + } +} \ No newline at end of file diff --git a/TBF/Rig/Sequences/IProcedureCameraShowAfter.cs b/TBF/Rig/Sequences/IProcedureCameraShowAfter.cs new file mode 100644 index 000000000..600f53543 --- /dev/null +++ b/TBF/Rig/Sequences/IProcedureCameraShowAfter.cs @@ -0,0 +1,10 @@ +using System; +using TBF.Rig.Generic; + +namespace TBF.Rig.Sequences +{ + public interface IProcedureCameraShowAfter : ISequence + { + Boolean IsSupportedCollector(IComponent component); + } +} \ No newline at end of file diff --git a/TBF/Rig/Sequences/ISequence.cs b/TBF/Rig/Sequences/ISequence.cs new file mode 100644 index 000000000..d8f7ff36f --- /dev/null +++ b/TBF/Rig/Sequences/ISequence.cs @@ -0,0 +1,7 @@ +namespace TBF.Rig.Sequences +{ + public interface ISequence + { + + } +} \ No newline at end of file diff --git a/TBF/Rig/Sequences/MainSeq.cs b/TBF/Rig/Sequences/MainSeq.cs index c3eb56cc2..374f6581c 100644 --- a/TBF/Rig/Sequences/MainSeq.cs +++ b/TBF/Rig/Sequences/MainSeq.cs @@ -12,6 +12,7 @@ using Config.Entities; using TBF.Rig.Operations; using TBF.Rig.GenericDevices; using TBF.Resources; +using TBF.Rig.Generic; using TBF.Rig.Output.Printers.GroupPrinting.Single; using TBF.UiBridge; @@ -173,6 +174,7 @@ namespace TBF.Rig.Sequences string message; if (TestCommunicationWithScales(out scaleName, out message) == false) { + log.ErrorFormat("Error state on scale:{0} : {1}", scaleName, message); Bridge.OnError(this, string.Format("{0} : {1}", scaleName, message)); goto error; } @@ -864,6 +866,12 @@ namespace TBF.Rig.Sequences goto select_cycle_or_test; } } + + /* + * Data Collector AFTER ? if exist, then check collector and test + */ + bool collectDataAfterTests = false; + TBF.Rig.Generic.IComponent collector = TbfComponents.FindFirstComponentImpl(); int currentTestIx = selsctedTestIx; while (currentTestIx < StateMachine.TestInstances.Length - simultWithEvacuationCount) @@ -994,6 +1002,12 @@ namespace TBF.Rig.Sequences log.InfoFormat("Test {0}: Execute(., {1}, {2})", testInst.Name, testInst.Repetition, isLastRepetition); e = testMethod.Execute(testInst.Test, testInst.Repetition, isLastRepetition); + + if (testMethod is IProcedureCameraShowAfter) + { + collectDataAfterTests = collectDataAfterTests ? true : (testMethod as IProcedureCameraShowAfter).IsSupportedCollector(collector); + log.InfoFormat("Set After test method done! Name: {0}, Do collect: {1}", testMethod.Name,collectDataAfterTests); + } if (e.Contains(Event.MakeSecondPass) && testMethod is ITestMethodWith2ndPass) { @@ -1091,7 +1105,31 @@ namespace TBF.Rig.Sequences } deferredData.Clear(); - } + + //ON THE END run collector process if is actual + if (collector != null && collectDataAfterTests) + { + IProcedureCameraCollect collectorParent = collector as IProcedureCameraCollect; + collectorParent.DefineParentProcess(StateMachine.Procedure); + + for (int i = 0; i < StateMachine.TestInstances.Length - simultWithEvacuationCount; i++) + { + try + { + Test test = StateMachine.TestInstances[i].Test; + TestInstance testInst = StateMachine.TestInstances[i]; + ITestMethod testMethod = collector as ITestMethod; //Found Process to run - data collection + log.InfoFormat("Test {0}: Execute(., {1}, {2})", testInst.Name, testInst.Repetition, true); + e = testMethod.Execute(testInst.Test, testInst.Repetition, true); + } + catch (Exception exception) + { + log.ErrorFormat("Read ",exception); + } + } + } + + } ///------------------------------------------------------------------------------------------------------------ else { @@ -1138,6 +1176,12 @@ namespace TBF.Rig.Sequences StartMass.Format = "F3"; EndMass.Format = "F3"; + /* + * Data Collector AFTER ? if exist, then check collector and test + */ + bool collectDataAfterTests = false; + TBF.Rig.Generic.IComponent collector = TbfComponents.FindFirstComponentImpl(); + ITestMethod testMethod = TbfComponents.FindComponent(test.Method) as ITestMethod; if (testMethod != null && testMethod.CanTest(StateMachine.Procedure.MetersKind)) { @@ -1175,6 +1219,12 @@ namespace TBF.Rig.Sequences { e = testMethod.Execute(test, repetNr, true); + if (testMethod is IProcedureCameraShowAfter) + { + collectDataAfterTests = collectDataAfterTests ? true : (testMethod as IProcedureCameraShowAfter).IsSupportedCollector(collector); + log.InfoFormat("Set After test method done! Name: {0}, Do collect: {1}", testMethod.Name,collectDataAfterTests); + } + if (e.Contains(Event.MakeSecondPass) && testMethod is ITestMethodWith2ndPass) { ITestMethodWith2ndPass tm2 = testMethod as ITestMethodWith2ndPass; @@ -1190,6 +1240,29 @@ namespace TBF.Rig.Sequences Bridge.OnTestProgress(this, new TestProgressEventArgs(test, repetNr, testFinished ? Progress.Completed : Progress.Aborted)); + //ON THE END run collector process if is actual (defined and actual process supports it) + if (testFinished && collector != null && collectDataAfterTests) + { + IProcedureCameraCollect collectorParent = collector as IProcedureCameraCollect; + collectorParent.DefineParentProcess(StateMachine.Procedure); + ITestMethod testMethodCollector = collector as ITestMethod; + + if (testMethodCollector != null && + testMethodCollector.CanTest(StateMachine.Procedure.MetersKind)) + { + try + { + log.InfoFormat("Test single {0}: Execute(., {1}, {2})", test.Name, repetNr, + true); + e = testMethodCollector.Execute(test, repetNr, true); + } + catch (Exception exception) + { + log.ErrorFormat("Read ", exception); + } + } + } + if (testMethod.DoTransitions()) { TransitionContext endContext = testFinished ? TransitionContext.AfterTest : TransitionContext.Stop; @@ -1493,6 +1566,7 @@ namespace TBF.Rig.Sequences goto select_cycle_or_test; error: + log.Error("Error tag in MainSequence!"); //-------------------------------- State.Create("MainSeq : ERROR -> Closing the valves") .AddOperation(checkUiOp) diff --git a/TBF/Rig/Sequences/MainSeqUtils.cs b/TBF/Rig/Sequences/MainSeqUtils.cs index b2ca6bbd8..9b41fa856 100644 --- a/TBF/Rig/Sequences/MainSeqUtils.cs +++ b/TBF/Rig/Sequences/MainSeqUtils.cs @@ -374,6 +374,7 @@ namespace TBF.Rig.Sequences if (e.Contains(Event.Error)) { + log.Error("Error state in main sequence! "); ///------------------------------------ Bridge.OnActivity(this, Strings.Error); ///------------------------------------ diff --git a/TBF/Rig/TbfComponents.cs b/TBF/Rig/TbfComponents.cs index 6faddba38..a367b0ebe 100644 --- a/TBF/Rig/TbfComponents.cs +++ b/TBF/Rig/TbfComponents.cs @@ -6,6 +6,7 @@ using System.Linq; using Common; using Config.Entities; using TBF.Rig.Generic; +using TBF.Rig.Sequences; namespace TBF.Rig { @@ -43,6 +44,7 @@ namespace TBF.Rig new DataEntry.Standard48.Factory(), new DataEntry.Standard48.FactoryNoStartEnd(), new DataEntry.StandardCamera.Factory(), + new DataEntry.StandartCameraPurchaseOrder.Factory(), new DataEntry.Uni.Factory(), new DataEntry.Uni.FactoryNoStartEnd(), new RegisterReaders.KPackE.DataEntryForRadio.Factory(), /// DataEntry for KPackE radio @@ -339,5 +341,34 @@ namespace TBF.Rig { return FindComponent(name, StateMachine.Components); } + + public static IComponent FindFirstComponentImpl(IList components) where T : class, ISequence + { + foreach (var component in components) + { + if (component is T) + { + return component; + } + } + return null; + } + + public static IComponent FindFirstComponentImpl() where T : class, ISequence + { + return FindFirstComponentImpl(StateMachine.Components); + } + + public static IComponent FindFirstComponentImpl() + { + foreach (var component in StateMachine.Components) + { + if (component is IProcedureCameraCollect) + { + return component; + } + } + return null; + } } } diff --git a/TBF/Rig/TestMethods/StandingStartMassCollectionAdvance/Single/Component.cs b/TBF/Rig/TestMethods/StandingStartMassCollectionAdvance/Single/Component.cs index 1f1757a62..cd5c3105c 100644 --- a/TBF/Rig/TestMethods/StandingStartMassCollectionAdvance/Single/Component.cs +++ b/TBF/Rig/TestMethods/StandingStartMassCollectionAdvance/Single/Component.cs @@ -6,15 +6,18 @@ using System.Collections.Generic; using log4net; using Common; using Config.Entities; +using TBF.Rig.Generic; +using TBF.Rig.Sequences; namespace TBF.Rig.TestMethods.StandingStartMassCollectionAdvance.Single { - public class Component : ComponentBase, GenericDevices.ITestMethod + public class Component : ComponentBase, GenericDevices.ITestMethod, IProcedureCameraShowAfter { private static readonly ILog log = LogManager.GetLogger(typeof(Component)); public override string ToString() { return string.Format("{0}({1})", ClassName, Cfg.ToString(-1)); } + public bool IsSupportedCollector(IComponent component) { return (component is IProcedureCameraCollect); } - public bool CanTest(MetersKind meters) { return meters == MetersKind.Single; } + public bool CanTest(MetersKind meters) { return meters == MetersKind.Single; } public bool DoTransitions() { return true; } public bool CheckDeviceCaps(Test test, OutputPath devices, out string message) { diff --git a/TBF/Rig/TestMethods/StandingStartMassCollectionAdvance/StandingStartMassCollectionAdvanceSeq.cs b/TBF/Rig/TestMethods/StandingStartMassCollectionAdvance/StandingStartMassCollectionAdvanceSeq.cs index 40a3dd627..271d4d81c 100644 --- a/TBF/Rig/TestMethods/StandingStartMassCollectionAdvance/StandingStartMassCollectionAdvanceSeq.cs +++ b/TBF/Rig/TestMethods/StandingStartMassCollectionAdvance/StandingStartMassCollectionAdvanceSeq.cs @@ -10,7 +10,9 @@ using Common; using Config.Entities; using TBF.Boxes; using TBF.Resources; +using TBF.Rig.Generic; using TBF.Rig.GenericDevices; +using TBF.Rig.Sequences; using TBF.UiBridge; namespace TBF.Rig.TestMethods.StandingStartMassCollectionAdvance @@ -490,13 +492,17 @@ namespace TBF.Rig.TestMethods.StandingStartMassCollectionAdvance if (dataEntryCmpnt != null) { - string fileName = string.Format("{0}-{1}-start.bmp", test.Name, repetitionNr); //string.Format("{0}-start.bmp", test.Name); + + string fileName = (dataEntryCmpnt as IDataEntryForCamera).TestStartImgName(repetitionNr, testName).Replace(' ','_').Replace('/','_');; + //string fileName = string.Format("{0}-{1}-start.bmp", test.Name, repetitionNr); //string.Format("{0}-start.bmp", test.Name); IValve triggerValve = null; bool triggerSend = false; if (dataEntryCmpnt is GenericDevices.IDataEntryForCamera) { string[] startImages = new string[sensPath.RegisterReaders.Length]; + + State state2 = State.Create(string.Format("{0}({1}) : Grab images", test.Method, test.Name)) .AddOperation(checkUiOp) @@ -507,6 +513,10 @@ namespace TBF.Rig.TestMethods.StandingStartMassCollectionAdvance for (int i = 0; i < sensPath.RegisterReaders.Length; i++) { + string directory = Path.Combine(Program.TempImagesDir, BatchRslts.Batch.BatchNr.ToString(), (i + 1).ToString()); + Directory.CreateDirectory(directory); + startImages[i] = Path.Combine(directory, fileName); + GenericDevices.IRegReaderStillCamera roi = sensPath.RegisterReaders[i] as GenericDevices.IRegReaderStillCamera; if (roi != null) { @@ -518,17 +528,14 @@ namespace TBF.Rig.TestMethods.StandingStartMassCollectionAdvance string.Format("{0}({1}) : Grabbing images - valve open", test.Method, test.Name)); triggerSend = true; } - string directory = Path.Combine(Program.TempImagesDir, BatchRslts.Batch.BatchNr.ToString(), (i + 1).ToString()); - Directory.CreateDirectory(directory); - startImages[i] = Path.Combine(directory, fileName); + state2.AddOperation(roi.GrabImageOp(startImages[i])); + log.DebugFormat("Camera GrabImage, startImages[{0}] = {1} ", i, startImages[i]); } else { /// Camera simulation - string directory = Path.Combine(Program.TempImagesDir, BatchRslts.Batch.BatchNr.ToString(), (i + 1).ToString()); - Directory.CreateDirectory(directory); - startImages[i] = Path.Combine(directory, fileName); + log.DebugFormat("Camera GrabImage no ROI - in Simulation Mode, startImages[{0}] = {1} ", i, startImages[i]); } } state2.EnterState(); @@ -552,22 +559,22 @@ namespace TBF.Rig.TestMethods.StandingStartMassCollectionAdvance string.Format("{0}({1}) : Grabbing images - valve close", test.Method, test.Name)); } /////// - - Bridge.OnActivity(this, Strings.Enter_water_meter_data); + + Bridge.OnActivity(this, Strings.Grabbing_images);//Strings.Enter_water_meter_data); State.Create(string.Format("{0}({1}) : Enter start states of water meters", test.Method, test.Name)) .AddOperation(checkUiOp) .AddOperations(readTempPressOps) .AddOperation(readStartMassOp) .AddOperation(testInProgress) - .AddOperation((dataEntryCmpnt as GenericDevices.IHasWMStatesForm).ShowTestStartFormOp(sensPath.RegisterReaders)) + //.AddOperation((dataEntryCmpnt as GenericDevices.IHasWMStatesForm).ShowTestStartFormOp(sensPath.RegisterReaders)) .AddOperation(processDataLoggingOp) .EnterState(); do { e = StateMachine.WaitRunDevsRunOps(); if (TestAndLogUiCmdStop(test, e)) { retVal = Event.UiCmdStop; goto stopTest; } } - while (!e.Contains(Event.ModelessFormClosed)); + while (!e.Contains(Event.ScaleDone/*Event.ModelessFormClosed*/)); if (heatMetersTestParams != null) { @@ -601,12 +608,12 @@ namespace TBF.Rig.TestMethods.StandingStartMassCollectionAdvance { (rr as Rig.Network.Camera.RoiForFixedStartKeyence.Roi).BeginWMState = dataEntryCmpnt.WMStartState(i); - log.DebugFormat(" StandingStartMassCollectionAdvanceSeq.cs - BeginWMState [{0}] -> RoiForFixedStartKeyence.Roi",dataEntryCmpnt.WMStartState(i)); + log.DebugFormat("BeginWMState [{0}] -> RoiForFixedStartKeyence.Roi",dataEntryCmpnt.WMStartState(i)); } } } - if (dataEntryCmpnt is IDataEntryForCamera && (dataEntryCmpnt as IDataEntryForCamera).SaveImages) + if (dataEntryCmpnt is IDataEntryForCamera /*&& (dataEntryCmpnt as IDataEntryForCamera).SaveImages*/) { log.Debug("Save images WMStartState..."); /// SaveImages==true ... copy images to the directory that will be archived at the end of the cycle @@ -624,13 +631,18 @@ namespace TBF.Rig.TestMethods.StandingStartMassCollectionAdvance Directory.CreateDirectory(destDir); string destFName = string.IsNullOrEmpty((dataEntryCmpnt as IDataEntryForCamera).TestStartImgName(i, testName)) ? fileName : (dataEntryCmpnt as IDataEntryForCamera).TestStartImgName(i, testName); - File.Copy(Path.Combine(srcDir, fileName), Path.Combine(destDir, destFName), true); + string destFNameComp = destFName.Replace(' ', '_').Replace('/','_'); + File.Copy(Path.Combine(srcDir, fileName), Path.Combine(destDir, destFNameComp), true); log.DebugFormat("Save images sourceFile: {0}, destFile: {1} ",Path.Combine(srcDir, fileName), Path.Combine(destDir, destFName)); } + else + { + log.DebugFormat("No image file name: {0} to copy from: {1}", fileName, srcDir); + } } catch (Exception exc) { - log.ErrorFormat("Failed to copy image {0} to {1}: {2}", fileName, destDir, exc.Message); + log.ErrorFormat("Failed to copy image {0} to {1} error message: {2}", fileName, destDir, exc.Message); } } } @@ -817,7 +829,9 @@ namespace TBF.Rig.TestMethods.StandingStartMassCollectionAdvance /// if (dataEntryCmpnt != null) { - string fileName = string.Format("{0}-{1}-end.bmp", test.Name, repetitionNr); //string.Format("{0}-end.bmp", test.Name); + + string fileName = (dataEntryCmpnt as IDataEntryForCamera).TestEndImgName(repetitionNr, testName).Replace(' ','_').Replace('/','_'); + //string fileName = string.Format("{0}-{1}-end.bmp", test.Name, repetitionNr); //string.Format("{0}-end.bmp", test.Name); IValve triggerValve = null; bool triggerSend = false; @@ -826,9 +840,14 @@ namespace TBF.Rig.TestMethods.StandingStartMassCollectionAdvance string[] endImages = new string[sensPath.RegisterReaders.Length]; State state2 = State.Create(string.Format("{0}({1}) : Grabbing images", test.Method, test.Name)) - .AddOperation(checkUiOp); + .AddOperation(checkUiOp) + .AddOperation(testInProgress); for (int i = 0; i < sensPath.RegisterReaders.Length; i++) { + string directory = Path.Combine(Program.TempImagesDir, BatchRslts.Batch.BatchNr.ToString(), (i + 1).ToString()); + Directory.CreateDirectory(directory); + endImages[i] = Path.Combine(directory, fileName); + GenericDevices.IRegReaderStillCamera roi = sensPath.RegisterReaders[i] as GenericDevices.IRegReaderStillCamera; if (roi != null) { @@ -840,18 +859,14 @@ namespace TBF.Rig.TestMethods.StandingStartMassCollectionAdvance string.Format("{0}({1}) : Grabbing images - valve open", test.Method, test.Name)); triggerSend = true; } - string directory = Path.Combine(Program.TempImagesDir, BatchRslts.Batch.BatchNr.ToString(), (i + 1).ToString()); - Directory.CreateDirectory(directory); - endImages[i] = Path.Combine(directory, fileName); + state2.AddOperation(roi.GrabImageOp(endImages[i])); - state2.AddOperation(testInProgress); + log.DebugFormat("Camera GrabImage, endImages[{0}] = {1} ", i, endImages[i]); } else { /// Camera simulation - string directory = Path.Combine(Program.TempImagesDir, BatchRslts.Batch.BatchNr.ToString(), (i + 1).ToString()); - Directory.CreateDirectory(directory); - endImages[i] = Path.Combine(directory, fileName); + log.DebugFormat("Camera GrabImage no ROI - in Simulation Mode, endImages[{0}] = {1} ", i, endImages[i]); } } state2.EnterState(); @@ -875,10 +890,10 @@ namespace TBF.Rig.TestMethods.StandingStartMassCollectionAdvance string.Format("{0}({1}) : Grabbing images - valve close", test.Method, test.Name)); } /////// - - Bridge.OnActivity(this, Strings.Enter_water_meter_data); + + Bridge.OnActivity(this, Strings.Grabbing_images); //Strings.Enter_water_meter_data); State state = State.Create(string.Format("{0}({1}) : Entering the end-state", test.Method, test.Name)); - if (heatMetersTestParams != null && dataEntryCmpnt is GenericDevices.IHasHeatMtrStatesForm) + /*if (heatMetersTestParams != null && dataEntryCmpnt is GenericDevices.IHasHeatMtrStatesForm) { state.AddOperation((dataEntryCmpnt as GenericDevices.IHasHeatMtrStatesForm). ShowTestEndFormOp(sensPath.RegisterReaders, @@ -889,7 +904,7 @@ namespace TBF.Rig.TestMethods.StandingStartMassCollectionAdvance { state.AddOperation(dataEntryCmpnt.ShowTestEndFormOp(sensPath.RegisterReaders, volumeCTV, test.ErrLimLo + test.Uncertainty, test.ErrLimHi - test.Uncertainty)); - } + }*/ state.AddOperation(checkUiOp) .AddOperations(readTempPressOps) .AddOperation(testInProgress) @@ -898,7 +913,7 @@ namespace TBF.Rig.TestMethods.StandingStartMassCollectionAdvance e = StateMachine.WaitRunDevsRunOps(); if (TestAndLogUiCmdStop(test, e)) { retVal = Event.UiCmdStop; goto stopTest; } } - while (!e.Contains(Event.ModelessFormClosed)); + while (!e.Contains(Event.TestInProgress/*Event.ModelessFormClosed*/)); if (heatMetersTestParams != null) @@ -922,13 +937,13 @@ namespace TBF.Rig.TestMethods.StandingStartMassCollectionAdvance { for (int i = 0; i < waterMetersCount; i++) { - GenericDevices.IRegReader rr = sensPath.RegisterReaders[i]; + GenericDevices.IRegReader rr = sensPath.RegisterReaders[i]; - if (rr is Rig.RegisterReaders.StandingStartStop.RegisterReader) - (rr as Rig.RegisterReaders.StandingStartStop.RegisterReader).EndWMState = dataEntryCmpnt.WMEndState(i); + if (rr is Rig.RegisterReaders.StandingStartStop.RegisterReader) + (rr as Rig.RegisterReaders.StandingStartStop.RegisterReader).EndWMState = dataEntryCmpnt.WMEndState(i); - if (rr is Rig.Network.Camera.RoiForFixedStart.Roi) - (rr as Rig.Network.Camera.RoiForFixedStart.Roi).EndWMState = dataEntryCmpnt.WMEndState(i); + if (rr is Rig.Network.Camera.RoiForFixedStart.Roi) + (rr as Rig.Network.Camera.RoiForFixedStart.Roi).EndWMState = dataEntryCmpnt.WMEndState(i); if (rr is Rig.Network.Camera.RoiForFixedStartKeyence.Roi) { @@ -939,7 +954,7 @@ namespace TBF.Rig.TestMethods.StandingStartMassCollectionAdvance } } - if (dataEntryCmpnt is IDataEntryForCamera && (dataEntryCmpnt as IDataEntryForCamera).SaveImages) + if (dataEntryCmpnt is IDataEntryForCamera /*&& (dataEntryCmpnt as IDataEntryForCamera).SaveImages*/) { log.Debug("Save images EndWMState..."); /// SaveImages==true ... copy images to the directory that will be archived at the end of the cycle @@ -957,6 +972,7 @@ namespace TBF.Rig.TestMethods.StandingStartMassCollectionAdvance Directory.CreateDirectory(destDir); string destFName = string.IsNullOrEmpty((dataEntryCmpnt as IDataEntryForCamera).TestEndImgName(i, testName)) ? fileName : (dataEntryCmpnt as IDataEntryForCamera).TestEndImgName(i, testName); + destFName = destFName.Replace(' ', '_').Replace('/', '_'); File.Copy(Path.Combine(srcDir, fileName), Path.Combine(destDir, destFName), true); log.DebugFormat("Save images sourceFile: {0}, destFile: {1} ",Path.Combine(srcDir, fileName), Path.Combine(destDir, destFName)); } diff --git a/TBF/Rig/TestMethods/StandingStartMassCollectionAdvanceCollect/Single/Component.cs b/TBF/Rig/TestMethods/StandingStartMassCollectionAdvanceCollect/Single/Component.cs index 78654cf85..5af2f197a 100644 --- a/TBF/Rig/TestMethods/StandingStartMassCollectionAdvanceCollect/Single/Component.cs +++ b/TBF/Rig/TestMethods/StandingStartMassCollectionAdvanceCollect/Single/Component.cs @@ -6,16 +6,23 @@ using System.Collections.Generic; using log4net; using Common; using Config.Entities; +using TBF.Rig.Sequences; namespace TBF.Rig.TestMethods.StandingStartMassCollectionAdvanceCollect.Single { - public class Component : ComponentBase, GenericDevices.ITestMethod + public class Component : ComponentBase, GenericDevices.ITestMethod, IProcedureCameraCollect { private static readonly ILog log = LogManager.GetLogger(typeof(Component)); public override string ToString() { return string.Format("{0}({1})", ClassName, Cfg.ToString(-1)); } - public bool CanTest(MetersKind meters) { return meters == MetersKind.Single; } + private Procedure parentProcedure; + public void DefineParentProcess(Procedure parentProcedure) + { + this.parentProcedure = parentProcedure; + } + + public bool CanTest(MetersKind meters) { return meters == MetersKind.Single; } public bool DoTransitions() { return true; } public bool CheckDeviceCaps(Test test, OutputPath devices, out string message) { @@ -34,7 +41,9 @@ namespace TBF.Rig.TestMethods.StandingStartMassCollectionAdvanceCollect.Single public IList Execute(Test test, int repetNr, bool isLastRepetition) { - return (new StandingStartMassCollectionAdvanceCollectSeq()).Execute(test, repetNr, isLastRepetition, DebugLevel); + StandingStartMassCollectionAdvanceCollectSeq startMassCollectionAdvanceCollectSeq = new StandingStartMassCollectionAdvanceCollectSeq(); + startMassCollectionAdvanceCollectSeq.DefineParentProcess(parentProcedure); + return startMassCollectionAdvanceCollectSeq.Execute(test, repetNr, isLastRepetition, DebugLevel); } } } diff --git a/TBF/Rig/TestMethods/StandingStartMassCollectionAdvanceCollect/StandingStartMassCollectionAdvanceCollectSeq.cs b/TBF/Rig/TestMethods/StandingStartMassCollectionAdvanceCollect/StandingStartMassCollectionAdvanceCollectSeq.cs index 05dc62742..92bd2e471 100644 --- a/TBF/Rig/TestMethods/StandingStartMassCollectionAdvanceCollect/StandingStartMassCollectionAdvanceCollectSeq.cs +++ b/TBF/Rig/TestMethods/StandingStartMassCollectionAdvanceCollect/StandingStartMassCollectionAdvanceCollectSeq.cs @@ -4,20 +4,21 @@ using System; using System.Collections.Generic; using System.IO; -using System.Threading; using log4net; using Common; using Config.Entities; using TBF.Boxes; using TBF.Resources; using TBF.Rig.GenericDevices; +using TBF.Rig.Sequences; using TBF.UiBridge; namespace TBF.Rig.TestMethods.StandingStartMassCollectionAdvanceCollect { - public class StandingStartMassCollectionAdvanceCollectSeq : Sequences.SequenceBase + public class StandingStartMassCollectionAdvanceCollectSeq : Sequences.SequenceBase, ISequence { private static readonly ILog log = LogManager.GetLogger(typeof(StandingStartMassCollectionAdvanceCollectSeq)); + private Procedure parentProcedure; /// /// Check capabilities of devces in the output path required for this test method @@ -26,49 +27,6 @@ namespace TBF.Rig.TestMethods.StandingStartMassCollectionAdvanceCollect /// true when capabilities of devices are OK public static bool CheckDeviceCaps(Config.Entities.Test test, OutputPath devices, out string message) { - if (!(StateMachine.ControlBoardMain is ControlBoard.Papouch.PapouchCB) && - !(StateMachine.ControlBoardMain is ControlBoard.Uni.UniCB)) - { - /// Control board does not support this method - message = string.Format("{0}: {1}", test.Name, Strings.Test_bench_does_not_suport_selected_test_method); - return false; - } - - if (!(devices.Scale is IScale)) - { - /// Scale is missing - message = string.Format("{0}: {1}", test.Name, Strings.Missing_a_scale); - return false; - } - - if (test.Volume > devices.Scale.Capacity * Constants.TankFullFactor) - { - /// Scale capacity is not sufficient - message = string.Format("{0}: {1}", test.Name, Strings.Test_volume_exceeds_the_scale_capacity); - return false; - } - - if (!(devices.Diverter is IDiverter)) - { - /// Diverter is missing - message = string.Format("{0}: {1}", test.Name, Strings.Missing_a_diverter); - return false; - } - - if (!(devices.FlowMeter is IFlowMeter)) - { - /// Flow meter is missing - message = string.Format("{0}: {1}", test.Name, Strings.Missing_a_flow_meter); - return false; - } - - if (!(devices.RegValve is GenericDevices.IRegValve)) - { - /// Regulation valve is missing - message = string.Format("{0}: {1}", test.Name, Strings.Missing_a_regulation_valve); - return false; - } - message = string.Empty; return true; } @@ -87,54 +45,19 @@ namespace TBF.Rig.TestMethods.StandingStartMassCollectionAdvanceCollect public IList Execute(Config.Entities.Test test, int repetitionNr, bool isLastRepetition, Common.DebugMode debugLevel) { - ControlBoard.IControlBoard cBrd = StateMachine.ControlBoardMain; - IScale scale = cBrd.Devices.Scale as IScale; - - if ((outPath.FlowMeter is IFlowMeterSingle) && - (outPath.FlowMeter as IFlowMeterSingle).GetRange(test.TempLimLo, test.TempLimHi) == -1) - { - Bridge.OnError(this, Strings.Flow_meter_temperature_range_does_not_fit_this_test_conditions); - return new List { Event.ConfigurationError }; /// or Event.UiCmdStop ??? - } - + IList e; /// Events from currently running operations int waterMetersCount = Math.Min(BenchInfo.WaterMetersCount, sensPath.RegisterReaders.Length); - DateTimeBox timeStampStart = new DateTimeBox(); - DateTimeBox timeStampEnd = new DateTimeBox(); - FloatBox startSwitchTime = new FloatBox(); - FloatBox stopSwitchTime = new FloatBox(); - int tMass1 = 0; - int tMass2 = 0; checkUiOp = new Operations.CheckUIOp(true); /// Runs in more then one state processDataLoggingOp = new TBF.Rig.Operations.ProcessDataLoggingOp(processDataLogger, this, false); - log.DebugFormat("WaitRunDevsRunOps - initialisation"); + e = StateMachine.WaitRunDevsRunOps(); log.DebugFormat("WaitRunDevsRunOps - initialisation done"); - - if (cBrd is ControlBoard.Uni.UniCB) - { - int[] filters = new int[] { 0, 0, 0, 0, 0, 0, 0, 0 }; - if (sensPath != null && sensPath.RegisterReaders != null) - { - foreach (var rr in sensPath.RegisterReaders) - { - IRegReaderPulses rrPls = rr as IRegReaderPulses; - if (rrPls != null && rrPls.Position >= 1 && rrPls.Position <= 8) - { - filters[rrPls.Position - 1] = rrPls.Filter; - } - } - } - (cBrd as ControlBoard.Uni.UniCB).SetFiltersPidShortPulses(filters, outPath.PidCoef, test.ShortPulses); - } - log.DebugFormat("ControlBoard.Uni.UniCB - initialisation done"); - - Event retVal = Event.Done; - int totalPulses = Convert.ToInt32(test.Volume / outPath.FlowMeter.LtrPerPulse); + ///============================================================================================ @@ -143,34 +66,48 @@ namespace TBF.Rig.TestMethods.StandingStartMassCollectionAdvanceCollect Bridge.OnTestSelected(this, new TestSelectedEventArgs(test, repetitionNr, inPath, benchPath, outPath, sensPath, heatMetersPath)); string testName = Results.Utils.GetTestName(test.Name, test.Repeats, repetitionNr); log.DebugFormat("Start the test - testName: {0}, test -> name: {1} -> Repeats: {2} -> repetitionNr: {3}", testName, test.Name, test.Repeats, repetitionNr); - - - IOperation testInProgress = cBrd.StandingStartStopTestOp(test, 2 * totalPulses, Devices.Diverter is TBF.Rig.Uni.Diverter.Diverter); - + + Results.Entities.TestRslt tstRslt = BatchRslts.GetTestRslt(testName, test.Part); /// /// Enter water meter begin states and read the start mass at the same time /// GenericDevices.IHasWMStatesForm dataEntryCmpnt = TbfComponents.FindComponent(StateMachine.Procedure.DataEntry) as GenericDevices.IHasWMStatesForm; - IOperation readStartMassOp = scale.ReadStableMassOp(ref StartMass, test.TimeFlow2Mass, test.MassMethod, test.MassRepeats, test.MassSpread); - log.DebugFormat("Collect process - Enter watermeter end states here"); /// - /// Enter watermeter end states here + /// Enter watermeter start - end states here /// if (dataEntryCmpnt != null) { - string fileName = string.Format("{0}-{1}-end.bmp", test.Name, repetitionNr); //string.Format("{0}-end.bmp", test.Name); - IValve triggerValve = null; bool triggerSend = false; if (dataEntryCmpnt is GenericDevices.IDataEntryForCamera) { + string[] startImages = new string[sensPath.RegisterReaders.Length]; string[] endImages = new string[sensPath.RegisterReaders.Length]; + - (dataEntryCmpnt as GenericDevices.IDataEntryForCamera).EndImages = endImages; - } + log.Debug("Save images EndWMState..."); + /// SaveImages==true ... copy images to the directory that will be archived at the end of the cycle + for (int i = 0; i < sensPath.RegisterReaders.Length; i++) + { + var roi = sensPath.RegisterReaders[i] as IRegReaderStillCamera; + if (roi != null) + { + string pathImage= Path.Combine(Program.ImagesDir, BatchRslts.Batch.BatchNr.ToString(), (i + 1).ToString()); + string endTestdestFName = (dataEntryCmpnt as IDataEntryForCamera).TestEndImgName(i, testName).Replace(' ','_').Replace('/','_'); + log.DebugFormat("End test image {1} - destination file name to fileName: {0} filepath: {2}", endTestdestFName,i, pathImage); + endImages[i] = pathImage +"\\"+ endTestdestFName; + string startTestdestFName = (dataEntryCmpnt as IDataEntryForCamera).TestStartImgName(i, testName).Replace(' ','_').Replace('/','_');; + log.DebugFormat("Start test image {1} - destination file name to filePath: {0} filePath: {2}", startTestdestFName,i, pathImage); + startImages[i] = pathImage +"\\"+ startTestdestFName; + + } + } + (dataEntryCmpnt as GenericDevices.IDataEntryForCamera).EndImages = endImages; + (dataEntryCmpnt as GenericDevices.IDataEntryForCamera).StartImages = startImages; + } @@ -183,7 +120,7 @@ namespace TBF.Rig.TestMethods.StandingStartMassCollectionAdvanceCollect } state.AddOperation(checkUiOp) //.AddOperations(readTempPressOps) - .AddOperation(testInProgress) + //.AddOperation(testInProgress) .EnterState(); do { e = StateMachine.WaitRunDevsRunOps(); @@ -198,50 +135,32 @@ namespace TBF.Rig.TestMethods.StandingStartMassCollectionAdvanceCollect { GenericDevices.IRegReader rr = sensPath.RegisterReaders[i]; - if (rr is Rig.RegisterReaders.StandingStartStop.RegisterReader) - (rr as Rig.RegisterReaders.StandingStartStop.RegisterReader).EndWMState = dataEntryCmpnt.WMEndState(i); + if (rr is Rig.RegisterReaders.StandingStartStop.RegisterReader) + { + (rr as Rig.RegisterReaders.StandingStartStop.RegisterReader).EndWMState = dataEntryCmpnt.WMEndState(i); + (rr as Rig.RegisterReaders.StandingStartStop.RegisterReader).BeginWMState = dataEntryCmpnt.WMStartState(i); + } + + - if (rr is Rig.Network.Camera.RoiForFixedStart.Roi) - (rr as Rig.Network.Camera.RoiForFixedStart.Roi).EndWMState = dataEntryCmpnt.WMEndState(i); + if (rr is Rig.Network.Camera.RoiForFixedStart.Roi) + { + (rr as Rig.Network.Camera.RoiForFixedStart.Roi).EndWMState = dataEntryCmpnt.WMEndState(i); + (rr as Rig.Network.Camera.RoiForFixedStart.Roi).BeginWMState = dataEntryCmpnt.WMStartState(i); + } if (rr is Rig.Network.Camera.RoiForFixedStartKeyence.Roi) { (rr as Rig.Network.Camera.RoiForFixedStartKeyence.Roi).EndWMState = dataEntryCmpnt.WMEndState(i); - log.DebugFormat(" StandingStartMassCollectionAdvanceSeq.cs - EndWMState [{0}] -> RoiForFixedStartKeyence.Roi",dataEntryCmpnt.WMEndState(i)); + (rr as Rig.Network.Camera.RoiForFixedStartKeyence.Roi).BeginWMState = + dataEntryCmpnt.WMStartState(i); + log.DebugFormat(" StandingStartMassCollectionAdvanceSeq.cs - BeginWMState [{0}], EndWMState [{1}] -> RoiForFixedStartKeyence.Roi",dataEntryCmpnt.WMStartState(i),dataEntryCmpnt.WMEndState(i)); } } } - if (dataEntryCmpnt is IDataEntryForCamera && (dataEntryCmpnt as IDataEntryForCamera).SaveImages) - { - log.Debug("Save images EndWMState..."); - /// SaveImages==true ... copy images to the directory that will be archived at the end of the cycle - for (int i = 0; i < sensPath.RegisterReaders.Length; i++) - { - var roi = sensPath.RegisterReaders[i] as IRegReaderStillCamera; - if (roi != null) - { - string srcDir = Path.Combine(Program.TempImagesDir, BatchRslts.Batch.BatchNr.ToString(), (i + 1).ToString()); - string destDir = Path.Combine(Program.ImagesDir, BatchRslts.Batch.BatchNr.ToString(), (i + 1).ToString()); - try - { - if (File.Exists(Path.Combine(srcDir, fileName))) - { - Directory.CreateDirectory(destDir); - string destFName = string.IsNullOrEmpty((dataEntryCmpnt as IDataEntryForCamera).TestEndImgName(i, testName)) - ? fileName : (dataEntryCmpnt as IDataEntryForCamera).TestEndImgName(i, testName); - File.Copy(Path.Combine(srcDir, fileName), Path.Combine(destDir, destFName), true); - log.DebugFormat("Save images sourceFile: {0}, destFile: {1} ",Path.Combine(srcDir, fileName), Path.Combine(destDir, destFName)); - } - } - catch (Exception exc) - { - log.ErrorFormat("Failed to copy image {0} to {1}: {2}", fileName, destDir, exc.Message); - } - } - } - } + } //------------------------------------------------ @@ -254,66 +173,11 @@ namespace TBF.Rig.TestMethods.StandingStartMassCollectionAdvanceCollect /// /// Populate TestResult data entity with data /// - Results.Entities.TestRslt tstRslt = BatchRslts.GetTestRslt(testName, test.Part); + //Results.Entities.TestRslt tstRslt = BatchRslts.GetTestRslt(testName, test.Part); bool stopCycle = false; if (tstRslt != null) { - Results.Utils.GetCounterStates(tstRslt, Program.LocalSettings.Counters); - - /// Raw data - UpdateTempPressDensAmb(tstRslt); - tstRslt.MethodClass = TbfComponents.FindComponent(test.Method).ClassName; - tstRslt.StartTime = TestStartTime; - tstRslt.EndTime = TestEndTime; - //tstRslt.FlowSetTime = flowSetTime; - tstRslt.TestTime = Math.Max(1.0, DateTimeBox.DurationSec(timeStampStart, timeStampEnd)); /// Min. 1s to prevent division by zero - tstRslt.PulsesMaster = Convert.ToDouble(cBrd.RefPulses); /// Pulses of the master flow meter (test total) - tstRslt.MassStartRaw = StartMass.Val; - tstRslt.MassEndRaw = EndMass.Val; - tstRslt.TimeBtwnMassMsrmnts = tMass2 - tMass1; - - /// Corrected values - //tstRslt.MassStart = massStart; - // tstRslt.MassEnd = massEnd; - // tstRslt.MassOfEvapWater = massOfEvaporatedWater; - - /// Main results - //tstRslt.VolumeCTV = volumeCTV; /// [l] 1000.0f is because density is in [kg/m3] - //tstRslt.Flow = 3.6 * volumeCTV / tstRslt.TestTime; /// [m3/h] - - if (cBrd is ControlBoard.Uni.UniCB) - { - /// Test bench with Uni control board and q reference flow meter - tstRslt.ConstMasterRaw = outPath.FlowMeter.LtrPerPulse; - tstRslt.ConstMasterCorr = outPath.FlowMeter.LtrPerPulseCorrected(tstRslt.Flow, tstRslt.TempDownMean); - tstRslt.VolumeMaster = tstRslt.ConstMasterRaw * tstRslt.PulsesMaster; /// [l] volume from the master flow meter - tstRslt.ConstMaster = (tstRslt.VolumeMaster != 0) ? (tstRslt.ConstMasterRaw * tstRslt.VolumeCTV / tstRslt.VolumeMaster) : tstRslt.ConstMasterCorr; - } - else - { - /// Test bench with Papouch control board without reference flow meter - //tstRslt.VolumeMaster = volumeCTV; /// [l] volume from the master flow meter - tstRslt.ConstMasterRaw = 1; /// Uncorrected master flowmeter coefficient - tstRslt.ConstMasterCorr = 1; /// Corrected master pulses per liter - tstRslt.ConstMaster = 1; - } - tstRslt.ErrorMaster = Formulas.ErrorFromVolumes(tstRslt.VolumeMaster, tstRslt.VolumeCTV); - - tstRslt.FlowMean = (float)RefFlowStat.Average; - tstRslt.FlowStart = (float)RefFlowStat.First; - tstRslt.FlowEnd = (float)RefFlowStat.Last; - tstRslt.FlowMin = (float)RefFlowStat.Min; - tstRslt.FlowMax = (float)RefFlowStat.Max; - - tstRslt.DiverterStart = startSwitchTime.Val; - tstRslt.DiverterEnd = stopSwitchTime.Val; - - long infoFlags = 0; - tstRslt.ErrorFlags = (ErrorFlagsComp != null) ? ErrorFlagsComp.GetErrorFlags(tstRslt, false, true, startSwitchTime.Val, stopSwitchTime.Val, out infoFlags, out stopCycle) : 0; - tstRslt.InfoFlags = infoFlags; - - { /// /// Single meters @@ -327,34 +191,20 @@ namespace TBF.Rig.TestMethods.StandingStartMassCollectionAdvanceCollect if (meterRslt != null && regReader != null) { - meterRslt.RegReaderType = (int)regReader.RegisterReaderType; - meterRslt.PulsesPerLiter = regReader.PulsesPerLtr; + meterRslt.VolumeStart = regReader.BeginWMState; meterRslt.VolumeEnd = regReader.EndWMState; meterRslt.VolumeMeter = Math.Abs(meterRslt.VolumeEnd - meterRslt.VolumeStart); - meterRslt.VolumeRef = tstRslt.VolumeCTV; /// liter - meterRslt.PulsesMeter = meterRslt.VolumeMeter; - meterRslt.PulsesMaster = tstRslt.PulsesMaster; - meterRslt.TestTime = tstRslt.TestTime; + meterRslt.Error = Formulas.ErrorFromVolumes(meterRslt.VolumeMeter, meterRslt.VolumeRef); meterRslt.Passed = (meterRslt.Error >= test.GetErrLimLo(tstRslt.VolumeCTV, tstRslt.TestTime) + test.Uncertainty) && (meterRslt.Error <= test.GetErrLimHi(tstRslt.VolumeCTV, tstRslt.TestTime) - test.Uncertainty) && (tstRslt.ErrorFlags == 0); - meterRslt.TestDone = true; - tstRslt.TestDone = true; } } } - tstRslt.Components = Results.Entities.Components - .UpdateList(BatchRslts.ComponentsList, - new Results.Entities.Components((BenchInfo != null) ? BenchInfo.TestBenchId : 1, - (BenchInfo != null) ? BenchInfo.TestBenchName : "testbench", - inPath.Pump != null ? inPath.Pump.Name : string.Empty, - outPath.FlowMeter != null ? outPath.FlowMeter.Name : string.Empty, - scale != null ? scale.Name : string.Empty, - outPath.RegValve != null ? outPath.RegValve.Name : string.Empty, - outPath.Diverter != null ? outPath.Diverter.Name : string.Empty)); + /// Update water meter error flags if (ErrorFlagsComp != null) @@ -392,5 +242,11 @@ namespace TBF.Rig.TestMethods.StandingStartMassCollectionAdvanceCollect return new List { retVal }; } + + + public void DefineParentProcess(Procedure parentProcedure) + { + this.parentProcedure = parentProcedure; + } } } diff --git a/TBF/TBF.csproj b/TBF/TBF.csproj index 9272dbf6c..ec8ca4794 100644 --- a/TBF/TBF.csproj +++ b/TBF/TBF.csproj @@ -545,6 +545,34 @@ TestStartEndForm.cs + + Form + + + CycleBeginningForm.cs + + + Form + + + CycleEndForm.cs + + + + + UserControl + + + EntryFormCfgCtrl.cs + + + + + Form + + + TestStartEndForm.cs + Form @@ -1175,6 +1203,9 @@ + + + @@ -2786,6 +2817,24 @@ TestStartEndForm.cs + + CycleBeginningForm.cs + + + CycleBeginningForm.cs + + + CycleBeginningForm.cs + + + CycleEndForm.cs + + + EntryFormCfgCtrl.cs + + + TestStartEndForm.cs + CycleBgEnForm.cs