void ReleaseDesignerOutlets() { if (ColorView != null) { ColorView.Dispose(); ColorView = null; } if (NameLabel != null) { NameLabel.Dispose(); NameLabel = null; } if (StateLabel != null) { StateLabel.Dispose(); StateLabel = null; } }
void ReleaseDesignerOutlets() { if (blueLabel != null) { blueLabel.Dispose(); blueLabel = null; } if (ColorView != null) { ColorView.Dispose(); ColorView = null; } if (convertButton != null) { convertButton.Dispose(); convertButton = null; } if (greenLabel != null) { greenLabel.Dispose(); greenLabel = null; } if (hexTextField != null) { hexTextField.Dispose(); hexTextField = null; } if (redLabel != null) { redLabel.Dispose(); redLabel = null; } }