Exemplo n.º 1
0
    public void DeleteCurrentPath()
    {
        SetToolSelect();
        Command command = new PropertyChangeCommand("Deleted path from " + iPathToEdit.GetType().ToString(),
                                                    FieldOrProperty.Lookup(iPathToEdit.GetType().GetProperty("Path")), iPathToEdit, null);

        command.Do();
        UndoManager.AddCommand(command);
    }