private void Barcode_Text_KeyDown_1(object sender, KeyEventArgs e) { if (e.KeyCode == Keys.Enter) { Barcode_Quantity_Text.Focus(); } }
private void Barcode_Text_KeyDown(object sender, KeyEventArgs e) { if (e.KeyValue == 40) { Barcode_Quantity_Text.Focus(); } else if (e.KeyCode == Keys.Enter) { ADD_DATA_TO_GRID(); Barcode_Text.Text = ""; Barcode_Quantity_Text.Text = ""; } }
private void Barcode_Text_KeyDown(object sender, KeyEventArgs e) { if (e.KeyCode == Keys.Enter) { Barcode_Quantity_Text.Focus(); } //else if (e.KeyCode == Keys.Enter) //{ // ADD_DATA_TO_GRID(); // Barcode_Text.Text = ""; // Barcode_Quantity_Text.Text = ""; //} }