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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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