Пример #1
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;
            }
        }
Пример #2
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;
            }
        }