예제 #1
0
        public void ClipboardCutSelection()
        {
            IEditableObject editable = widget.Selection as IEditableObject;

            if (editable == null)
            {
                editable = ObjectWrapper.Lookup(widget.Selection) as IEditableObject;
            }
            if (editable != null)
            {
                editable.Cut();
            }
        }
 void DoCut(object obj, EventArgs args)
 {
     editable.Cut();
 }