void ReleaseDesignerOutlets() { if (NameLabel != null) { NameLabel.Dispose(); NameLabel = null; } if (CheckImage != null) { CheckImage.Dispose(); CheckImage = null; } }
public void Dispose() { CheckImage.Dispose(); CheckImage = null; }