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

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

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

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

            if (ContainerBottomConstraint != null)
            {
                ContainerBottomConstraint.Dispose();
                ContainerBottomConstraint = 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;
            }
        }
コード例 #3
0
        void ReleaseDesignerOutlets()
        {
            if (ChatInput != null)
            {
                ChatInput.Dispose();
                ChatInput = null;
            }

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

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