Exemplo n.º 1
0
        void ReleaseDesignerOutlets()
        {
            if (CategoryCountLabel != null)
            {
                CategoryCountLabel.Dispose();
                CategoryCountLabel = null;
            }

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

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

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

            if (lblName != null)
            {
                lblName.Dispose();
                lblName = null;
            }
        }
Exemplo n.º 3
0
        void ReleaseDesignerOutlets()
        {
            if (CategoryImage != null)
            {
                CategoryImage.Dispose();
                CategoryImage = null;
            }

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

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