/// <summary>
        /// Invokes the specified clipboard event.
        /// </summary>
        /// <param name="eventMethod">The event method.</param>
        /// <param name="clipboardText">The clipboard text.</param>
        /// <returns><c>True</c> if the event was handled; otherwise <c>false</c>.</returns>
        private bool InvokeEvent(Action <ClipboardEventArgs> eventMethod, string clipboardText)
        {
            ClipboardEventArgs e = new ClipboardEventArgs(clipboardText);

            eventMethod(e);
            return(e.Handled);
        }
 /// <summary>
 /// Raises the <see cref="E:TextPasted" /> event.
 /// </summary>
 /// <param name="e">The <see cref="ClipboardEventArgs"/> instance containing the event data.</param>
 protected virtual void OnTextPasted(ClipboardEventArgs e)
 {
     TextPasted?.Invoke(this, e);
 }
 /// <summary>
 /// Raises the <see cref="E:TextCut" /> event.
 /// </summary>
 /// <param name="e">The <see cref="ClipboardEventArgs"/> instance containing the event data.</param>
 protected virtual void OnTextCut(ClipboardEventArgs e)
 {
     TextCut?.Invoke(this, e);
 }