void ClipboardNotifier_ClipboardUpdate(object?sender, ClipboardEventArgs e) { if (this.SavingEnabled) { this.AddClipItem(e.ClipItem); } }
/// <summary> /// Raises the <see cref="ClipboardUpdate"/> event. /// </summary> /// <param name="e">Event arguments for the event.</param> private static void OnClipboardUpdate(ClipboardEventArgs e) => ClipboardUpdate?.Invoke(null, e);