protected override void OnKeyPress(KeyPressEventArgs e)
{
if (!char.IsDigit(e.KeyChar))
{
e.Handled = true;
}
if (!Char.IsDigit(e.KeyChar))
{
e.Handled = true;
}
}
protected override void OnKeyPress(KeyPressEventArgs e)
{
if (!char.IsDigit(e.KeyChar))
{
e.Handled = true;
}
if (!Char.IsDigit(e.KeyChar))
{
e.Handled = true;
}
}