void ReleaseDesignerOutlets() { if (BaseTextView != null) { BaseTextView.Dispose(); BaseTextView = null; } if (CurrentTextView != null) { CurrentTextView.Dispose(); CurrentTextView = null; } if (BaseLabel != null) { BaseLabel.Dispose(); BaseLabel = null; } if (CurrentLabel != null) { CurrentLabel.Dispose(); CurrentLabel = null; } }