internal void ClipboardCopySelection() { IEditableObject editable = widget.Selection as IEditableObject; if (editable == null) { editable = ObjectWrapper.Lookup(widget.Selection) as IEditableObject; } if (editable != null) { editable.Copy(); } }
void DoCopy(object obj, EventArgs args) { editable.Copy(); }