view FrmAbout.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
line wrap: on
line source

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using IBBoard.Lang;
using IBBoard.Windows.Forms;
using IBBoard.Windows.Forms.I18N;

namespace IBBoard.WarFoundry.GUI.WinForms
{
	public partial class FrmAbout : IBBForm
	{
		public FrmAbout()
		{
			InitializeComponent();
			ControlTranslator.TranslateControl(this);
			lblVersion.Text = Translation.GetTranslation("lblVersion", "Version: {0}", FrmMain.VERSION);
		}
	}
}