diff FrmNewUnit.cs @ 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 1576f669b3eb
children 1bcd7ea857c4
line wrap: on
line diff