void ReleaseDesignerOutlets() { if (Label != null) { Label.Dispose(); Label = null; } if (Pin != null) { Pin.Dispose(); Pin = null; } if (TextField != null) { TextField.Dispose(); TextField = null; } }
public void Dispose() => Pin.Dispose();