diff FrmNewUnit.cs @ 1:42cf06b8f897

Re #8 - Get a working Windows WarFoundry * Update forms to use new package structures for API objects * Update forms to use separate control translation * Remove PIDB file from source control
author IBBoard <dev@ibboard.co.uk>
date Sat, 27 Dec 2008 18:39:37 +0000
parents 7dd160dacb60
children 8935971e307c
line wrap: on
line diff
--- a/FrmNewUnit.cs	Fri Dec 19 15:57:51 2008 +0000
+++ b/FrmNewUnit.cs	Sat Dec 27 18:39:37 2008 +0000
@@ -7,6 +7,8 @@
 using IBBoard.Lang;
 using IBBoard.Windows.Forms;
 using IBBoard.WarFoundry.API;
+using IBBoard.WarFoundry.API.Objects;
+using IBBoard.Windows.Forms.I18N;
 
 namespace IBBoard.WarFoundry
 {
@@ -31,7 +33,7 @@
 		{
 			InitializeComponent();
 
-			Translation.TranslateControl(this, cat.Name);
+			ControlTranslator.TranslateControl(this, cat.Name);
 			units = race.GetUnitTypes(cat);
 			allowed = new bool[units.Length];
 			this.army = army;