コード例 #1
0
        public void ClipboardPaste()
        {
            IEditableObject editable = widget.Selection as IEditableObject;

            if (editable == null)
            {
                editable = ObjectWrapper.Lookup(widget.Selection) as IEditableObject;
            }
            if (editable != null)
            {
                editable.Paste();
            }
        }
コード例 #2
0
 void DoPaste(object obj, EventArgs args)
 {
     editable.Paste();
 }