private void TxtStockCode_Leave(object sender, EventArgs e)
        {
            TxtStockCode.Text = clsUtils.ChangeCase(TxtStockCode.Text, 1);
            clsStock stock = new clsStock();

            stock.StockCode    = TxtStockCode.Text.TrimEnd();
            stock.SupplierRef  = TxtFromShopRef.Text.TrimEnd();
            TxtCurrentQty.Text = stock.GetShopStockQty().ToString();
        }
        private void txtStockCode_Leave(object sender, EventArgs e)
        {
            txtStockCode.Text = clsUtils.ChangeCase(txtStockCode.Text, 1);
            clsStock stock = new clsStock();

            stock.StockCode   = txtStockCode.Text.TrimEnd();
            stock.SupplierRef = txtWarehouseRef.Text.TrimEnd();
            if (txtWarehouseName.Text == "")
            {
                txtCurrentHangers.Text = "0";
            }
            else
            {
                txtCurrentHangers.Text = stock.GetShopStockQty().ToString();
            }
        }