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 (SectionFeatureTextField != null) { SectionFeatureTextField.Dispose(); SectionFeatureTextField = null; } if (TitleTextField != null) { TitleTextField.Dispose(); TitleTextField = null; } if (ToDateTextField != null) { ToDateTextField.Dispose(); ToDateTextField = null; } }
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; } }