Mercurial > repos > IBDev-IBBoard.WarFoundry.GUI.WinForms
diff FrmMain.cs @ 62:0e7c257ca8d6 WarFoundry_v0.1beta2_Winforms
Fixes #164: Show unit cost in army tree
* Add points value in army tree for units, category and army (aggregating as it goes up the tree)
* Add code to update tree node text as points values change
* Remove references to now deprecated points-related properties
Also:
* Add rolling log file appender to logging config
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 19 Sep 2009 19:44:45 +0000 |
parents | a0ec03c24cd9 |
children | 4db2c1086a85 |
line wrap: on
line diff
--- a/FrmMain.cs Sat Sep 19 16:01:43 2009 +0000 +++ b/FrmMain.cs Sat Sep 19 19:44:45 2009 +0000 @@ -1160,9 +1160,9 @@ } else { - sbPointsPanel.Text = String.Format(Translation.GetTranslation("statusPanelPoints"), CurrentArmy.PointsTotal, CurrentArmy.MaxPoints); + sbPointsPanel.Text = String.Format(Translation.GetTranslation("statusPanelPoints"), CurrentArmy.Points, CurrentArmy.MaxPoints); - if (CurrentArmy.PointsTotal>CurrentArmy.MaxPoints) + if (CurrentArmy.Points>CurrentArmy.MaxPoints) { sbPointsPanel.Color = Color.Red; }