Add version number, Add HWINFO Multipler value.

This commit is contained in:
bmg 2020-10-15 23:41:11 +13:00
parent 25fcbb14d2
commit b9944bb282
2 changed files with 21 additions and 5 deletions

View File

@ -49,6 +49,7 @@
this.label10 = new System.Windows.Forms.Label();
this.label9 = new System.Windows.Forms.Label();
this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
this.label2 = new System.Windows.Forms.Label();
this.groupBox1.SuspendLayout();
this.groupBox2.SuspendLayout();
this.SuspendLayout();
@ -112,6 +113,8 @@
// checkBox2
//
this.checkBox2.AutoSize = true;
this.checkBox2.Checked = true;
this.checkBox2.CheckState = System.Windows.Forms.CheckState.Checked;
this.checkBox2.Location = new System.Drawing.Point(317, 162);
this.checkBox2.Name = "checkBox2";
this.checkBox2.Size = new System.Drawing.Size(226, 29);
@ -208,9 +211,9 @@
this.groupBox2.Controls.Add(this.label11);
this.groupBox2.Controls.Add(this.label10);
this.groupBox2.Controls.Add(this.label9);
this.groupBox2.Location = new System.Drawing.Point(12, 391);
this.groupBox2.Location = new System.Drawing.Point(12, 374);
this.groupBox2.Name = "groupBox2";
this.groupBox2.Size = new System.Drawing.Size(713, 143);
this.groupBox2.Size = new System.Drawing.Size(713, 152);
this.groupBox2.TabIndex = 2;
this.groupBox2.TabStop = false;
this.groupBox2.Text = "Maths";
@ -251,11 +254,21 @@
this.label9.TabIndex = 0;
this.label9.Text = " ";
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(591, 528);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(133, 25);
this.label2.TabIndex = 3;
this.label2.Text = "Version: 0.3";
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(12F, 25F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(740, 555);
this.ClientSize = new System.Drawing.Size(740, 562);
this.Controls.Add(this.label2);
this.Controls.Add(this.groupBox2);
this.Controls.Add(this.groupBox1);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
@ -270,6 +283,7 @@
this.groupBox2.ResumeLayout(false);
this.groupBox2.PerformLayout();
this.ResumeLayout(false);
this.PerformLayout();
}
@ -294,6 +308,7 @@
private System.Windows.Forms.CheckBox checkBox2;
private System.Windows.Forms.RadioButton radioButton2;
private System.Windows.Forms.RadioButton radioButton1;
private System.Windows.Forms.Label label2;
}
}

View File

@ -100,10 +100,11 @@ namespace ShuntCalculator
{
label10.Text = "3 Plug: Slot=" + newslot + "W Plug1=" + Math.Round(newplug1, 1).ToString() + "W Plug2=" + Math.Round(newplug2, 1).ToString() + "W Plug3=" + Math.Round(newplug3, 1).ToString() + "W";
}
label11.Text = "HWInfo Multiplyer: " + Math.Round((newdefpl / defpl),2).ToString();
}
catch
{