Пример #1
0
        void ReleaseDesignerOutlets()
        {
            if (AuthorityImageView != null)
            {
                AuthorityImageView.Dispose();
                AuthorityImageView = null;
            }

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

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

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

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

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

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

            if (NoItemsView != null)
            {
                NoItemsView.Dispose();
                NoItemsView = null;
            }
        }
Пример #2
0
        void ReleaseDesignerOutlets()
        {
            if (ChatInput != null)
            {
                ChatInput.Dispose();
                ChatInput = null;
            }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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