Ejemplo n.º 1
0
        public void Paste()
        {
            var e = new PastingEventArgs();

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