1 |
using System; |
2 |
using System.Collections.Generic; |
3 |
using System.ComponentModel; |
4 |
using System.Drawing; |
5 |
using System.Data; |
6 |
using System.Linq; |
7 |
using System.Text; |
8 |
using System.Windows.Forms; |
9 |
|
10 |
namespace System.Windows.Forms |
11 |
{ |
12 |
public partial class FloatBox : NumericBoxBase |
13 |
{ |
14 |
public FloatBox() |
15 |
{ |
16 |
InitializeComponent(); |
17 |
this.Value = 0; |
18 |
this.ReadOnly = false; |
19 |
} |
20 |
|
21 |
new public float Value |
22 |
{ |
23 |
get { return this.ToSingle(); } |
24 |
set { base.Value = value; } |
25 |
} |
26 |
public override string Text |
27 |
{ |
28 |
get { return base.Text; } |
29 |
set { base.Text = value; } |
30 |
} |
31 |
} |
32 |
} |