Mercurial > repos > IBBoard.WarFoundry.GUI.WinForms
comparison UI/StatColumnStyle.cs @ 40:740350673006
Re #117: Add percentage and number boxes to equipment item dialogs
* Add a new EquipmentAmountControl to bundle the controls with some initial implementation
* Add new control to "new equipment" dialog and remove old controls
Also:
* Update some namespaces
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sun, 06 Sep 2009 18:01:54 +0000 |
parents | 6ab7ddc038f9 |
children | e04bea5b7b3d |
comparison
equal
deleted
inserted
replaced
39:25dfeb1db285 | 40:740350673006 |
---|---|
6 using System.Drawing; | 6 using System.Drawing; |
7 using System.Text; | 7 using System.Text; |
8 using System.Windows.Forms; | 8 using System.Windows.Forms; |
9 using IBBoard.WarFoundry.API.Objects; | 9 using IBBoard.WarFoundry.API.Objects; |
10 | 10 |
11 namespace IBBoard.WarFoundry.WinForms.UI | 11 namespace IBBoard.WarFoundry.GUI.WinForms.UI |
12 { | 12 { |
13 class StatColumnStyle : DataGridTextBoxColumn | 13 class StatColumnStyle : DataGridTextBoxColumn |
14 { | 14 { |
15 protected override void Paint(Graphics g, Rectangle bounds, CurrencyManager source, int rowNum, Brush backBrush, Brush foreBrush, bool alignToRight) | 15 protected override void Paint(Graphics g, Rectangle bounds, CurrencyManager source, int rowNum, Brush backBrush, Brush foreBrush, bool alignToRight) |
16 { | 16 { |