private void PurchaseForm_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.Alt && e.KeyCode == Keys.Q)
            {
                QuantityField.Focus();
            }

            if (e.Alt && e.KeyCode == Keys.P)
            {
                ProductList.Focus();
            }

            if (e.Alt && e.KeyCode == Keys.X)
            {
                clearFields();
            }

            if (e.Alt && e.KeyCode == Keys.S)
            {
                subTotal();
            }

            if (e.Alt && e.KeyCode == Keys.C)
            {
                RecordSale(0, "Cash");
            }

            if (e.Alt && e.KeyCode == Keys.H)
            {
                RecordSale(1, "Cash");
            }

            if (e.Alt && e.KeyCode == Keys.B)
            {
                BarCodeField.Focus();
            }

            if (e.Alt && e.KeyCode == Keys.Enter)
            {
                AddItemToCart();
            }

            if (e.Alt && e.KeyCode == Keys.D)
            {
                TotalDiscountField.Focus();
            }

            if (e.Alt && e.KeyCode == Keys.T)
            {
                TaxAppliedField.Focus();
            }

            if (e.Alt && e.KeyCode == Keys.A)
            {
                AmountPaidField.Focus();
            }
        }
 private void AmountPaidField_Enter(object sender, EventArgs e)
 {
     AmountPaidField.Select(0, AmountPaidField.Text.Length);
 }