Esempio n. 1
0
        public override bool Stop(IMouseInformation mouseInformation)
        {
            if (_graphicBuilder == null)
            {
                return(false);
            }

            if (_graphicBuilder.Stop(mouseInformation))
            {
                return(true);
            }

            _graphicBuilder.Graphic.ImageViewer.CommandHistory.AddCommand(_undoableCommand);
            _graphicBuilder  = null;
            _undoableCommand = null;
            return(false);
        }