Mercurial > repos > IBDev-IBBoard.WarFoundry.GUI.WinForms
view FrmAbout.cs @ 98:c7afc7824f50
Fixes #218: "Amount too high" warning can result in negative items
* Restrict min/max values to a minimum of "0" to stop negatives
* Ignore all events from widgets in EquimentAmountControl until we've finished setting it up for the new equipment item
* Fire value modified events if the value has been limited
* Remove disabling of OK button so that "Edit" dialog enables OK if amount has been limited
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 21 Nov 2009 15:33:00 +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); } } }