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 (AttachmentContentView != null) { AttachmentContentView.Dispose(); AttachmentContentView = null; } if (AutorTextField != null) { AutorTextField.Dispose(); AutorTextField = null; } if (CreateButton != null) { CreateButton.Dispose(); CreateButton = null; } if (DateTextField != null) { DateTextField.Dispose(); DateTextField = null; } if (HeightAttachmentContentConstraint != null) { HeightAttachmentContentConstraint.Dispose(); HeightAttachmentContentConstraint = null; } if (SectionEventTextField != null) { SectionEventTextField.Dispose(); SectionEventTextField = null; } if (TitleTextView != null) { TitleTextView.Dispose(); TitleTextView = null; } if (TopAttachmentContentConstraint != null) { TopAttachmentContentConstraint.Dispose(); TopAttachmentContentConstraint = null; } if (TopCreateButtonConstraint != null) { TopCreateButtonConstraint.Dispose(); TopCreateButtonConstraint = null; } if (UploadFileButton != null) { UploadFileButton.Dispose(); UploadFileButton = null; } }