diff --git a/ShuntCalculator/Form1.Designer.cs b/ShuntCalculator/Form1.Designer.cs
index f833170..79fe1e0 100644
--- a/ShuntCalculator/Form1.Designer.cs
+++ b/ShuntCalculator/Form1.Designer.cs
@@ -32,6 +32,9 @@
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
this.maskedTextBox1 = new System.Windows.Forms.MaskedTextBox();
this.groupBox1 = new System.Windows.Forms.GroupBox();
+ this.maskedTextBox2 = new System.Windows.Forms.MaskedTextBox();
+ this.label14 = new System.Windows.Forms.Label();
+ this.label8 = new System.Windows.Forms.Label();
this.radioButton3 = new System.Windows.Forms.RadioButton();
this.radioButton2 = new System.Windows.Forms.RadioButton();
this.radioButton1 = new System.Windows.Forms.RadioButton();
@@ -51,10 +54,9 @@
this.label11 = new System.Windows.Forms.Label();
this.label9 = new System.Windows.Forms.Label();
this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
+ this.label13 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.label6 = new System.Windows.Forms.Label();
- this.label8 = new System.Windows.Forms.Label();
- this.label13 = new System.Windows.Forms.Label();
this.groupBox1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.trackbar1)).BeginInit();
this.groupBox2.SuspendLayout();
@@ -62,11 +64,11 @@
//
// maskedTextBox1
//
- this.maskedTextBox1.Location = new System.Drawing.Point(12, 77);
- this.maskedTextBox1.Margin = new System.Windows.Forms.Padding(4);
+ this.maskedTextBox1.Location = new System.Drawing.Point(6, 40);
+ this.maskedTextBox1.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.maskedTextBox1.Mask = "000";
this.maskedTextBox1.Name = "maskedTextBox1";
- this.maskedTextBox1.Size = new System.Drawing.Size(228, 31);
+ this.maskedTextBox1.Size = new System.Drawing.Size(116, 20);
this.maskedTextBox1.TabIndex = 0;
this.maskedTextBox1.Text = "350";
this.toolTip1.SetToolTip(this.maskedTextBox1, "Enter your cards default power limit");
@@ -74,6 +76,8 @@
//
// groupBox1
//
+ this.groupBox1.Controls.Add(this.maskedTextBox2);
+ this.groupBox1.Controls.Add(this.label14);
this.groupBox1.Controls.Add(this.label8);
this.groupBox1.Controls.Add(this.radioButton3);
this.groupBox1.Controls.Add(this.radioButton2);
@@ -90,22 +94,56 @@
this.groupBox1.Controls.Add(this.label3);
this.groupBox1.Controls.Add(this.label1);
this.groupBox1.Controls.Add(this.maskedTextBox1);
- this.groupBox1.Location = new System.Drawing.Point(12, 12);
- this.groupBox1.Margin = new System.Windows.Forms.Padding(4);
+ this.groupBox1.Location = new System.Drawing.Point(6, 6);
+ this.groupBox1.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.groupBox1.Name = "groupBox1";
- this.groupBox1.Padding = new System.Windows.Forms.Padding(4);
- this.groupBox1.Size = new System.Drawing.Size(712, 425);
+ this.groupBox1.Padding = new System.Windows.Forms.Padding(2, 2, 2, 2);
+ this.groupBox1.Size = new System.Drawing.Size(356, 256);
this.groupBox1.TabIndex = 1;
this.groupBox1.TabStop = false;
this.groupBox1.Text = "Calculator";
//
+ // maskedTextBox2
+ //
+ this.maskedTextBox2.Location = new System.Drawing.Point(8, 167);
+ this.maskedTextBox2.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
+ this.maskedTextBox2.Mask = "000";
+ this.maskedTextBox2.Name = "maskedTextBox2";
+ this.maskedTextBox2.PromptChar = ' ';
+ this.maskedTextBox2.Size = new System.Drawing.Size(89, 20);
+ this.maskedTextBox2.TabIndex = 18;
+ this.maskedTextBox2.Text = "75";
+ this.toolTip1.SetToolTip(this.maskedTextBox2, "Shunt value that is stacked or value of resistor replacing.");
+ this.maskedTextBox2.TextChanged += new System.EventHandler(this.maskedTextBox2_TextChanged_1);
+ //
+ // label14
+ //
+ this.label14.AutoSize = true;
+ this.label14.Location = new System.Drawing.Point(6, 152);
+ this.label14.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
+ this.label14.Name = "label14";
+ this.label14.Size = new System.Drawing.Size(72, 13);
+ this.label14.TabIndex = 17;
+ this.label14.Text = "Slot Limit (W):";
+ //
+ // label8
+ //
+ this.label8.AutoSize = true;
+ this.label8.Location = new System.Drawing.Point(244, 185);
+ this.label8.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
+ this.label8.Name = "label8";
+ this.label8.Size = new System.Drawing.Size(33, 13);
+ this.label8.TabIndex = 16;
+ this.label8.Text = "100%";
+ this.toolTip1.SetToolTip(this.label8, "New power limit with card on defaulk setting.");
+ //
// radioButton3
//
this.radioButton3.AutoSize = true;
- this.radioButton3.Location = new System.Drawing.Point(558, 79);
- this.radioButton3.Margin = new System.Windows.Forms.Padding(4);
+ this.radioButton3.Location = new System.Drawing.Point(279, 41);
+ this.radioButton3.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.radioButton3.Name = "radioButton3";
- this.radioButton3.Size = new System.Drawing.Size(70, 29);
+ this.radioButton3.Size = new System.Drawing.Size(38, 17);
this.radioButton3.TabIndex = 15;
this.radioButton3.Text = "FE";
this.radioButton3.UseVisualStyleBackColor = true;
@@ -113,10 +151,10 @@
// radioButton2
//
this.radioButton2.AutoSize = true;
- this.radioButton2.Location = new System.Drawing.Point(432, 79);
- this.radioButton2.Margin = new System.Windows.Forms.Padding(4);
+ this.radioButton2.Location = new System.Drawing.Point(216, 41);
+ this.radioButton2.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.radioButton2.Name = "radioButton2";
- this.radioButton2.Size = new System.Drawing.Size(104, 29);
+ this.radioButton2.Size = new System.Drawing.Size(55, 17);
this.radioButton2.TabIndex = 14;
this.radioButton2.Text = "3 Plug";
this.radioButton2.UseVisualStyleBackColor = true;
@@ -126,10 +164,10 @@
//
this.radioButton1.AutoSize = true;
this.radioButton1.Checked = true;
- this.radioButton1.Location = new System.Drawing.Point(310, 79);
- this.radioButton1.Margin = new System.Windows.Forms.Padding(4);
+ this.radioButton1.Location = new System.Drawing.Point(155, 41);
+ this.radioButton1.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.radioButton1.Name = "radioButton1";
- this.radioButton1.Size = new System.Drawing.Size(104, 29);
+ this.radioButton1.Size = new System.Drawing.Size(55, 17);
this.radioButton1.TabIndex = 5;
this.radioButton1.TabStop = true;
this.radioButton1.Text = "2 Plug";
@@ -139,10 +177,10 @@
// label10
//
this.label10.AutoSize = true;
- this.label10.Location = new System.Drawing.Point(12, 368);
- this.label10.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ this.label10.Location = new System.Drawing.Point(6, 234);
+ this.label10.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
this.label10.Name = "label10";
- this.label10.Size = new System.Drawing.Size(66, 25);
+ this.label10.Size = new System.Drawing.Size(34, 13);
this.label10.TabIndex = 1;
this.label10.Text = " ";
//
@@ -151,10 +189,10 @@
this.checkBox2.AutoSize = true;
this.checkBox2.Checked = true;
this.checkBox2.CheckState = System.Windows.Forms.CheckState.Checked;
- this.checkBox2.Location = new System.Drawing.Point(304, 163);
- this.checkBox2.Margin = new System.Windows.Forms.Padding(4);
+ this.checkBox2.Location = new System.Drawing.Point(152, 85);
+ this.checkBox2.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.checkBox2.Name = "checkBox2";
- this.checkBox2.Size = new System.Drawing.Size(226, 29);
+ this.checkBox2.Size = new System.Drawing.Size(116, 17);
this.checkBox2.TabIndex = 13;
this.checkBox2.Text = "Slot Shunt modded";
this.checkBox2.UseVisualStyleBackColor = true;
@@ -163,10 +201,10 @@
// checkBox1
//
this.checkBox1.AutoSize = true;
- this.checkBox1.Location = new System.Drawing.Point(304, 215);
- this.checkBox1.Margin = new System.Windows.Forms.Padding(4);
+ this.checkBox1.Location = new System.Drawing.Point(152, 112);
+ this.checkBox1.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.checkBox1.Name = "checkBox1";
- this.checkBox1.Size = new System.Drawing.Size(389, 29);
+ this.checkBox1.Size = new System.Drawing.Size(198, 17);
this.checkBox1.TabIndex = 12;
this.checkBox1.Text = "Shunts Replaced instead of stacked";
this.toolTip1.SetToolTip(this.checkBox1, "Replacing the shunt instead of stacking them.");
@@ -177,22 +215,22 @@
//
this.label7.AutoSize = true;
this.label7.Font = new System.Drawing.Font("Microsoft Sans Serif", 10.125F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.label7.Location = new System.Drawing.Point(212, 299);
- this.label7.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ this.label7.Location = new System.Drawing.Point(106, 198);
+ this.label7.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
this.label7.Name = "label7";
- this.label7.Size = new System.Drawing.Size(62, 31);
+ this.label7.Size = new System.Drawing.Size(35, 17);
this.label7.TabIndex = 10;
this.label7.Text = "700";
this.toolTip1.SetToolTip(this.label7, "New power limit with card on defaulk setting.");
//
// trackbar1
//
- this.trackbar1.Location = new System.Drawing.Point(380, 298);
- this.trackbar1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ this.trackbar1.Location = new System.Drawing.Point(190, 198);
+ this.trackbar1.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
this.trackbar1.Maximum = 110;
this.trackbar1.Minimum = 35;
this.trackbar1.Name = "trackbar1";
- this.trackbar1.Size = new System.Drawing.Size(286, 90);
+ this.trackbar1.Size = new System.Drawing.Size(143, 45);
this.trackbar1.TabIndex = 10;
this.toolTip1.SetToolTip(this.trackbar1, "Change Power Limit Percentage.");
this.trackbar1.Value = 100;
@@ -201,21 +239,21 @@
// label5
//
this.label5.AutoSize = true;
- this.label5.Location = new System.Drawing.Point(12, 304);
- this.label5.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ this.label5.Location = new System.Drawing.Point(6, 201);
+ this.label5.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
this.label5.Name = "label5";
- this.label5.Size = new System.Drawing.Size(177, 25);
+ this.label5.Size = new System.Drawing.Size(89, 13);
this.label5.TabIndex = 8;
this.label5.Text = "New Power Limit:";
//
// maskedTextBox4
//
- this.maskedTextBox4.Location = new System.Drawing.Point(16, 242);
- this.maskedTextBox4.Margin = new System.Windows.Forms.Padding(4);
+ this.maskedTextBox4.Location = new System.Drawing.Point(8, 125);
+ this.maskedTextBox4.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.maskedTextBox4.Mask = "000";
this.maskedTextBox4.Name = "maskedTextBox4";
this.maskedTextBox4.PromptChar = ' ';
- this.maskedTextBox4.Size = new System.Drawing.Size(174, 31);
+ this.maskedTextBox4.Size = new System.Drawing.Size(89, 20);
this.maskedTextBox4.TabIndex = 7;
this.maskedTextBox4.Text = "005";
this.toolTip1.SetToolTip(this.maskedTextBox4, "Shunt value that is stacked or value of resistor replacing.");
@@ -224,21 +262,21 @@
// label4
//
this.label4.AutoSize = true;
- this.label4.Location = new System.Drawing.Point(12, 215);
- this.label4.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ this.label4.Location = new System.Drawing.Point(6, 110);
+ this.label4.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
this.label4.Name = "label4";
- this.label4.Size = new System.Drawing.Size(189, 25);
+ this.label4.Size = new System.Drawing.Size(95, 13);
this.label4.TabIndex = 6;
this.label4.Text = "Added Shunt (mΩ)";
//
// maskedTextBox3
//
- this.maskedTextBox3.Location = new System.Drawing.Point(12, 162);
- this.maskedTextBox3.Margin = new System.Windows.Forms.Padding(4);
+ this.maskedTextBox3.Location = new System.Drawing.Point(6, 84);
+ this.maskedTextBox3.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.maskedTextBox3.Mask = "000";
this.maskedTextBox3.Name = "maskedTextBox3";
this.maskedTextBox3.PromptChar = ' ';
- this.maskedTextBox3.Size = new System.Drawing.Size(180, 31);
+ this.maskedTextBox3.Size = new System.Drawing.Size(92, 20);
this.maskedTextBox3.TabIndex = 5;
this.maskedTextBox3.Text = "005";
this.toolTip1.SetToolTip(this.maskedTextBox3, "Default Shunt resistors found on gpu");
@@ -247,20 +285,20 @@
// label3
//
this.label3.AutoSize = true;
- this.label3.Location = new System.Drawing.Point(12, 127);
- this.label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ this.label3.Location = new System.Drawing.Point(6, 66);
+ this.label3.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
this.label3.Name = "label3";
- this.label3.Size = new System.Drawing.Size(195, 25);
+ this.label3.Size = new System.Drawing.Size(98, 13);
this.label3.TabIndex = 4;
this.label3.Text = "Default Shunt (mΩ)";
//
// label1
//
this.label1.AutoSize = true;
- this.label1.Location = new System.Drawing.Point(6, 40);
- this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ this.label1.Location = new System.Drawing.Point(3, 21);
+ this.label1.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(232, 25);
+ this.label1.Size = new System.Drawing.Size(114, 13);
this.label1.TabIndex = 1;
this.label1.Text = "Cards Power Limit (W):";
//
@@ -269,11 +307,11 @@
this.groupBox2.Controls.Add(this.label12);
this.groupBox2.Controls.Add(this.label11);
this.groupBox2.Controls.Add(this.label9);
- this.groupBox2.Location = new System.Drawing.Point(12, 445);
- this.groupBox2.Margin = new System.Windows.Forms.Padding(4);
+ this.groupBox2.Location = new System.Drawing.Point(6, 267);
+ this.groupBox2.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.groupBox2.Name = "groupBox2";
- this.groupBox2.Padding = new System.Windows.Forms.Padding(4);
- this.groupBox2.Size = new System.Drawing.Size(712, 119);
+ this.groupBox2.Padding = new System.Windows.Forms.Padding(2, 2, 2, 2);
+ this.groupBox2.Size = new System.Drawing.Size(356, 62);
this.groupBox2.TabIndex = 2;
this.groupBox2.TabStop = false;
this.groupBox2.Text = "Maths";
@@ -281,83 +319,74 @@
// label12
//
this.label12.AutoSize = true;
- this.label12.Location = new System.Drawing.Point(12, 154);
- this.label12.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ this.label12.Location = new System.Drawing.Point(6, 80);
+ this.label12.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
this.label12.Name = "label12";
- this.label12.Size = new System.Drawing.Size(84, 25);
+ this.label12.Size = new System.Drawing.Size(43, 13);
this.label12.TabIndex = 3;
this.label12.Text = " ";
//
// label11
//
this.label11.AutoSize = true;
- this.label11.Location = new System.Drawing.Point(12, 75);
- this.label11.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ this.label11.Location = new System.Drawing.Point(6, 39);
+ this.label11.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
this.label11.Name = "label11";
- this.label11.Size = new System.Drawing.Size(102, 25);
+ this.label11.Size = new System.Drawing.Size(52, 13);
this.label11.TabIndex = 2;
this.label11.Text = " ";
//
// label9
//
this.label9.AutoSize = true;
- this.label9.Location = new System.Drawing.Point(12, 38);
- this.label9.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ this.label9.Location = new System.Drawing.Point(6, 20);
+ this.label9.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
this.label9.Name = "label9";
- this.label9.Size = new System.Drawing.Size(96, 25);
+ this.label9.Size = new System.Drawing.Size(49, 13);
this.label9.TabIndex = 0;
this.label9.Text = " ";
+ //
+ // label13
+ //
+ this.label13.AutoSize = true;
+ this.label13.ForeColor = System.Drawing.Color.Red;
+ this.label13.Location = new System.Drawing.Point(132, 342);
+ this.label13.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
+ this.label13.Name = "label13";
+ this.label13.Size = new System.Drawing.Size(108, 13);
+ this.label13.TabIndex = 5;
+ this.label13.Text = "Hover For Warnings!!";
+ this.toolTip1.SetToolTip(this.label13, "Shunt Modding your card will void your warranty.\r\nAny damage that may happen is s" +
+ "olely on yourself.");
//
// label2
//
this.label2.AutoSize = true;
this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.875F, System.Drawing.FontStyle.Underline, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label2.ForeColor = System.Drawing.Color.Navy;
- this.label2.Location = new System.Drawing.Point(592, 570);
- this.label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ this.label2.Location = new System.Drawing.Point(296, 341);
+ this.label2.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
this.label2.Name = "label2";
- this.label2.Size = new System.Drawing.Size(133, 25);
+ this.label2.Size = new System.Drawing.Size(66, 13);
this.label2.TabIndex = 3;
- this.label2.Text = "Version: 0.4";
+ this.label2.Text = "Version: 0.7";
this.label2.Click += new System.EventHandler(this.label2_Click);
//
// label6
//
this.label6.AutoSize = true;
- this.label6.Location = new System.Drawing.Point(24, 570);
- this.label6.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ this.label6.Location = new System.Drawing.Point(12, 341);
+ this.label6.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
this.label6.Name = "label6";
- this.label6.Size = new System.Drawing.Size(105, 25);
+ this.label6.Size = new System.Drawing.Size(52, 13);
this.label6.TabIndex = 4;
this.label6.Text = "by bmgjet";
//
- // label8
- //
- this.label8.AutoSize = true;
- this.label8.Location = new System.Drawing.Point(488, 273);
- this.label8.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
- this.label8.Name = "label8";
- this.label8.Size = new System.Drawing.Size(67, 25);
- this.label8.TabIndex = 16;
- this.label8.Text = "100%";
- this.toolTip1.SetToolTip(this.label8, "New power limit with card on defaulk setting.");
- //
- // label13
- //
- this.label13.AutoSize = true;
- this.label13.ForeColor = System.Drawing.Color.Red;
- this.label13.Location = new System.Drawing.Point(264, 572);
- this.label13.Name = "label13";
- this.label13.Size = new System.Drawing.Size(216, 25);
- this.label13.TabIndex = 5;
- this.label13.Text = "Hover For Warnings!!";
- this.toolTip1.SetToolTip(this.label13, resources.GetString("label13.ToolTip"));
- //
// Form1
//
- this.AutoScaleDimensions = new System.Drawing.SizeF(12F, 25F);
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.ClientSize = new System.Drawing.Size(740, 605);
+ this.ClientSize = new System.Drawing.Size(370, 362);
this.Controls.Add(this.label13);
this.Controls.Add(this.label6);
this.Controls.Add(this.label2);
@@ -365,7 +394,7 @@
this.Controls.Add(this.groupBox1);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
- this.Margin = new System.Windows.Forms.Padding(4);
+ this.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "Form1";
@@ -408,6 +437,8 @@
private System.Windows.Forms.Label label6;
private System.Windows.Forms.Label label8;
private System.Windows.Forms.Label label13;
+ private System.Windows.Forms.MaskedTextBox maskedTextBox2;
+ private System.Windows.Forms.Label label14;
}
}
diff --git a/ShuntCalculator/Form1.cs b/ShuntCalculator/Form1.cs
index 4782346..364f21d 100644
--- a/ShuntCalculator/Form1.cs
+++ b/ShuntCalculator/Form1.cs
@@ -26,17 +26,17 @@ namespace ShuntCalculator
float defpl = float.Parse(maskedTextBox1.Text);
//set up power split
- float slot = 75;
- float plug1 = (defpl - 75) / 2;
- float plug2 = (defpl -75) / 2;
+ float slot = int.Parse(maskedTextBox2.Text);
+ float plug1 = (defpl - int.Parse(maskedTextBox2.Text)) / 2;
+ float plug2 = (defpl - int.Parse(maskedTextBox2.Text)) / 2;
float plug3 = 0; //Zero since 2 plug card doesnt have this input.
//3 plug card split
if (radioButton2.Checked)
{
- plug1 = (defpl - 75) / 3;
- plug2 = (defpl - 75) / 3;
- plug3 = (defpl - 75) / 3;
+ plug1 = (defpl - int.Parse(maskedTextBox2.Text)) / 3;
+ plug2 = (defpl - int.Parse(maskedTextBox2.Text)) / 3;
+ plug3 = (defpl - int.Parse(maskedTextBox2.Text)) / 3;
}
@@ -94,8 +94,6 @@ namespace ShuntCalculator
storedpowerlimit[2] = newplug2;
storedpowerlimit[3] = newplug3;
- // label10.Text = (defpl + 75).ToString() + "W = " + Math.Round(sensevoltage1, 2).ToString() + "mv Sensor voltage";
- //label11.Text = Math.Round(sensevoltage1, 2).ToString() + "mv now = " + Math.Round(NewAmps1, 2).ToString() + "Amp with " + dc.ToString() + "MΩ";
label7.Text = (newdefpl).ToString() + "W";
trackbar1.Value = 100;
plugmaths(newslot, newplug1, newplug2, newplug3);
@@ -193,5 +191,10 @@ namespace ShuntCalculator
label7.Text = (Math.Round(diff * boardpower, 2)).ToString() + "W";
plugmaths(diff * storedpowerlimit[0], diff * storedpowerlimit[1],diff * storedpowerlimit[2],diff * storedpowerlimit[3]);
}
+
+ private void maskedTextBox2_TextChanged_1(object sender, EventArgs e)
+ {
+ Setdefaultlimiter();
+ }
}
}
diff --git a/ShuntCalculator/Form1.resx b/ShuntCalculator/Form1.resx
index 166c446..01e462e 100644
--- a/ShuntCalculator/Form1.resx
+++ b/ShuntCalculator/Form1.resx
@@ -120,14 +120,6 @@
17, 17
-
- Shunt Modding your card will void your warranty.
-Any damage that may happen is solely on yourself.
-
-Warnings:
-EVGA Cards have 20amp fuses on the connectors and 10 amp on the slot.
-Make sure to keep each connector under 240W and 112W on the slot.
-