Exemple #1
0
        public void Add(DrawObject obj)
        {
            // insert to the top of z-order
            _graphicsList.Insert(0, obj);
            var create = new CreateCommand(obj, _graphicsList);

            _undoRedo.AddCommand(create);
        }