27 lines
569 B
C#
27 lines
569 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Globalization;
|
|
using System.Linq;
|
|
using System.Media;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace W4Gui.Components
|
|
{
|
|
public class UIntUpDown : GenericUpDown<uint>
|
|
{
|
|
internal override string formatText(uint val)
|
|
{
|
|
string fmt = val.ToString();
|
|
return fmt;
|
|
}
|
|
|
|
internal override uint parseValue(string val)
|
|
{
|
|
uint uval = 0;
|
|
uint.TryParse(val, out uval);
|
|
return uval;
|
|
}
|
|
}
|
|
}
|