protected virtual void OnClearHistory() { if (ClearHistory != null) { ClearHistory.Invoke(this, EventArgs.Empty); } }
public void OnClearHistory() { ClearHistory?.Invoke(); }