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

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

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

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

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

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

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

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

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

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

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

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

            if (ProfileButton != null)
            {
                ProfileButton.Dispose();
                ProfileButton = null;
            }
        }
예제 #3
0
        void ReleaseDesignerOutlets()
        {
            if (AllUsersButton != null)
            {
                AllUsersButton.Dispose();
                AllUsersButton = null;
            }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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