void ReleaseDesignerOutlets() { if (Share != null) { Share.Dispose(); Share = null; } if (Size != null) { Size.Dispose(); Size = null; } if (Switch != null) { Switch.Dispose(); Switch = null; } if (Title != null) { Title.Dispose(); Title = null; } }