lx
2025-09-05 0b108f56b2d0c35d01ee361dc593119ac52a14e1
ErrorAnalysis.UI/FrmMain.Designer.cs
@@ -28,282 +28,177 @@
        /// </summary>
        private void InitializeComponent()
        {
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmMain));
            btnAnalysis = new Button();
            gpBore = new GroupBox();
            textBox8 = new TextBox();
            label16 = new Label();
            label13 = new Label();
            textBox7 = new TextBox();
            label14 = new Label();
            label11 = new Label();
            textBox6 = new TextBox();
            label12 = new Label();
            label9 = new Label();
            textBox5 = new TextBox();
            label10 = new Label();
            label7 = new Label();
            textBox4 = new TextBox();
            label8 = new Label();
            label5 = new Label();
            textBox3 = new TextBox();
            label6 = new Label();
            label3 = new Label();
            textBox2 = new TextBox();
            label4 = new Label();
            label2 = new Label();
            textBox1 = new TextBox();
            btnSelectBore = new Button();
            label1 = new Label();
            gbTarget = new GroupBox();
            label22 = new Label();
            numericUpDown3 = new NumericUpDown();
            nudSoPrecisionRequired = new NumericUpDown();
            label21 = new Label();
            pnlLockPass = new Panel();
            nudPass = new NumericUpDown();
            label23 = new Label();
            pnlLockSpeed = new Panel();
            cmbSpeedUnit = new ComboBox();
            numericUpDown2 = new NumericUpDown();
            nudSpeed = new NumericUpDown();
            label20 = new Label();
            panel1 = new Panel();
            rdoLockSpeed = new RadioButton();
            rdoLockPass = new RadioButton();
            label19 = new Label();
            label18 = new Label();
            label17 = new Label();
            numericUpDown1 = new NumericUpDown();
            label15 = new Label();
            nudSw = new NumericUpDown();
            gbResult = new GroupBox();
            txtAnalysisResult = new RichTextBox();
            tableLayoutPanel1 = new TableLayoutPanel();
            pnlCOPic = new Panel();
            pnlErrorRatioPic = new Panel();
            btnReport = new Button();
            label24 = new Label();
            txtDataPath = new TextBox();
            btnSelectDataSource = new Button();
            gpBore.SuspendLayout();
            gbTarget.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)numericUpDown3).BeginInit();
            tabEditInfo = new TabControl();
            tpBorehole = new TabPage();
            gpBoreholeFluid = new GroupBox();
            nudTubeHoldUp = new NumericUpDown();
            label10 = new Label();
            label47 = new Label();
            nudScreenHoldUp = new NumericUpDown();
            nudBHSalinity = new NumericUpDown();
            label49 = new Label();
            label51 = new Label();
            nudCasingHoldUp = new NumericUpDown();
            label50 = new Label();
            label46 = new Label();
            label39 = new Label();
            label45 = new Label();
            nudOilDensity = new NumericUpDown();
            nudGasDensity = new NumericUpDown();
            label48 = new Label();
            cmbScreenHoldUp = new ComboBox();
            label44 = new Label();
            cmbTubeHoldUp = new ComboBox();
            cmbCasingHoldUp = new ComboBox();
            label38 = new Label();
            gpBorehole = new GroupBox();
            cmbBit = new ComboBox();
            label29 = new Label();
            cmbCasingOD = new ComboBox();
            label27 = new Label();
            cmbScreenOD = new ComboBox();
            cmbScreenID = new ComboBox();
            label28 = new Label();
            label26 = new Label();
            nudGravelFIllPercent = new NumericUpDown();
            cmbTubeID = new ComboBox();
            label32 = new Label();
            label31 = new Label();
            cmbCasingID = new ComboBox();
            label33 = new Label();
            label37 = new Label();
            label30 = new Label();
            nudCementBond = new NumericUpDown();
            cmbTubeOD = new ComboBox();
            label25 = new Label();
            label34 = new Label();
            label6 = new Label();
            label36 = new Label();
            label35 = new Label();
            tpFormation = new TabPage();
            nudReservoirSalinity = new NumericUpDown();
            label40 = new Label();
            label41 = new Label();
            label43 = new Label();
            label15 = new Label();
            nudVSH = new NumericUpDown();
            label42 = new Label();
            nudSw = new NumericUpDown();
            label18 = new Label();
            nudPorosity = new NumericUpDown();
            label17 = new Label();
            label19 = new Label();
            cmbLithology = new ComboBox();
            label16 = new Label();
            tpPlan = new TabPage();
            label7 = new Label();
            cmbTargetLoggingIntervalUnit = new ComboBox();
            label5 = new Label();
            chkAlphaProcessing = new CheckBox();
            nudYieldCounting = new NumericUpDown();
            nudAlphaProcessingWin = new NumericUpDown();
            nudDepth = new NumericUpDown();
            nudTargetLoggingInterval = new NumericUpDown();
            label54 = new Label();
            txtToolType = new TextBox();
            label53 = new Label();
            label52 = new Label();
            pbLoadDB = new ProgressBar();
            chkProcessing = new CheckBox();
            ((System.ComponentModel.ISupportInitialize)nudSoPrecisionRequired).BeginInit();
            pnlLockPass.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)nudPass).BeginInit();
            pnlLockSpeed.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)numericUpDown2).BeginInit();
            ((System.ComponentModel.ISupportInitialize)nudSpeed).BeginInit();
            panel1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)numericUpDown1).BeginInit();
            gbResult.SuspendLayout();
            tableLayoutPanel1.SuspendLayout();
            tabEditInfo.SuspendLayout();
            tpBorehole.SuspendLayout();
            gpBoreholeFluid.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)nudTubeHoldUp).BeginInit();
            ((System.ComponentModel.ISupportInitialize)nudScreenHoldUp).BeginInit();
            ((System.ComponentModel.ISupportInitialize)nudBHSalinity).BeginInit();
            ((System.ComponentModel.ISupportInitialize)nudCasingHoldUp).BeginInit();
            ((System.ComponentModel.ISupportInitialize)nudOilDensity).BeginInit();
            ((System.ComponentModel.ISupportInitialize)nudGasDensity).BeginInit();
            gpBorehole.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)nudGravelFIllPercent).BeginInit();
            ((System.ComponentModel.ISupportInitialize)nudCementBond).BeginInit();
            tpFormation.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)nudReservoirSalinity).BeginInit();
            ((System.ComponentModel.ISupportInitialize)nudVSH).BeginInit();
            ((System.ComponentModel.ISupportInitialize)nudSw).BeginInit();
            ((System.ComponentModel.ISupportInitialize)nudPorosity).BeginInit();
            tpPlan.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)nudYieldCounting).BeginInit();
            ((System.ComponentModel.ISupportInitialize)nudAlphaProcessingWin).BeginInit();
            ((System.ComponentModel.ISupportInitialize)nudDepth).BeginInit();
            ((System.ComponentModel.ISupportInitialize)nudTargetLoggingInterval).BeginInit();
            SuspendLayout();
            // 
            // btnAnalysis
            // 
            btnAnalysis.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
            btnAnalysis.Location = new Point(616, 589);
            btnAnalysis.Location = new Point(716, 580);
            btnAnalysis.Name = "btnAnalysis";
            btnAnalysis.Size = new Size(75, 23);
            btnAnalysis.TabIndex = 0;
            btnAnalysis.TabIndex = 37;
            btnAnalysis.Text = "Analysis";
            btnAnalysis.UseVisualStyleBackColor = true;
            btnAnalysis.Click += btnGetAllPipe_Click;
            //
            // gpBore
            //
            gpBore.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
            gpBore.Controls.Add(textBox8);
            gpBore.Controls.Add(label16);
            gpBore.Controls.Add(label13);
            gpBore.Controls.Add(textBox7);
            gpBore.Controls.Add(label14);
            gpBore.Controls.Add(label11);
            gpBore.Controls.Add(textBox6);
            gpBore.Controls.Add(label12);
            gpBore.Controls.Add(label9);
            gpBore.Controls.Add(textBox5);
            gpBore.Controls.Add(label10);
            gpBore.Controls.Add(label7);
            gpBore.Controls.Add(textBox4);
            gpBore.Controls.Add(label8);
            gpBore.Controls.Add(label5);
            gpBore.Controls.Add(textBox3);
            gpBore.Controls.Add(label6);
            gpBore.Controls.Add(label3);
            gpBore.Controls.Add(textBox2);
            gpBore.Controls.Add(label4);
            gpBore.Controls.Add(label2);
            gpBore.Controls.Add(textBox1);
            gpBore.Controls.Add(btnSelectBore);
            gpBore.Controls.Add(label1);
            gpBore.Location = new Point(12, 44);
            gpBore.Name = "gpBore";
            gpBore.Size = new Size(760, 186);
            gpBore.TabIndex = 1;
            gpBore.TabStop = false;
            gpBore.Text = "Bore Info";
            //
            // textBox8
            //
            textBox8.Location = new Point(86, 156);
            textBox8.Name = "textBox8";
            textBox8.ReadOnly = true;
            textBox8.Size = new Size(109, 23);
            textBox8.TabIndex = 23;
            //
            // label16
            //
            label16.AutoSize = true;
            label16.Location = new Point(20, 159);
            label16.Name = "label16";
            label16.Size = new Size(61, 17);
            label16.TabIndex = 22;
            label16.Text = "Lithology";
            //
            // label13
            //
            label13.AutoSize = true;
            label13.Location = new Point(435, 126);
            label13.Name = "label13";
            label13.Size = new Size(18, 17);
            label13.TabIndex = 21;
            label13.Text = "in";
            //
            // textBox7
            //
            textBox7.Location = new Point(322, 123);
            textBox7.Name = "textBox7";
            textBox7.ReadOnly = true;
            textBox7.Size = new Size(109, 23);
            textBox7.TabIndex = 20;
            //
            // label14
            //
            label14.AutoSize = true;
            label14.Location = new Point(256, 126);
            label14.Name = "label14";
            label14.Size = new Size(54, 17);
            label14.TabIndex = 19;
            label14.Text = "Tube ID";
            //
            // label11
            //
            label11.AutoSize = true;
            label11.Location = new Point(199, 122);
            label11.Name = "label11";
            label11.Size = new Size(18, 17);
            label11.TabIndex = 18;
            label11.Text = "in";
            //
            // textBox6
            //
            textBox6.Location = new Point(86, 119);
            textBox6.Name = "textBox6";
            textBox6.ReadOnly = true;
            textBox6.Size = new Size(109, 23);
            textBox6.TabIndex = 17;
            //
            // label12
            //
            label12.AutoSize = true;
            label12.Location = new Point(20, 122);
            label12.Name = "label12";
            label12.Size = new Size(60, 17);
            label12.TabIndex = 16;
            label12.Text = "Tube OD";
            btnAnalysis.Click += btnAnalysis_Click;
            // 
            // label9
            // 
            label9.AutoSize = true;
            label9.Location = new Point(435, 87);
            label9.Location = new Point(204, 28);
            label9.Name = "label9";
            label9.Size = new Size(18, 17);
            label9.Size = new Size(42, 17);
            label9.TabIndex = 15;
            label9.Text = "in";
            //
            // textBox5
            //
            textBox5.Location = new Point(322, 84);
            textBox5.Name = "textBox5";
            textBox5.ReadOnly = true;
            textBox5.Size = new Size(109, 23);
            textBox5.TabIndex = 14;
            //
            // label10
            //
            label10.AutoSize = true;
            label10.Location = new Point(252, 87);
            label10.Name = "label10";
            label10.Size = new Size(64, 17);
            label10.TabIndex = 13;
            label10.Text = "Screen ID";
            //
            // label7
            //
            label7.AutoSize = true;
            label7.Location = new Point(199, 85);
            label7.Name = "label7";
            label7.Size = new Size(18, 17);
            label7.TabIndex = 12;
            label7.Text = "in";
            //
            // textBox4
            //
            textBox4.Location = new Point(86, 82);
            textBox4.Name = "textBox4";
            textBox4.ReadOnly = true;
            textBox4.Size = new Size(109, 23);
            textBox4.TabIndex = 11;
            //
            // label8
            //
            label8.AutoSize = true;
            label8.Location = new Point(10, 85);
            label8.Name = "label8";
            label8.Size = new Size(70, 17);
            label8.TabIndex = 10;
            label8.Text = "Screen OD";
            //
            // label5
            //
            label5.AutoSize = true;
            label5.Location = new Point(681, 48);
            label5.Name = "label5";
            label5.Size = new Size(18, 17);
            label5.TabIndex = 9;
            label5.Text = "in";
            //
            // textBox3
            //
            textBox3.Location = new Point(568, 45);
            textBox3.Name = "textBox3";
            textBox3.ReadOnly = true;
            textBox3.Size = new Size(109, 23);
            textBox3.TabIndex = 8;
            //
            // label6
            //
            label6.AutoSize = true;
            label6.Location = new Point(492, 48);
            label6.Name = "label6";
            label6.Size = new Size(64, 17);
            label6.TabIndex = 7;
            label6.Text = "Casing ID";
            label9.Text = "kppm";
            // 
            // label3
            // 
            label3.AutoSize = true;
            label3.Location = new Point(435, 48);
            label3.Location = new Point(204, 46);
            label3.Name = "label3";
            label3.Size = new Size(18, 17);
            label3.TabIndex = 6;
            label3.Text = "in";
            // 
            // textBox2
            //
            textBox2.Location = new Point(322, 45);
            textBox2.Name = "textBox2";
            textBox2.ReadOnly = true;
            textBox2.Size = new Size(109, 23);
            textBox2.TabIndex = 5;
            //
            // label4
            // 
            label4.AutoSize = true;
            label4.Location = new Point(246, 48);
            label4.Location = new Point(62, 46);
            label4.Name = "label4";
            label4.Size = new Size(70, 17);
            label4.TabIndex = 4;
@@ -312,91 +207,53 @@
            // label2
            // 
            label2.AutoSize = true;
            label2.Location = new Point(199, 48);
            label2.Location = new Point(204, 19);
            label2.Name = "label2";
            label2.Size = new Size(18, 17);
            label2.TabIndex = 3;
            label2.Text = "in";
            // 
            // textBox1
            //
            textBox1.Location = new Point(86, 45);
            textBox1.Name = "textBox1";
            textBox1.ReadOnly = true;
            textBox1.Size = new Size(109, 23);
            textBox1.TabIndex = 2;
            //
            // btnSelectBore
            //
            btnSelectBore.Location = new Point(6, 16);
            btnSelectBore.Name = "btnSelectBore";
            btnSelectBore.Size = new Size(75, 23);
            btnSelectBore.TabIndex = 1;
            btnSelectBore.Text = "Select";
            btnSelectBore.UseVisualStyleBackColor = true;
            //
            // label1
            // 
            label1.AutoSize = true;
            label1.Location = new Point(57, 48);
            label1.Location = new Point(7, 19);
            label1.Name = "label1";
            label1.Size = new Size(23, 17);
            label1.Size = new Size(125, 17);
            label1.TabIndex = 0;
            label1.Text = "Bit";
            //
            // gbTarget
            //
            gbTarget.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
            gbTarget.Controls.Add(label22);
            gbTarget.Controls.Add(numericUpDown3);
            gbTarget.Controls.Add(label21);
            gbTarget.Controls.Add(pnlLockPass);
            gbTarget.Controls.Add(pnlLockSpeed);
            gbTarget.Controls.Add(panel1);
            gbTarget.Controls.Add(label19);
            gbTarget.Controls.Add(label18);
            gbTarget.Controls.Add(label17);
            gbTarget.Controls.Add(numericUpDown1);
            gbTarget.Controls.Add(label15);
            gbTarget.Controls.Add(nudSw);
            gbTarget.Location = new Point(12, 236);
            gbTarget.Name = "gbTarget";
            gbTarget.Size = new Size(760, 143);
            gbTarget.TabIndex = 2;
            gbTarget.TabStop = false;
            gbTarget.Text = "Target";
            label1.Text = "Open hole diameter";
            // 
            // label22
            // 
            label22.AutoSize = true;
            label22.Location = new Point(632, 26);
            label22.Location = new Point(243, 45);
            label22.Name = "label22";
            label22.Size = new Size(19, 17);
            label22.TabIndex = 14;
            label22.Text = "%";
            // 
            // numericUpDown3
            // nudSoPrecisionRequired
            // 
            numericUpDown3.DecimalPlaces = 1;
            numericUpDown3.Location = new Point(559, 24);
            numericUpDown3.Name = "numericUpDown3";
            numericUpDown3.Size = new Size(67, 23);
            numericUpDown3.TabIndex = 13;
            nudSoPrecisionRequired.DecimalPlaces = 2;
            nudSoPrecisionRequired.Increment = new decimal(new int[] { 2, 0, 0, 0 });
            nudSoPrecisionRequired.Location = new Point(185, 43);
            nudSoPrecisionRequired.Name = "nudSoPrecisionRequired";
            nudSoPrecisionRequired.Size = new Size(54, 23);
            nudSoPrecisionRequired.TabIndex = 25;
            // 
            // label21
            // 
            label21.AutoSize = true;
            label21.Location = new Point(446, 26);
            label21.Location = new Point(28, 44);
            label21.Name = "label21";
            label21.Size = new Size(110, 17);
            label21.Size = new Size(134, 17);
            label21.TabIndex = 12;
            label21.Text = "Target Error Rate";
            label21.Text = "So precision required";
            // 
            // pnlLockPass
            // 
            pnlLockPass.Controls.Add(nudPass);
            pnlLockPass.Controls.Add(label23);
            pnlLockPass.Location = new Point(14, 83);
            pnlLockPass.Location = new Point(183, 186);
            pnlLockPass.Name = "pnlLockPass";
            pnlLockPass.Size = new Size(362, 52);
            pnlLockPass.TabIndex = 11;
@@ -407,7 +264,7 @@
            nudPass.Location = new Point(45, 16);
            nudPass.Name = "nudPass";
            nudPass.Size = new Size(72, 23);
            nudPass.TabIndex = 14;
            nudPass.TabIndex = 36;
            // 
            // label23
            // 
@@ -421,9 +278,9 @@
            // pnlLockSpeed
            // 
            pnlLockSpeed.Controls.Add(cmbSpeedUnit);
            pnlLockSpeed.Controls.Add(numericUpDown2);
            pnlLockSpeed.Controls.Add(nudSpeed);
            pnlLockSpeed.Controls.Add(label20);
            pnlLockSpeed.Location = new Point(13, 85);
            pnlLockSpeed.Location = new Point(185, 186);
            pnlLockSpeed.Name = "pnlLockSpeed";
            pnlLockSpeed.Size = new Size(362, 52);
            pnlLockSpeed.TabIndex = 10;
@@ -432,20 +289,21 @@
            // 
            cmbSpeedUnit.DropDownStyle = ComboBoxStyle.DropDownList;
            cmbSpeedUnit.FormattingEnabled = true;
            cmbSpeedUnit.Items.AddRange(new object[] { "m/min", "ft/min" });
            cmbSpeedUnit.Items.AddRange(new object[] { "ft/hr", "m/hr" });
            cmbSpeedUnit.Location = new Point(132, 16);
            cmbSpeedUnit.Name = "cmbSpeedUnit";
            cmbSpeedUnit.Size = new Size(50, 25);
            cmbSpeedUnit.TabIndex = 13;
            cmbSpeedUnit.Size = new Size(87, 25);
            cmbSpeedUnit.TabIndex = 35;
            // 
            // numericUpDown2
            // nudSpeed
            // 
            numericUpDown2.DecimalPlaces = 1;
            numericUpDown2.Increment = new decimal(new int[] { 1, 0, 0, 65536 });
            numericUpDown2.Location = new Point(54, 16);
            numericUpDown2.Name = "numericUpDown2";
            numericUpDown2.Size = new Size(72, 23);
            numericUpDown2.TabIndex = 12;
            nudSpeed.DecimalPlaces = 2;
            nudSpeed.Increment = new decimal(new int[] { 1, 0, 0, 65536 });
            nudSpeed.Location = new Point(54, 16);
            nudSpeed.Maximum = new decimal(new int[] { 9999999, 0, 0, 0 });
            nudSpeed.Name = "nudSpeed";
            nudSpeed.Size = new Size(72, 23);
            nudSpeed.TabIndex = 34;
            // 
            // label20
            // 
@@ -460,7 +318,7 @@
            // 
            panel1.Controls.Add(rdoLockSpeed);
            panel1.Controls.Add(rdoLockPass);
            panel1.Location = new Point(13, 51);
            panel1.Location = new Point(183, 152);
            panel1.Name = "panel1";
            panel1.Size = new Size(205, 28);
            panel1.TabIndex = 9;
@@ -472,7 +330,7 @@
            rdoLockSpeed.Location = new Point(3, 3);
            rdoLockSpeed.Name = "rdoLockSpeed";
            rdoLockSpeed.Size = new Size(94, 21);
            rdoLockSpeed.TabIndex = 7;
            rdoLockSpeed.TabIndex = 32;
            rdoLockSpeed.TabStop = true;
            rdoLockSpeed.Text = "Lock Speed";
            rdoLockSpeed.UseVisualStyleBackColor = true;
@@ -481,87 +339,79 @@
            // rdoLockPass
            // 
            rdoLockPass.AutoSize = true;
            rdoLockPass.Location = new Point(119, 3);
            rdoLockPass.Location = new Point(103, 4);
            rdoLockPass.Name = "rdoLockPass";
            rdoLockPass.Size = new Size(83, 21);
            rdoLockPass.TabIndex = 8;
            rdoLockPass.TabIndex = 33;
            rdoLockPass.Text = "Lock Pass";
            rdoLockPass.UseVisualStyleBackColor = true;
            rdoLockPass.CheckedChanged += rdoMode_CheckedChanged;
            // 
            // label19
            //
            label19.AutoSize = true;
            label19.Location = new Point(398, 26);
            label19.Name = "label19";
            label19.Size = new Size(19, 17);
            label19.TabIndex = 5;
            label19.Text = "%";
            //
            // label18
            //
            label18.AutoSize = true;
            label18.Location = new Point(199, 24);
            label18.Name = "label18";
            label18.Size = new Size(19, 17);
            label18.TabIndex = 4;
            label18.Text = "%";
            //
            // label17
            //
            label17.AutoSize = true;
            label17.Location = new Point(261, 26);
            label17.Name = "label17";
            label17.Size = new Size(55, 17);
            label17.TabIndex = 3;
            label17.Text = "Porosity";
            //
            // numericUpDown1
            //
            numericUpDown1.DecimalPlaces = 1;
            numericUpDown1.Increment = new decimal(new int[] { 5, 0, 0, 0 });
            numericUpDown1.Location = new Point(322, 24);
            numericUpDown1.Name = "numericUpDown1";
            numericUpDown1.Size = new Size(72, 23);
            numericUpDown1.TabIndex = 2;
            //
            // label15
            //
            label15.AutoSize = true;
            label15.Location = new Point(12, 24);
            label15.Name = "label15";
            label15.Size = new Size(105, 17);
            label15.TabIndex = 1;
            label15.Text = "Water saturation";
            //
            // nudSw
            //
            nudSw.DecimalPlaces = 1;
            nudSw.Increment = new decimal(new int[] { 1, 0, 0, 65536 });
            nudSw.Location = new Point(123, 22);
            nudSw.Name = "nudSw";
            nudSw.Size = new Size(72, 23);
            nudSw.TabIndex = 0;
            //
            // gbResult
            // 
            gbResult.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
            gbResult.Location = new Point(12, 385);
            gbResult.Controls.Add(txtAnalysisResult);
            gbResult.Controls.Add(tableLayoutPanel1);
            gbResult.Location = new Point(17, 364);
            gbResult.Name = "gbResult";
            gbResult.Size = new Size(760, 198);
            gbResult.Size = new Size(851, 210);
            gbResult.TabIndex = 3;
            gbResult.TabStop = false;
            gbResult.Text = "Result";
            // 
            // txtAnalysisResult
            //
            txtAnalysisResult.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Right;
            txtAnalysisResult.BackColor = SystemColors.Control;
            txtAnalysisResult.BorderStyle = BorderStyle.FixedSingle;
            txtAnalysisResult.Location = new Point(526, 22);
            txtAnalysisResult.Name = "txtAnalysisResult";
            txtAnalysisResult.ReadOnly = true;
            txtAnalysisResult.Size = new Size(324, 182);
            txtAnalysisResult.TabIndex = 3;
            txtAnalysisResult.Text = "";
            //
            // tableLayoutPanel1
            //
            tableLayoutPanel1.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
            tableLayoutPanel1.ColumnCount = 2;
            tableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 50F));
            tableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 50F));
            tableLayoutPanel1.Controls.Add(pnlCOPic, 0, 0);
            tableLayoutPanel1.Controls.Add(pnlErrorRatioPic, 1, 0);
            tableLayoutPanel1.Location = new Point(4, 22);
            tableLayoutPanel1.Name = "tableLayoutPanel1";
            tableLayoutPanel1.RowCount = 1;
            tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 50F));
            tableLayoutPanel1.Size = new Size(519, 182);
            tableLayoutPanel1.TabIndex = 2;
            //
            // pnlCOPic
            //
            pnlCOPic.Dock = DockStyle.Fill;
            pnlCOPic.Location = new Point(3, 3);
            pnlCOPic.Name = "pnlCOPic";
            pnlCOPic.Size = new Size(253, 176);
            pnlCOPic.TabIndex = 2;
            //
            // pnlErrorRatioPic
            //
            pnlErrorRatioPic.Dock = DockStyle.Fill;
            pnlErrorRatioPic.Location = new Point(262, 3);
            pnlErrorRatioPic.Name = "pnlErrorRatioPic";
            pnlErrorRatioPic.Size = new Size(254, 176);
            pnlErrorRatioPic.TabIndex = 3;
            //
            // btnReport
            // 
            btnReport.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
            btnReport.Location = new Point(697, 589);
            btnReport.Location = new Point(797, 580);
            btnReport.Name = "btnReport";
            btnReport.Size = new Size(75, 23);
            btnReport.TabIndex = 4;
            btnReport.TabIndex = 38;
            btnReport.Text = "Report";
            btnReport.UseVisualStyleBackColor = true;
            btnReport.Click += btnReport_Click;
            // 
            // label24
            // 
@@ -578,12 +428,13 @@
            txtDataPath.Location = new Point(98, 16);
            txtDataPath.Name = "txtDataPath";
            txtDataPath.ReadOnly = true;
            txtDataPath.Size = new Size(601, 23);
            txtDataPath.Size = new Size(705, 23);
            txtDataPath.TabIndex = 6;
            // 
            // btnSelectDataSource
            // 
            btnSelectDataSource.Location = new Point(705, 16);
            btnSelectDataSource.Anchor = AnchorStyles.Top | AnchorStyles.Right;
            btnSelectDataSource.Location = new Point(805, 16);
            btnSelectDataSource.Name = "btnSelectDataSource";
            btnSelectDataSource.Size = new Size(63, 23);
            btnSelectDataSource.TabIndex = 7;
@@ -591,38 +442,872 @@
            btnSelectDataSource.UseVisualStyleBackColor = true;
            btnSelectDataSource.Click += btnSelectDataSource_Click;
            // 
            // tabEditInfo
            //
            tabEditInfo.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
            tabEditInfo.Controls.Add(tpBorehole);
            tabEditInfo.Controls.Add(tpFormation);
            tabEditInfo.Controls.Add(tpPlan);
            tabEditInfo.Location = new Point(17, 45);
            tabEditInfo.Name = "tabEditInfo";
            tabEditInfo.SelectedIndex = 0;
            tabEditInfo.Size = new Size(855, 313);
            tabEditInfo.TabIndex = 0;
            //
            // tpBorehole
            //
            tpBorehole.Controls.Add(gpBoreholeFluid);
            tpBorehole.Controls.Add(gpBorehole);
            tpBorehole.Location = new Point(4, 26);
            tpBorehole.Name = "tpBorehole";
            tpBorehole.Padding = new Padding(3);
            tpBorehole.Size = new Size(847, 283);
            tpBorehole.TabIndex = 1;
            tpBorehole.Text = "Borehole";
            tpBorehole.UseVisualStyleBackColor = true;
            //
            // gpBoreholeFluid
            //
            gpBoreholeFluid.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
            gpBoreholeFluid.Controls.Add(nudTubeHoldUp);
            gpBoreholeFluid.Controls.Add(label9);
            gpBoreholeFluid.Controls.Add(label10);
            gpBoreholeFluid.Controls.Add(label47);
            gpBoreholeFluid.Controls.Add(nudScreenHoldUp);
            gpBoreholeFluid.Controls.Add(nudBHSalinity);
            gpBoreholeFluid.Controls.Add(label49);
            gpBoreholeFluid.Controls.Add(label51);
            gpBoreholeFluid.Controls.Add(nudCasingHoldUp);
            gpBoreholeFluid.Controls.Add(label50);
            gpBoreholeFluid.Controls.Add(label46);
            gpBoreholeFluid.Controls.Add(label39);
            gpBoreholeFluid.Controls.Add(label45);
            gpBoreholeFluid.Controls.Add(nudOilDensity);
            gpBoreholeFluid.Controls.Add(nudGasDensity);
            gpBoreholeFluid.Controls.Add(label48);
            gpBoreholeFluid.Controls.Add(cmbScreenHoldUp);
            gpBoreholeFluid.Controls.Add(label44);
            gpBoreholeFluid.Controls.Add(cmbTubeHoldUp);
            gpBoreholeFluid.Controls.Add(cmbCasingHoldUp);
            gpBoreholeFluid.Controls.Add(label38);
            gpBoreholeFluid.Location = new Point(6, 163);
            gpBoreholeFluid.Name = "gpBoreholeFluid";
            gpBoreholeFluid.Size = new Size(835, 119);
            gpBoreholeFluid.TabIndex = 1;
            gpBoreholeFluid.TabStop = false;
            gpBoreholeFluid.Text = "Borehole fluid";
            //
            // nudTubeHoldUp
            //
            nudTubeHoldUp.DecimalPlaces = 1;
            nudTubeHoldUp.Increment = new decimal(new int[] { 1, 0, 0, 65536 });
            nudTubeHoldUp.Location = new Point(449, 87);
            nudTubeHoldUp.Name = "nudTubeHoldUp";
            nudTubeHoldUp.Size = new Size(44, 23);
            nudTubeHoldUp.TabIndex = 18;
            //
            // label10
            //
            label10.AutoSize = true;
            label10.Location = new Point(63, 28);
            label10.Name = "label10";
            label10.Size = new Size(69, 17);
            label10.TabIndex = 13;
            label10.Text = "BH Salinity";
            //
            // label47
            //
            label47.AutoSize = true;
            label47.Location = new Point(499, 89);
            label47.Name = "label47";
            label47.Size = new Size(19, 17);
            label47.TabIndex = 25;
            label47.Text = "%";
            //
            // nudScreenHoldUp
            //
            nudScreenHoldUp.DecimalPlaces = 1;
            nudScreenHoldUp.Increment = new decimal(new int[] { 1, 0, 0, 65536 });
            nudScreenHoldUp.Location = new Point(449, 57);
            nudScreenHoldUp.Name = "nudScreenHoldUp";
            nudScreenHoldUp.Size = new Size(44, 23);
            nudScreenHoldUp.TabIndex = 16;
            //
            // nudBHSalinity
            //
            nudBHSalinity.DecimalPlaces = 1;
            nudBHSalinity.Increment = new decimal(new int[] { 5, 0, 0, 65536 });
            nudBHSalinity.Location = new Point(143, 26);
            nudBHSalinity.Maximum = new decimal(new int[] { 99999999, 0, 0, 0 });
            nudBHSalinity.Name = "nudBHSalinity";
            nudBHSalinity.Size = new Size(55, 23);
            nudBHSalinity.TabIndex = 10;
            //
            // label49
            //
            label49.AutoSize = true;
            label49.Location = new Point(204, 58);
            label49.Name = "label49";
            label49.Size = new Size(45, 17);
            label49.TabIndex = 15;
            label49.Text = "g/cm3";
            //
            // label51
            //
            label51.AutoSize = true;
            label51.Location = new Point(204, 89);
            label51.Name = "label51";
            label51.Size = new Size(45, 17);
            label51.TabIndex = 15;
            label51.Text = "g/cm3";
            //
            // nudCasingHoldUp
            //
            nudCasingHoldUp.DecimalPlaces = 1;
            nudCasingHoldUp.Increment = new decimal(new int[] { 1, 0, 0, 65536 });
            nudCasingHoldUp.Location = new Point(449, 26);
            nudCasingHoldUp.Name = "nudCasingHoldUp";
            nudCasingHoldUp.Size = new Size(44, 23);
            nudCasingHoldUp.TabIndex = 14;
            //
            // label50
            //
            label50.AutoSize = true;
            label50.Location = new Point(56, 89);
            label50.Name = "label50";
            label50.Size = new Size(76, 17);
            label50.TabIndex = 13;
            label50.Text = "Gas Density";
            //
            // label46
            //
            label46.AutoSize = true;
            label46.Location = new Point(290, 89);
            label46.Name = "label46";
            label46.Size = new Size(86, 17);
            label46.TabIndex = 24;
            label46.Text = "Tube hold up";
            //
            // label39
            //
            label39.AutoSize = true;
            label39.Location = new Point(499, 28);
            label39.Name = "label39";
            label39.Size = new Size(19, 17);
            label39.TabIndex = 25;
            label39.Text = "%";
            //
            // label45
            //
            label45.AutoSize = true;
            label45.Location = new Point(499, 59);
            label45.Name = "label45";
            label45.Size = new Size(19, 17);
            label45.TabIndex = 25;
            label45.Text = "%";
            //
            // nudOilDensity
            //
            nudOilDensity.DecimalPlaces = 2;
            nudOilDensity.Increment = new decimal(new int[] { 1, 0, 0, 131072 });
            nudOilDensity.Location = new Point(142, 56);
            nudOilDensity.Maximum = new decimal(new int[] { 99999999, 0, 0, 0 });
            nudOilDensity.Name = "nudOilDensity";
            nudOilDensity.Size = new Size(56, 23);
            nudOilDensity.TabIndex = 11;
            //
            // nudGasDensity
            //
            nudGasDensity.DecimalPlaces = 2;
            nudGasDensity.Increment = new decimal(new int[] { 1, 0, 0, 131072 });
            nudGasDensity.Location = new Point(142, 87);
            nudGasDensity.Maximum = new decimal(new int[] { 9999999, 0, 0, 0 });
            nudGasDensity.Name = "nudGasDensity";
            nudGasDensity.Size = new Size(56, 23);
            nudGasDensity.TabIndex = 12;
            //
            // label48
            //
            label48.AutoSize = true;
            label48.Location = new Point(62, 58);
            label48.Name = "label48";
            label48.Size = new Size(70, 17);
            label48.TabIndex = 13;
            label48.Text = "Oil Density";
            //
            // cmbScreenHoldUp
            //
            cmbScreenHoldUp.DropDownStyle = ComboBoxStyle.DropDownList;
            cmbScreenHoldUp.FormattingEnabled = true;
            cmbScreenHoldUp.Items.AddRange(new object[] { "oil", "gas" });
            cmbScreenHoldUp.Location = new Point(384, 56);
            cmbScreenHoldUp.Name = "cmbScreenHoldUp";
            cmbScreenHoldUp.Size = new Size(59, 25);
            cmbScreenHoldUp.TabIndex = 15;
            cmbScreenHoldUp.Tag = "ScreenFluid";
            cmbScreenHoldUp.SelectedIndexChanged += holdUp_cmb_SelectedIndexChanged;
            //
            // label44
            //
            label44.AutoSize = true;
            label44.Location = new Point(281, 58);
            label44.Name = "label44";
            label44.Size = new Size(96, 17);
            label44.TabIndex = 24;
            label44.Text = "Screen hold up";
            //
            // cmbTubeHoldUp
            //
            cmbTubeHoldUp.DropDownStyle = ComboBoxStyle.DropDownList;
            cmbTubeHoldUp.FormattingEnabled = true;
            cmbTubeHoldUp.Items.AddRange(new object[] { "oil", "gas" });
            cmbTubeHoldUp.Location = new Point(384, 85);
            cmbTubeHoldUp.Name = "cmbTubeHoldUp";
            cmbTubeHoldUp.Size = new Size(59, 25);
            cmbTubeHoldUp.TabIndex = 17;
            cmbTubeHoldUp.Tag = "TubeFluid";
            cmbTubeHoldUp.SelectedIndexChanged += holdUp_cmb_SelectedIndexChanged;
            //
            // cmbCasingHoldUp
            //
            cmbCasingHoldUp.DropDownStyle = ComboBoxStyle.DropDownList;
            cmbCasingHoldUp.FormattingEnabled = true;
            cmbCasingHoldUp.Items.AddRange(new object[] { "oil", "gas" });
            cmbCasingHoldUp.Location = new Point(385, 25);
            cmbCasingHoldUp.Name = "cmbCasingHoldUp";
            cmbCasingHoldUp.Size = new Size(58, 25);
            cmbCasingHoldUp.TabIndex = 13;
            cmbCasingHoldUp.Tag = "CasingFluid";
            cmbCasingHoldUp.SelectedIndexChanged += holdUp_cmb_SelectedIndexChanged;
            //
            // label38
            //
            label38.AutoSize = true;
            label38.Location = new Point(281, 28);
            label38.Name = "label38";
            label38.Size = new Size(96, 17);
            label38.TabIndex = 24;
            label38.Text = "Casing hold up";
            //
            // gpBorehole
            //
            gpBorehole.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
            gpBorehole.Controls.Add(label1);
            gpBorehole.Controls.Add(cmbBit);
            gpBorehole.Controls.Add(label29);
            gpBorehole.Controls.Add(cmbCasingOD);
            gpBorehole.Controls.Add(label27);
            gpBorehole.Controls.Add(cmbScreenOD);
            gpBorehole.Controls.Add(cmbScreenID);
            gpBorehole.Controls.Add(label28);
            gpBorehole.Controls.Add(label26);
            gpBorehole.Controls.Add(label2);
            gpBorehole.Controls.Add(label4);
            gpBorehole.Controls.Add(label3);
            gpBorehole.Controls.Add(nudGravelFIllPercent);
            gpBorehole.Controls.Add(cmbTubeID);
            gpBorehole.Controls.Add(label32);
            gpBorehole.Controls.Add(label31);
            gpBorehole.Controls.Add(cmbCasingID);
            gpBorehole.Controls.Add(label33);
            gpBorehole.Controls.Add(label37);
            gpBorehole.Controls.Add(label30);
            gpBorehole.Controls.Add(nudCementBond);
            gpBorehole.Controls.Add(cmbTubeOD);
            gpBorehole.Controls.Add(label25);
            gpBorehole.Controls.Add(label34);
            gpBorehole.Controls.Add(label6);
            gpBorehole.Controls.Add(label36);
            gpBorehole.Controls.Add(label35);
            gpBorehole.Location = new Point(6, 6);
            gpBorehole.Name = "gpBorehole";
            gpBorehole.Size = new Size(835, 154);
            gpBorehole.TabIndex = 0;
            gpBorehole.TabStop = false;
            gpBorehole.Text = "Borehole";
            //
            // cmbBit
            //
            cmbBit.DropDownStyle = ComboBoxStyle.DropDownList;
            cmbBit.FormattingEnabled = true;
            cmbBit.Location = new Point(143, 16);
            cmbBit.Name = "cmbBit";
            cmbBit.Size = new Size(55, 25);
            cmbBit.TabIndex = 1;
            cmbBit.Tag = "BIT";
            cmbBit.SelectedIndexChanged += borehole_cmb_SelectedIndexChanged;
            //
            // label29
            //
            label29.AutoSize = true;
            label29.Location = new Point(313, 76);
            label29.Name = "label29";
            label29.Size = new Size(64, 17);
            label29.TabIndex = 4;
            label29.Text = "Screen ID";
            //
            // cmbCasingOD
            //
            cmbCasingOD.DropDownStyle = ComboBoxStyle.DropDownList;
            cmbCasingOD.FormattingEnabled = true;
            cmbCasingOD.Location = new Point(143, 43);
            cmbCasingOD.Name = "cmbCasingOD";
            cmbCasingOD.Size = new Size(55, 25);
            cmbCasingOD.TabIndex = 2;
            cmbCasingOD.Tag = "CasingOD";
            cmbCasingOD.SelectedIndexChanged += borehole_cmb_SelectedIndexChanged;
            //
            // label27
            //
            label27.AutoSize = true;
            label27.Location = new Point(62, 73);
            label27.Name = "label27";
            label27.Size = new Size(70, 17);
            label27.TabIndex = 4;
            label27.Text = "Screen OD";
            //
            // cmbScreenOD
            //
            cmbScreenOD.DropDownStyle = ComboBoxStyle.DropDownList;
            cmbScreenOD.FormattingEnabled = true;
            cmbScreenOD.Location = new Point(143, 70);
            cmbScreenOD.Name = "cmbScreenOD";
            cmbScreenOD.Size = new Size(55, 25);
            cmbScreenOD.TabIndex = 4;
            cmbScreenOD.Tag = "ScreenOD";
            cmbScreenOD.SelectedIndexChanged += borehole_cmb_SelectedIndexChanged;
            //
            // cmbScreenID
            //
            cmbScreenID.DropDownStyle = ComboBoxStyle.DropDownList;
            cmbScreenID.FormattingEnabled = true;
            cmbScreenID.Location = new Point(388, 72);
            cmbScreenID.Name = "cmbScreenID";
            cmbScreenID.Size = new Size(55, 25);
            cmbScreenID.TabIndex = 5;
            cmbScreenID.Tag = "ScreenID";
            cmbScreenID.SelectedIndexChanged += borehole_cmb_SelectedIndexChanged;
            //
            // label28
            //
            label28.AutoSize = true;
            label28.Location = new Point(449, 76);
            label28.Name = "label28";
            label28.Size = new Size(18, 17);
            label28.TabIndex = 6;
            label28.Text = "in";
            //
            // label26
            //
            label26.AutoSize = true;
            label26.Location = new Point(204, 73);
            label26.Name = "label26";
            label26.Size = new Size(18, 17);
            label26.TabIndex = 6;
            label26.Text = "in";
            //
            // nudGravelFIllPercent
            //
            nudGravelFIllPercent.Location = new Point(143, 124);
            nudGravelFIllPercent.Name = "nudGravelFIllPercent";
            nudGravelFIllPercent.Size = new Size(55, 23);
            nudGravelFIllPercent.TabIndex = 8;
            //
            // cmbTubeID
            //
            cmbTubeID.DropDownStyle = ComboBoxStyle.DropDownList;
            cmbTubeID.FormattingEnabled = true;
            cmbTubeID.Location = new Point(388, 98);
            cmbTubeID.Name = "cmbTubeID";
            cmbTubeID.Size = new Size(55, 25);
            cmbTubeID.TabIndex = 7;
            cmbTubeID.Tag = "TubeID";
            cmbTubeID.SelectedIndexChanged += borehole_cmb_SelectedIndexChanged;
            //
            // label32
            //
            label32.AutoSize = true;
            label32.Location = new Point(204, 100);
            label32.Name = "label32";
            label32.Size = new Size(18, 17);
            label32.TabIndex = 6;
            label32.Text = "in";
            //
            // label31
            //
            label31.AutoSize = true;
            label31.Location = new Point(323, 102);
            label31.Name = "label31";
            label31.Size = new Size(54, 17);
            label31.TabIndex = 4;
            label31.Text = "Tube ID";
            //
            // cmbCasingID
            //
            cmbCasingID.DropDownStyle = ComboBoxStyle.DropDownList;
            cmbCasingID.FormattingEnabled = true;
            cmbCasingID.Location = new Point(388, 46);
            cmbCasingID.Name = "cmbCasingID";
            cmbCasingID.Size = new Size(55, 25);
            cmbCasingID.TabIndex = 3;
            cmbCasingID.Tag = "CasingID";
            cmbCasingID.SelectedIndexChanged += borehole_cmb_SelectedIndexChanged;
            //
            // label33
            //
            label33.AutoSize = true;
            label33.Location = new Point(72, 100);
            label33.Name = "label33";
            label33.Size = new Size(60, 17);
            label33.TabIndex = 4;
            label33.Text = "Tube OD";
            //
            // label37
            //
            label37.AutoSize = true;
            label37.Location = new Point(204, 127);
            label37.Name = "label37";
            label37.Size = new Size(19, 17);
            label37.TabIndex = 25;
            label37.Text = "%";
            //
            // label30
            //
            label30.AutoSize = true;
            label30.Location = new Point(449, 102);
            label30.Name = "label30";
            label30.Size = new Size(18, 17);
            label30.TabIndex = 6;
            label30.Text = "in";
            //
            // nudCementBond
            //
            nudCementBond.Location = new Point(388, 124);
            nudCementBond.Name = "nudCementBond";
            nudCementBond.Size = new Size(55, 23);
            nudCementBond.TabIndex = 9;
            nudCementBond.Value = new decimal(new int[] { 100, 0, 0, 0 });
            //
            // cmbTubeOD
            //
            cmbTubeOD.DropDownStyle = ComboBoxStyle.DropDownList;
            cmbTubeOD.FormattingEnabled = true;
            cmbTubeOD.Location = new Point(143, 97);
            cmbTubeOD.Name = "cmbTubeOD";
            cmbTubeOD.Size = new Size(55, 25);
            cmbTubeOD.TabIndex = 6;
            cmbTubeOD.Tag = "TubeOD";
            cmbTubeOD.SelectedIndexChanged += borehole_cmb_SelectedIndexChanged;
            //
            // label25
            //
            label25.AutoSize = true;
            label25.Location = new Point(313, 50);
            label25.Name = "label25";
            label25.Size = new Size(64, 17);
            label25.TabIndex = 4;
            label25.Text = "Casing ID";
            //
            // label34
            //
            label34.AutoSize = true;
            label34.Location = new Point(449, 128);
            label34.Name = "label34";
            label34.Size = new Size(19, 17);
            label34.TabIndex = 25;
            label34.Text = "%";
            //
            // label6
            //
            label6.AutoSize = true;
            label6.Location = new Point(449, 50);
            label6.Name = "label6";
            label6.Size = new Size(18, 17);
            label6.TabIndex = 6;
            label6.Text = "in";
            //
            // label36
            //
            label36.AutoSize = true;
            label36.Location = new Point(68, 127);
            label36.Name = "label36";
            label36.Size = new Size(64, 17);
            label36.TabIndex = 24;
            label36.Text = "Gravel Fill";
            //
            // label35
            //
            label35.AutoSize = true;
            label35.Location = new Point(290, 128);
            label35.Name = "label35";
            label35.Size = new Size(87, 17);
            label35.TabIndex = 24;
            label35.Text = "Cement Bond";
            //
            // tpFormation
            //
            tpFormation.Controls.Add(nudReservoirSalinity);
            tpFormation.Controls.Add(label40);
            tpFormation.Controls.Add(label41);
            tpFormation.Controls.Add(label43);
            tpFormation.Controls.Add(label15);
            tpFormation.Controls.Add(nudVSH);
            tpFormation.Controls.Add(label42);
            tpFormation.Controls.Add(nudSw);
            tpFormation.Controls.Add(label18);
            tpFormation.Controls.Add(nudPorosity);
            tpFormation.Controls.Add(label17);
            tpFormation.Controls.Add(label19);
            tpFormation.Controls.Add(cmbLithology);
            tpFormation.Controls.Add(label16);
            tpFormation.Location = new Point(4, 26);
            tpFormation.Name = "tpFormation";
            tpFormation.Size = new Size(847, 283);
            tpFormation.TabIndex = 2;
            tpFormation.Text = "Formation";
            tpFormation.UseVisualStyleBackColor = true;
            //
            // nudReservoirSalinity
            //
            nudReservoirSalinity.DecimalPlaces = 1;
            nudReservoirSalinity.Increment = new decimal(new int[] { 5, 0, 0, 65536 });
            nudReservoirSalinity.Location = new Point(146, 118);
            nudReservoirSalinity.Maximum = new decimal(new int[] { 99999999, 0, 0, 0 });
            nudReservoirSalinity.Name = "nudReservoirSalinity";
            nudReservoirSalinity.Size = new Size(71, 23);
            nudReservoirSalinity.TabIndex = 22;
            //
            // label40
            //
            label40.AutoSize = true;
            label40.Location = new Point(222, 120);
            label40.Name = "label40";
            label40.Size = new Size(42, 17);
            label40.TabIndex = 33;
            label40.Text = "kppm";
            //
            // label41
            //
            label41.AutoSize = true;
            label41.Location = new Point(33, 121);
            label41.Name = "label41";
            label41.Size = new Size(107, 17);
            label41.TabIndex = 32;
            label41.Text = "Reservior Salinity";
            //
            // label43
            //
            label43.AutoSize = true;
            label43.Location = new Point(108, 151);
            label43.Name = "label43";
            label43.Size = new Size(32, 17);
            label43.TabIndex = 30;
            label43.Text = "VSH";
            //
            // label15
            //
            label15.AutoSize = true;
            label15.Location = new Point(35, 91);
            label15.Name = "label15";
            label15.Size = new Size(105, 17);
            label15.TabIndex = 30;
            label15.Text = "Water saturation";
            //
            // nudVSH
            //
            nudVSH.DecimalPlaces = 1;
            nudVSH.Increment = new decimal(new int[] { 1, 0, 0, 65536 });
            nudVSH.Location = new Point(145, 148);
            nudVSH.Name = "nudVSH";
            nudVSH.Size = new Size(72, 23);
            nudVSH.TabIndex = 23;
            //
            // label42
            //
            label42.AutoSize = true;
            label42.Location = new Point(223, 150);
            label42.Name = "label42";
            label42.Size = new Size(19, 17);
            label42.TabIndex = 31;
            label42.Text = "%";
            //
            // nudSw
            //
            nudSw.DecimalPlaces = 1;
            nudSw.Increment = new decimal(new int[] { 1, 0, 0, 65536 });
            nudSw.Location = new Point(146, 88);
            nudSw.Name = "nudSw";
            nudSw.Size = new Size(72, 23);
            nudSw.TabIndex = 21;
            //
            // label18
            //
            label18.AutoSize = true;
            label18.Location = new Point(222, 90);
            label18.Name = "label18";
            label18.Size = new Size(19, 17);
            label18.TabIndex = 31;
            label18.Text = "%";
            //
            // nudPorosity
            //
            nudPorosity.DecimalPlaces = 1;
            nudPorosity.Increment = new decimal(new int[] { 5, 0, 0, 0 });
            nudPorosity.Location = new Point(146, 58);
            nudPorosity.Name = "nudPorosity";
            nudPorosity.Size = new Size(72, 23);
            nudPorosity.TabIndex = 20;
            //
            // label17
            //
            label17.AutoSize = true;
            label17.Location = new Point(85, 61);
            label17.Name = "label17";
            label17.Size = new Size(55, 17);
            label17.TabIndex = 27;
            label17.Text = "Porosity";
            //
            // label19
            //
            label19.AutoSize = true;
            label19.Location = new Point(222, 59);
            label19.Name = "label19";
            label19.Size = new Size(19, 17);
            label19.TabIndex = 28;
            label19.Text = "%";
            //
            // cmbLithology
            //
            cmbLithology.DropDownStyle = ComboBoxStyle.DropDownList;
            cmbLithology.FormattingEnabled = true;
            cmbLithology.Items.AddRange(new object[] { "sandstone" });
            cmbLithology.Location = new Point(146, 26);
            cmbLithology.Name = "cmbLithology";
            cmbLithology.Size = new Size(119, 25);
            cmbLithology.TabIndex = 19;
            cmbLithology.Tag = "Lithology";
            cmbLithology.SelectedIndexChanged += cmbLithology_SelectedIndexChanged;
            //
            // label16
            //
            label16.AutoSize = true;
            label16.Location = new Point(79, 31);
            label16.Name = "label16";
            label16.Size = new Size(61, 17);
            label16.TabIndex = 24;
            label16.Text = "Lithology";
            //
            // tpPlan
            //
            tpPlan.Controls.Add(label7);
            tpPlan.Controls.Add(cmbTargetLoggingIntervalUnit);
            tpPlan.Controls.Add(label5);
            tpPlan.Controls.Add(chkAlphaProcessing);
            tpPlan.Controls.Add(label22);
            tpPlan.Controls.Add(nudYieldCounting);
            tpPlan.Controls.Add(nudAlphaProcessingWin);
            tpPlan.Controls.Add(pnlLockPass);
            tpPlan.Controls.Add(nudDepth);
            tpPlan.Controls.Add(nudTargetLoggingInterval);
            tpPlan.Controls.Add(nudSoPrecisionRequired);
            tpPlan.Controls.Add(label54);
            tpPlan.Controls.Add(txtToolType);
            tpPlan.Controls.Add(label53);
            tpPlan.Controls.Add(label52);
            tpPlan.Controls.Add(label21);
            tpPlan.Controls.Add(pnlLockSpeed);
            tpPlan.Controls.Add(panel1);
            tpPlan.Location = new Point(4, 26);
            tpPlan.Name = "tpPlan";
            tpPlan.Size = new Size(847, 283);
            tpPlan.TabIndex = 3;
            tpPlan.Text = "Plan";
            tpPlan.UseVisualStyleBackColor = true;
            //
            // label7
            //
            label7.AutoSize = true;
            label7.Location = new Point(457, 102);
            label7.Name = "label7";
            label7.Size = new Size(90, 17);
            label7.TabIndex = 17;
            label7.Text = "Yield counting";
            //
            // cmbTargetLoggingIntervalUnit
            //
            cmbTargetLoggingIntervalUnit.DropDownStyle = ComboBoxStyle.DropDownList;
            cmbTargetLoggingIntervalUnit.FormattingEnabled = true;
            cmbTargetLoggingIntervalUnit.Items.AddRange(new object[] { "ft", "m" });
            cmbTargetLoggingIntervalUnit.Location = new Point(243, 98);
            cmbTargetLoggingIntervalUnit.Name = "cmbTargetLoggingIntervalUnit";
            cmbTargetLoggingIntervalUnit.Size = new Size(46, 25);
            cmbTargetLoggingIntervalUnit.TabIndex = 28;
            //
            // label5
            //
            label5.AutoSize = true;
            label5.Location = new Point(21, 102);
            label5.Name = "label5";
            label5.Size = new Size(141, 17);
            label5.TabIndex = 16;
            label5.Text = "Target logging interval";
            //
            // chkAlphaProcessing
            //
            chkAlphaProcessing.AutoSize = true;
            chkAlphaProcessing.Location = new Point(419, 43);
            chkAlphaProcessing.Name = "chkAlphaProcessing";
            chkAlphaProcessing.Size = new Size(128, 21);
            chkAlphaProcessing.TabIndex = 29;
            chkAlphaProcessing.Text = "Alpha processing";
            chkAlphaProcessing.UseVisualStyleBackColor = true;
            //
            // nudYieldCounting
            //
            nudYieldCounting.DecimalPlaces = 2;
            nudYieldCounting.Increment = new decimal(new int[] { 100, 0, 0, 0 });
            nudYieldCounting.Location = new Point(565, 100);
            nudYieldCounting.Maximum = new decimal(new int[] { 99999999, 0, 0, 0 });
            nudYieldCounting.Name = "nudYieldCounting";
            nudYieldCounting.Size = new Size(82, 23);
            nudYieldCounting.TabIndex = 31;
            //
            // nudAlphaProcessingWin
            //
            nudAlphaProcessingWin.Location = new Point(565, 70);
            nudAlphaProcessingWin.Maximum = new decimal(new int[] { 99999999, 0, 0, 0 });
            nudAlphaProcessingWin.Name = "nudAlphaProcessingWin";
            nudAlphaProcessingWin.Size = new Size(47, 23);
            nudAlphaProcessingWin.TabIndex = 30;
            //
            // nudDepth
            //
            nudDepth.Location = new Point(185, 70);
            nudDepth.Maximum = new decimal(new int[] { 99999999, 0, 0, 0 });
            nudDepth.Name = "nudDepth";
            nudDepth.Size = new Size(54, 23);
            nudDepth.TabIndex = 26;
            //
            // nudTargetLoggingInterval
            //
            nudTargetLoggingInterval.DecimalPlaces = 2;
            nudTargetLoggingInterval.Location = new Point(185, 99);
            nudTargetLoggingInterval.Maximum = new decimal(new int[] { 99999999, 0, 0, 0 });
            nudTargetLoggingInterval.Name = "nudTargetLoggingInterval";
            nudTargetLoggingInterval.Size = new Size(54, 23);
            nudTargetLoggingInterval.TabIndex = 27;
            //
            // label54
            //
            label54.AutoSize = true;
            label54.Location = new Point(389, 72);
            label54.Name = "label54";
            label54.Size = new Size(158, 17);
            label54.TabIndex = 12;
            label54.Text = "Alpha-processing window";
            //
            // txtToolType
            //
            txtToolType.Location = new Point(185, 15);
            txtToolType.Name = "txtToolType";
            txtToolType.ReadOnly = true;
            txtToolType.Size = new Size(88, 23);
            txtToolType.TabIndex = 24;
            //
            // label53
            //
            label53.AutoSize = true;
            label53.Location = new Point(57, 73);
            label53.Name = "label53";
            label53.Size = new Size(105, 17);
            label53.TabIndex = 12;
            label53.Text = "Depth averaging";
            //
            // label52
            //
            label52.AutoSize = true;
            label52.Location = new Point(96, 15);
            label52.Name = "label52";
            label52.Size = new Size(66, 17);
            label52.TabIndex = 5;
            label52.Text = "Tool Type";
            //
            // pbLoadDB
            //
            pbLoadDB.Anchor = AnchorStyles.Top | AnchorStyles.Right;
            pbLoadDB.Location = new Point(792, 44);
            pbLoadDB.Name = "pbLoadDB";
            pbLoadDB.Size = new Size(75, 23);
            pbLoadDB.TabIndex = 8;
            pbLoadDB.Visible = false;
            //
            // chkProcessing
            //
            chkProcessing.AutoSize = true;
            chkProcessing.CheckAlign = ContentAlignment.MiddleRight;
            chkProcessing.Location = new Point(581, 582);
            chkProcessing.Name = "chkProcessing";
            chkProcessing.Size = new Size(129, 21);
            chkProcessing.TabIndex = 39;
            chkProcessing.Text = "Check Processing";
            chkProcessing.UseVisualStyleBackColor = true;
            //
            // FrmMain
            // 
            AutoScaleDimensions = new SizeF(7F, 17F);
            AutoScaleMode = AutoScaleMode.Font;
            ClientSize = new Size(784, 620);
            ClientSize = new Size(884, 611);
            Controls.Add(chkProcessing);
            Controls.Add(pbLoadDB);
            Controls.Add(tabEditInfo);
            Controls.Add(btnSelectDataSource);
            Controls.Add(txtDataPath);
            Controls.Add(label24);
            Controls.Add(btnReport);
            Controls.Add(gbResult);
            Controls.Add(gbTarget);
            Controls.Add(gpBore);
            Controls.Add(btnAnalysis);
            Icon = (Icon)resources.GetObject("$this.Icon");
            Name = "FrmMain";
            StartPosition = FormStartPosition.CenterScreen;
            Text = "Job Planner";
            Load += FrmMain_Load;
            gpBore.ResumeLayout(false);
            gpBore.PerformLayout();
            gbTarget.ResumeLayout(false);
            gbTarget.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)numericUpDown3).EndInit();
            ((System.ComponentModel.ISupportInitialize)nudSoPrecisionRequired).EndInit();
            pnlLockPass.ResumeLayout(false);
            pnlLockPass.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)nudPass).EndInit();
            pnlLockSpeed.ResumeLayout(false);
            pnlLockSpeed.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)numericUpDown2).EndInit();
            ((System.ComponentModel.ISupportInitialize)nudSpeed).EndInit();
            panel1.ResumeLayout(false);
            panel1.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)numericUpDown1).EndInit();
            gbResult.ResumeLayout(false);
            tableLayoutPanel1.ResumeLayout(false);
            tabEditInfo.ResumeLayout(false);
            tpBorehole.ResumeLayout(false);
            gpBoreholeFluid.ResumeLayout(false);
            gpBoreholeFluid.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)nudTubeHoldUp).EndInit();
            ((System.ComponentModel.ISupportInitialize)nudScreenHoldUp).EndInit();
            ((System.ComponentModel.ISupportInitialize)nudBHSalinity).EndInit();
            ((System.ComponentModel.ISupportInitialize)nudCasingHoldUp).EndInit();
            ((System.ComponentModel.ISupportInitialize)nudOilDensity).EndInit();
            ((System.ComponentModel.ISupportInitialize)nudGasDensity).EndInit();
            gpBorehole.ResumeLayout(false);
            gpBorehole.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)nudGravelFIllPercent).EndInit();
            ((System.ComponentModel.ISupportInitialize)nudCementBond).EndInit();
            tpFormation.ResumeLayout(false);
            tpFormation.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)nudReservoirSalinity).EndInit();
            ((System.ComponentModel.ISupportInitialize)nudVSH).EndInit();
            ((System.ComponentModel.ISupportInitialize)nudSw).EndInit();
            ((System.ComponentModel.ISupportInitialize)nudPorosity).EndInit();
            tpPlan.ResumeLayout(false);
            tpPlan.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)nudYieldCounting).EndInit();
            ((System.ComponentModel.ISupportInitialize)nudAlphaProcessingWin).EndInit();
            ((System.ComponentModel.ISupportInitialize)nudDepth).EndInit();
            ((System.ComponentModel.ISupportInitialize)nudTargetLoggingInterval).EndInit();
            ResumeLayout(false);
            PerformLayout();
        }
@@ -630,40 +1315,13 @@
        #endregion
        private Button btnAnalysis;
        private GroupBox gpBore;
        private GroupBox gbTarget;
        private GroupBox gbResult;
        private Button btnReport;
        private Button btnSelectBore;
        private Label label1;
        private Label label5;
        private TextBox textBox3;
        private Label label6;
        private Label label3;
        private TextBox textBox2;
        private Label label4;
        private Label label2;
        private TextBox textBox1;
        private Label label7;
        private TextBox textBox4;
        private Label label8;
        private Label label11;
        private TextBox textBox6;
        private Label label12;
        private Label label9;
        private TextBox textBox5;
        private Label label10;
        private TextBox textBox8;
        private Label label16;
        private Label label13;
        private TextBox textBox7;
        private Label label14;
        private NumericUpDown nudSw;
        private Label label15;
        private Label label17;
        private NumericUpDown numericUpDown1;
        private Label label19;
        private Label label18;
        private Panel panel1;
        private RadioButton rdoLockSpeed;
        private RadioButton rdoLockPass;
@@ -671,14 +1329,95 @@
        private Panel pnlLockPass;
        private Label label20;
        private ComboBox cmbSpeedUnit;
        private NumericUpDown numericUpDown2;
        private NumericUpDown nudSpeed;
        private Label label22;
        private NumericUpDown numericUpDown3;
        private NumericUpDown nudSoPrecisionRequired;
        private Label label21;
        private NumericUpDown nudPass;
        private Label label23;
        private Label label24;
        private TextBox txtDataPath;
        private Button btnSelectDataSource;
        private TabControl tabEditInfo;
        private TabPage tpBorehole;
        private TabPage tpFormation;
        private TabPage tpPlan;
        private ComboBox cmbBit;
        private ComboBox cmbScreenOD;
        private ComboBox cmbCasingID;
        private ComboBox cmbCasingOD;
        private Label label27;
        private Label label25;
        private Label label26;
        private Label label6;
        private NumericUpDown nudBHSalinity;
        private ComboBox cmbTubeOD;
        private ComboBox cmbTubeID;
        private ComboBox cmbScreenID;
        private Label label33;
        private Label label31;
        private Label label29;
        private Label label32;
        private Label label30;
        private Label label10;
        private Label label28;
        private NumericUpDown nudGravelFIllPercent;
        private Label label37;
        private NumericUpDown nudCementBond;
        private Label label36;
        private Label label34;
        private Label label35;
        private NumericUpDown nudCasingHoldUp;
        private Label label39;
        private Label label38;
        private ComboBox cmbCasingHoldUp;
        private NumericUpDown nudReservoirSalinity;
        private Label label40;
        private Label label41;
        private Label label43;
        private Label label15;
        private NumericUpDown nudVSH;
        private Label label42;
        private NumericUpDown nudSw;
        private Label label18;
        private NumericUpDown nudPorosity;
        private Label label17;
        private Label label19;
        private ComboBox cmbLithology;
        private Label label16;
        private NumericUpDown nudTubeHoldUp;
        private NumericUpDown nudScreenHoldUp;
        private Label label47;
        private Label label45;
        private Label label46;
        private Label label44;
        private ComboBox cmbTubeHoldUp;
        private ComboBox cmbScreenHoldUp;
        private NumericUpDown nudOilDensity;
        private Label label49;
        private Label label48;
        private NumericUpDown nudGasDensity;
        private Label label51;
        private Label label50;
        private TextBox txtToolType;
        private Label label52;
        private NumericUpDown nudDepth;
        private Label label53;
        private CheckBox chkAlphaProcessing;
        private NumericUpDown nudAlphaProcessingWin;
        private Label label54;
        private GroupBox gpBorehole;
        private GroupBox gpBoreholeFluid;
        private Label label5;
        private ComboBox cmbTargetLoggingIntervalUnit;
        private NumericUpDown nudTargetLoggingInterval;
        private Panel pnlErrorRatioPic;
        private Panel pnlCOPic;
        private TableLayoutPanel tableLayoutPanel1;
        private ProgressBar pbLoadDB;
        private RichTextBox txtAnalysisResult;
        private Label label7;
        private NumericUpDown nudYieldCounting;
        private CheckBox chkProcessing;
    }
}