protected override void OnGotFocus(EventArgs e) { base.OnGotFocus(e); designPanel?.Invalidate(); }
public void Invalidate() { designPanel.Invalidate(); }