Switch-Toolbox/Switch_Toolbox_Library/GUI Custom/NumericUpDownFloat.cs
2018-11-11 19:48:33 -05:00

24 lines
626 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Drawing;
namespace Switch_Toolbox.Library.Forms
{
public class NumericUpDownFloat : NumericUpDown
{
public NumericUpDownFloat()
{
Maximum = 1000000000;
Minimum = -100000000;
DecimalPlaces = 5;
Increment = 0.005m;
BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
ForeColor = Color.White;
}
}
}