void ReleaseDesignerOutlets() { if (AttachmentContentView != null) { AttachmentContentView.Dispose(); AttachmentContentView = null; } if (checkButton != null) { checkButton.Dispose(); checkButton = null; } if (ConteinerObservationView != null) { ConteinerObservationView.Dispose(); ConteinerObservationView = null; } if (CreateButton != null) { CreateButton.Dispose(); CreateButton = null; } if (DateTextField != null) { DateTextField.Dispose(); DateTextField = null; } if (DetailTextView != null) { DetailTextView.Dispose(); DetailTextView = null; } if (HeightAttachmentContentConstraint != null) { HeightAttachmentContentConstraint.Dispose(); HeightAttachmentContentConstraint = null; } if (ObservationTextView != null) { ObservationTextView.Dispose(); ObservationTextView = null; } if (PlaceTextField != null) { PlaceTextField.Dispose(); PlaceTextField = null; } if (ReferenceTextField != null) { ReferenceTextField.Dispose(); ReferenceTextField = null; } if (SectionEventTextField != null) { SectionEventTextField.Dispose(); SectionEventTextField = null; } if (StatusConteinerView != null) { StatusConteinerView.Dispose(); StatusConteinerView = null; } if (StatusSegmentedControl != null) { StatusSegmentedControl.Dispose(); StatusSegmentedControl = null; } if (TagTextField != null) { TagTextField.Dispose(); TagTextField = null; } if (TitleTextView != null) { TitleTextView.Dispose(); TitleTextView = null; } if (TopAttachmentContentConstraint != null) { TopAttachmentContentConstraint.Dispose(); TopAttachmentContentConstraint = null; } if (TopCreateButtonConstraint != null) { TopCreateButtonConstraint.Dispose(); TopCreateButtonConstraint = null; } if (TopTagConstraint != null) { TopTagConstraint.Dispose(); TopTagConstraint = null; } if (TypeTextField != null) { TypeTextField.Dispose(); TypeTextField = null; } if (UploadFileButton != null) { UploadFileButton.Dispose(); UploadFileButton = null; } }
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; } }