Mercurial > repos > IBDev-IBBoard.WarFoundry.GUI.GTK
diff FrmAddEquipment.cs @ 62:f733073967a2
Re #60: Add UI to add/remove/edit weapons in GTK
* Add initial code to keep numeric and percentage in sync
TODO: Allow users to change the non-selected one (e.g. select percentage but set the percentage by incrementing the number)
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sun, 29 Aug 2010 15:44:20 +0000 |
parents | e7ad676a7344 |
children | c2d79b4209e3 |
line wrap: on
line diff
--- a/FrmAddEquipment.cs Sun Aug 29 15:09:34 2010 +0000 +++ b/FrmAddEquipment.cs Sun Aug 29 15:44:20 2010 +0000 @@ -188,6 +188,11 @@ { return (int)numericAmount.Value; } + + set + { + numericAmount.Value = value; + } } @@ -208,6 +213,11 @@ return percent; } + + set + { + percentageAmount.Value = value; + } } } }