void ReleaseDesignerOutlets() { if (BlueValueLabel != null) { BlueValueLabel.Dispose(); BlueValueLabel = null; } if (GreenValueLabel != null) { GreenValueLabel.Dispose(); GreenValueLabel = null; } if (HexValueTextField != null) { HexValueTextField.Dispose(); HexValueTextField = null; } if (Newbutton != null) { Newbutton.Dispose(); Newbutton = null; } if (RedValueLabel != null) { RedValueLabel.Dispose(); RedValueLabel = null; } }