Example #1
0
        void ReleaseDesignerOutlets()
        {
            if (Body != null)
            {
                Body.Dispose();
                Body = null;
            }

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

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

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

            if (ActionImage != null)
            {
                ActionImage.Dispose();
                ActionImage = null;
            }
        }
Example #2
0
        void ReleaseDesignerOutlets()
        {
            if (Image != null)
            {
                Image.Dispose();
                Image = null;
            }

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

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