Example #1
0
 void ReleaseDesignerOutlets()
 {
     if (CheckButton != null)
     {
         CheckButton.Dispose();
         CheckButton = null;
     }
     if (ConnectionStatusLabel != null)
     {
         ConnectionStatusLabel.Dispose();
         ConnectionStatusLabel = null;
     }
 }
        void ReleaseDesignerOutlets()
        {
            if (CheckButton != null)
            {
                CheckButton.Dispose();
                CheckButton = null;
            }

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

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

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

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

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

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

            if (SubmitButton != null)
            {
                SubmitButton.Dispose();
                SubmitButton = null;
            }
        }
Example #3
0
        void ReleaseDesignerOutlets()
        {
            if (CheckButton != null)
            {
                CheckButton.Dispose();
                CheckButton = null;
            }

            if (TitleLabel != null)
            {
                TitleLabel.Dispose();
                TitleLabel = null;
            }
        }
Example #4
0
        void ReleaseDesignerOutlets()
        {
            if (AddObservationView != null)
            {
                AddObservationView.Dispose();
                AddObservationView = null;
            }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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