private void txtEntry_KeyDown(Object eventSender, Mobilize.Web.KeyEventArgs eventArgs) { int KeyCode = (int)eventArgs.KeyCode; int Shift = ((int)eventArgs.KeyData) / 65536; try { EditKeyCode(fgProducts, Mobilize.Web.ReferenceExtensions.Ref(() => txtEntry), KeyCode, Shift); } finally { eventArgs.Handled = KeyCode == 0; } }
private void txtEntry_KeyDown(object eventSender, Mobilize.Web.KeyEventArgs eventArgs) { int KeyCode = (int)eventArgs.KeyCode; int Shift = ((int)eventArgs.KeyData) / 65536; try { Mobilize.Web.TextBox tempRefParam = txtEntry; EditKeyCode(fgProducts, Mobilize.Web.ReferenceExtensions.Ref(() => tempRefParam), KeyCode, Shift); txtEntry = tempRefParam; } finally { eventArgs.Handled = KeyCode == 0; } }