Пример #1
0
 public SelectionMovedOrResizedStroke(CommandStack commandStack, StrokeCollection selection, Rect newrect, Rect oldrect, int editingOperationCount)
     : base(commandStack)
 {
     _selection             = selection;
     _newrect               = newrect;
     _oldrect               = oldrect;
     _editingOperationCount = editingOperationCount;
 }
Пример #2
0
 public ElementMovOrRes(CommandStack commandStack, UIElementCollection selection, Rect newrect, Rect oldrect, int editingOperationCount)
     : base(commandStack)
 {
     _selection             = selection;
     _newrect               = newrect;
     _oldrect               = oldrect;
     _editingOperationCount = editingOperationCount;
 }
Пример #3
0
        public StrokesAddedOrRemovedStroke(CommandStack commandStack, InkCanvasEditingMode editingMode, StrokeCollection added, StrokeCollection removed, int editingOperationCount)
            : base(commandStack)
        {
            _editingMode = editingMode;

            _added   = added;
            _removed = removed;

            _editingOperationCount = editingOperationCount;
        }
Пример #4
0
        public ElementAddOrRem(CommandStack commandStack, InkCanvasEditingMode editingMode,
                               UIElementCollection added, UIElementCollection removed, int editingOperationCount)
            : base(commandStack)
        {
            _editingMode = editingMode;

            _added   = added;
            _removed = removed;

            _editingOperationCount = editingOperationCount;
        }
Пример #5
0
 protected CommandItem(CommandStack commandStack)
 {
     _commandStack = commandStack;
 }