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

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

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

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

            if (TxtDescription != null)
            {
                TxtDescription.Dispose();
                TxtDescription = null;
            }
        }
Beispiel #2
0
        void ReleaseDesignerOutlets()
        {
            if (ImgUser != null)
            {
                ImgUser.Dispose();
                ImgUser = null;
            }

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

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

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