public void ClipboardPaste() { IEditableObject editable = widget.Selection as IEditableObject; if (editable == null) { editable = ObjectWrapper.Lookup(widget.Selection) as IEditableObject; } if (editable != null) { editable.Paste(); } }
void DoPaste(object obj, EventArgs args) { editable.Paste(); }