Mercurial > repos > IBBoard.WarFoundry.GUI.GTK
diff FrmEditEquipment.cs @ 76:7055b24cfc79
Re #308: Make GTK# UI translatable
* Extend new TranslatableDialog
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Tue, 23 Nov 2010 21:03:46 +0000 |
parents | 4b82515586ac |
children | 58779fcd0166 |
line wrap: on
line diff
--- a/FrmEditEquipment.cs Tue Nov 23 20:17:18 2010 +0000 +++ b/FrmEditEquipment.cs Tue Nov 23 21:03:46 2010 +0000 @@ -10,18 +10,17 @@ using IBBoard.GtkSharp; using log4net.Repository.Hierarchy; using log4net; +using IBBoard.GtkSharp.Translatable; namespace IBBoard.WarFoundry.GUI.GTK { - public partial class FrmEditEquipment : Dialog, IEditEquipmentUI + public partial class FrmEditEquipment : TranslatableDialog, IEditEquipmentUI { private static ILog log = LogManager.GetLogger(typeof(FrmAddEquipment)); - public event SingleArgMethodInvoker<UnitEquipmentItem> UnitEquipmentItemChoiceChanged; + public event MethodInvoker UnitEquipmentAmountTypeChanged; + public event MethodInvoker UnitEquipmentAmountChanged; - public event MethodInvoker UnitEquipmentAmountTypeChanged; - - public event MethodInvoker UnitEquipmentAmountChanged; private bool isRatioLimited; public FrmEditEquipment()