Mercurial > repos > IBDev-IBBoard.WarFoundry.GUI.WinForms
view FrmEditUnitEquipment.resources @ 114:727c1b0e49a6
Fixes #115: Typing number for equipment amount doesn't update Okay button
* Remove KeyDown capture code (AcceptButton functionality captures the key press first)
* Add ProcessDialogKey method that uses ValueChanged helper class to determine whether the control changes when we force an update
New functionality is that the values can be typed and changed by pressing Enter, then a second Enter will accept the changes and close the dialog. If no changes were made then pressing Enter once accepts changes and closes the dialog.
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Thu, 24 Dec 2009 12:04:32 +0000 |
parents | 7dd160dacb60 |
children |