|
winfrom:
private void textBox_BarcodeEntry_KeyUp (object sender, KeyEventArgs e)
{
switch (e.KeyCode)
{
case Keys.Sapce:
break;
}
}
webfrom:
<script language = "javascript">
function document.onkeypress ()
{
if (window.event.keyCode == 13)
{
// 13 is the enter key
}
}
</ script> |
|