[DllImport("User32.dll",EntryPoint="keybd_event")]
private static extern int keybd_event(
byte bVk, //
byte bScan, //
long dwFlags, //
long dwExtraInfo //
);
private void frmInputTestInfo_KeyPress(object sender, System.Windows.Forms.KeyPressEventArgs e)
{
if (e.KeyChar == (char)13)
keybd_event((byte)Keys.Tab,(byte)0,224,0);
}