ATMLCommonLibrary.controls.physical.PhysicalTypeControl.itemID_KeyPress C# (CSharp) 메소드

itemID_KeyPress() 개인적인 메소드

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