Mercurial > repos > IBBoard.WarFoundry.GUI.WinForms
view FrmAbout.Designer.cs @ 96:057498981bde
Re #209: equipmentslot Value problem
* Simple hack to stop the UI erroring - make sure that the value is between min and max
Underlying problem still exists in the API as adding 1 as a percentage to a unit of 11 (9.1%) is actually 9.09% recurring, which is 1.001, which is rounded to 2 when calculating cost. Perhaps percentages need to always be rounded down instead of up/down based on equipment properties?
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Mon, 09 Nov 2009 20:58:18 +0000 |
parents | 0bb9f40d44eb |
children | acb4456598ce |
line wrap: on
line source
namespace IBBoard.WarFoundry.GUI.WinForms { partial class FrmAbout { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> protected override void Dispose(bool disposing) { if (disposing && (components != null)) { components.Dispose(); } base.Dispose(disposing); } #region Windows Form Designer generated code /// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.lblWarFoundry = new System.Windows.Forms.Label(); this.lblVersion = new System.Windows.Forms.Label(); this.lblDevelopers = new IBBoard.Windows.Forms.IBBLabel(); this.textBox1 = new System.Windows.Forms.TextBox(); this.textBox2 = new System.Windows.Forms.TextBox(); this.lblThanks = new IBBoard.Windows.Forms.IBBLabel(); this.SuspendLayout(); // // lblWarFoundry // this.lblWarFoundry.Font = new System.Drawing.Font("Microsoft Sans Serif", 24F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte) (0))); this.lblWarFoundry.Location = new System.Drawing.Point(12, 9); this.lblWarFoundry.Name = "lblWarFoundry"; this.lblWarFoundry.Size = new System.Drawing.Size(268, 45); this.lblWarFoundry.TabIndex = 0; this.lblWarFoundry.Text = "WarFoundry"; this.lblWarFoundry.TextAlign = System.Drawing.ContentAlignment.TopCenter; // // lblVersion // this.lblVersion.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte) (0))); this.lblVersion.Location = new System.Drawing.Point(16, 54); this.lblVersion.Name = "lblVersion"; this.lblVersion.Size = new System.Drawing.Size(264, 23); this.lblVersion.TabIndex = 1; this.lblVersion.Text = "v0.1b4"; // // lblDevelopers // this.lblDevelopers.AutoSize = true; this.lblDevelopers.Location = new System.Drawing.Point(12, 80); this.lblDevelopers.Name = "lblDevelopers"; this.lblDevelopers.Size = new System.Drawing.Size(59, 13); this.lblDevelopers.TabIndex = 2; this.lblDevelopers.Text = "developers"; // // textBox1 // this.textBox1.Location = new System.Drawing.Point(80, 80); this.textBox1.Multiline = true; this.textBox1.Name = "textBox1"; this.textBox1.ReadOnly = true; this.textBox1.Size = new System.Drawing.Size(200, 89); this.textBox1.TabIndex = 3; this.textBox1.Text = "IBBoard (http://ibboard.co.uk/devlog/)"; // // textBox2 // this.textBox2.Location = new System.Drawing.Point(80, 175); this.textBox2.Multiline = true; this.textBox2.Name = "textBox2"; this.textBox2.ReadOnly = true; this.textBox2.Size = new System.Drawing.Size(200, 89); this.textBox2.TabIndex = 5; this.textBox2.Text = "Snowblizz\r\nFrostlee"; // // lblThanks // this.lblThanks.AutoSize = true; this.lblThanks.Location = new System.Drawing.Point(12, 175); this.lblThanks.Name = "lblThanks"; this.lblThanks.Size = new System.Drawing.Size(51, 13); this.lblThanks.TabIndex = 4; this.lblThanks.Text = "thanks to"; // // FrmAbout // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(292, 270); this.Controls.Add(this.textBox2); this.Controls.Add(this.lblThanks); this.Controls.Add(this.textBox1); this.Controls.Add(this.lblDevelopers); this.Controls.Add(this.lblVersion); this.Controls.Add(this.lblWarFoundry); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "FrmAbout"; this.Text = "FrmAbout"; this.ResumeLayout(false); this.PerformLayout(); } #endregion private System.Windows.Forms.Label lblWarFoundry; private System.Windows.Forms.Label lblVersion; private IBBoard.Windows.Forms.IBBLabel lblDevelopers; private System.Windows.Forms.TextBox textBox1; private System.Windows.Forms.TextBox textBox2; private IBBoard.Windows.Forms.IBBLabel lblThanks; } }