private void TxtCode_KeyDown(object sender, KeyEventArgs e) { if (e.KeyCode == Keys.Enter) { RepeatedFunctions.TxtCode_Handle(uiBasicSale1.TxtCode, uiBasicSale1.TxtQty, Cart, ItemBarcodes, ref ItemCode, ref Device, Pos_Barcode, BeginChar, DGV, uiBasicSale1.labelTotal); } }