public void Paste() { var e = new PastingEventArgs(); Pasting?.Invoke(this, e); if (!e.Handled) { Document.ExecCommand("Paste", false, null); ExternalContentAdded?.Invoke(this); } }
private void Editor_Pasting(object arg1, PastingEventArgs arg2) { arg2.Handled = PasteFromClipboard((NoteEditor)arg1, pManager.CurrentTree); }