예제 #1
0
        public void SelectAll(object parameter)
        {
            var oldSelection = new List <Coordinates>(Owner.BitmapManager.ActiveDocument.ActiveSelection.SelectedPoints);

            Owner.BitmapManager.ActiveDocument.ActiveSelection.SetSelection(selectTool.GetAllSelection(), SelectionType.New);
            SelectionHelpers.AddSelectionUndoStep(Owner.BitmapManager.ActiveDocument, oldSelection, SelectionType.New);
        }
예제 #2
0
        public void SelectAll(object parameter)
        {
            SelectTool select = new SelectTool();

            Owner.BitmapManager.ActiveDocument.ActiveSelection.SetSelection(select.GetAllSelection(), SelectionType.New);
        }