Do you noticed when we scan a barcode to computer it will print the character string and move the cursor to next line...,
ie,One enter is pressing after printing barcode string in text box, You can check this from keydown event
private void textBox1_KeyDown(object sender, KeyEventArgs e)
{
if (e.KeyCode == Keys.Enter)
{
}
}