9 |
|
|
10 |
|
namespace System.Windows.Forms |
11 |
|
{ |
12 |
< |
public partial class FloatBox : NumericBox |
12 |
> |
public partial class FloatBox : NumericBoxBase |
13 |
|
{ |
14 |
|
public FloatBox() |
15 |
+ |
: base() |
16 |
|
{ |
17 |
|
InitializeComponent(); |
18 |
|
this.Value = 0; |
24 |
|
get { return this.ToSingle(); } |
25 |
|
set { base.Value = value; } |
26 |
|
} |
26 |
– |
|
27 |
– |
|
27 |
|
public override string Text |
28 |
|
{ |
29 |
|
get { return base.Text; } |
30 |
|
set { base.Text = value; } |
31 |
|
} |
33 |
– |
|
34 |
– |
public override bool ReadOnly |
35 |
– |
{ |
36 |
– |
get { return base.ReadOnly; } |
37 |
– |
set { base.ReadOnly = value; } |
38 |
– |
} |
32 |
|
} |
33 |
|
} |