void ReleaseDesignerOutlets() { if (FormatItem != null) { FormatItem.Dispose(); FormatItem = null; } if (FormatSegment != null) { FormatSegment.Dispose(); FormatSegment = null; } }