Mercurial > repos > IBDev-IBBoard.WarFoundry.GUI.GTK
diff FrmAddEquipment.cs @ 53:28b242612ad7
Re #60: Add UI to add/remove/edit weapons in GTK
* Use proper method for making dialog appear
Re #306: Combine equipment lists in GTK#
* Populate unit equipment lists on unit display widget
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Wed, 25 Aug 2010 15:21:56 +0000 |
parents | 4bad8cb3f889 |
children | f9f6e9db5350 |
line wrap: on
line diff
--- a/FrmAddEquipment.cs Sun Aug 22 14:32:16 2010 +0000 +++ b/FrmAddEquipment.cs Wed Aug 25 15:21:56 2010 +0000 @@ -48,8 +48,15 @@ public void ShowControl() { - + ShowNow(); } + + protected virtual void CancelButtonClicked (object sender, System.EventArgs e) + { + Respond(ResponseType.Cancel); + } + + } }