using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Data; using System.Linq; using System.Text; using System.Windows.Forms; namespace System.Windows.Forms { public partial class FloatBox : NumericBox { public FloatBox() { InitializeComponent(); this.Value = 0; this.ReadOnly = false; } new public float Value { get { return this.ToSingle(); } set { base.Value = value; } } public override string Text { get { return base.Text; } set { base.Text = value; } } public override bool ReadOnly { get { return base.ReadOnly; } set { base.ReadOnly = value; } } } }