ATMLCommonLibrary.controls.physical.PhysicalTypeControl.itemID_KeyPress C# (CSharp) Method

itemID_KeyPress() private method

private itemID_KeyPress ( object sender, KeyPressEventArgs e ) : void
sender object
e KeyPressEventArgs
return void
        private void itemID_KeyPress(object sender, KeyPressEventArgs e)
        {
            if (!char.IsControl(e.KeyChar)
                && !char.IsDigit(e.KeyChar))
            {
                e.Handled = true;
            }
        }