Mercurial > repos > IBBoard.WarFoundry.GUI.WinForms
comparison FrmUnit.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 | c283545d2d0b |
children | 9a215113c84c |
comparison
equal
deleted
inserted
replaced
61:a0ec03c24cd9 | 62:0e7c257ca8d6 |
---|---|
82 SetPointsValueText(); | 82 SetPointsValueText(); |
83 } | 83 } |
84 | 84 |
85 private void SetPointsValueText() | 85 private void SetPointsValueText() |
86 { | 86 { |
87 lblPoints.Text = "(" + unit.PointsValue + " pts)"; | 87 lblPoints.Text = "(" + unit.Points + " pts)"; |
88 } | 88 } |
89 | 89 |
90 private void SetStats() | 90 private void SetStats() |
91 { | 91 { |
92 DataTable dt = new DataTable(); | 92 DataTable dt = new DataTable(); |