Ejemplo n.º 1
0
        void ReleaseDesignerOutlets()
        {
            if (BodyText != null)
            {
                BodyText.Dispose();
                BodyText = null;
            }

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

            if (TitleLabel != null)
            {
                TitleLabel.Dispose();
                TitleLabel = null;
            }
        }
        void ReleaseDesignerOutlets()
        {
            if (BodyText != null)
            {
                BodyText.Dispose();
                BodyText = null;
            }

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

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

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

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

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

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

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

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

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

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

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

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