void ReleaseDesignerOutlets() { if (cancelButton != null) { cancelButton.Dispose(); cancelButton = null; } if (ClearFilterButton != null) { ClearFilterButton.Dispose(); ClearFilterButton = null; } if (FromDateTextField != null) { FromDateTextField.Dispose(); FromDateTextField = null; } if (NumberEventTextField != null) { NumberEventTextField.Dispose(); NumberEventTextField = null; } if (saveChangesButton != null) { saveChangesButton.Dispose(); saveChangesButton = null; } if (StatusSegmentedControl != null) { StatusSegmentedControl.Dispose(); StatusSegmentedControl = null; } if (TitleTextField != null) { TitleTextField.Dispose(); TitleTextField = null; } if (ToDateTextField != null) { ToDateTextField.Dispose(); ToDateTextField = null; } }
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; } }