void ReleaseDesignerOutlets()
        {
            if (ImgProduct != null)
            {
                ImgProduct.Dispose();
                ImgProduct = null;
            }

            if (LblAmount != null)
            {
                LblAmount.Dispose();
                LblAmount = null;
            }

            if (LblDiscount != null)
            {
                LblDiscount.Dispose();
                LblDiscount = null;
            }

            if (LblProductName != null)
            {
                LblProductName.Dispose();
                LblProductName = null;
            }

            if (LblProductPrice != null)
            {
                LblProductPrice.Dispose();
                LblProductPrice = null;
            }

            if (VwDiscount != null)
            {
                VwDiscount.Dispose();
                VwDiscount = null;
            }
        }
        void ReleaseDesignerOutlets()
        {
            if (BtnAdd != null)
            {
                BtnAdd.Dispose();
                BtnAdd = null;
            }

            if (BtnFavorite != null)
            {
                BtnFavorite.Dispose();
                BtnFavorite = null;
            }

            if (BtnRemove != null)
            {
                BtnRemove.Dispose();
                BtnRemove = null;
            }

            if (ImgProduct != null)
            {
                ImgProduct.Dispose();
                ImgProduct = null;
            }

            if (LblAmount != null)
            {
                LblAmount.Dispose();
                LblAmount = null;
            }

            if (LblDiscount != null)
            {
                LblDiscount.Dispose();
                LblDiscount = null;
            }

            if (LblProductName != null)
            {
                LblProductName.Dispose();
                LblProductName = null;
            }

            if (LblProductPrice != null)
            {
                LblProductPrice.Dispose();
                LblProductPrice = null;
            }

            if (LblSale != null)
            {
                LblSale.Dispose();
                LblSale = null;
            }

            if (VwDiscount != null)
            {
                VwDiscount.Dispose();
                VwDiscount = null;
            }
        }