コード例 #1
0
        void ReleaseDesignerOutlets()
        {
            if (BigLabel != null)
            {
                BigLabel.Dispose();
                BigLabel = null;
            }

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

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

            if (SmallLabel != null)
            {
                SmallLabel.Dispose();
                SmallLabel = null;
            }
        }
コード例 #2
0
        void ReleaseDesignerOutlets()
        {
            if (userProfileImage != null)
            {
                userProfileImage.Dispose();
                userProfileImage = null;
            }

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

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

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

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