예제 #1
0
        public void Paste()
        {
            var e = new PastingEventArgs();

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