/[RomCheater]/trunk/Win32/libWin32/Win32/UI/FloatBox.cs
ViewVC logotype

Contents of /trunk/Win32/libWin32/Win32/UI/FloatBox.cs

Parent Directory Parent Directory | Revision Log Revision Log


Revision 88 - (show annotations) (download)
Wed May 9 20:52:20 2012 UTC (8 years, 8 months ago) by william
File size: 881 byte(s)

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 : NumericBox
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
27
28 public override string Text
29 {
30 get { return base.Text; }
31 set { base.Text = value; }
32 }
33
34 public override bool ReadOnly
35 {
36 get { return base.ReadOnly; }
37 set { base.ReadOnly = value; }
38 }
39 }
40 }

  ViewVC Help
Powered by ViewVC 1.1.22