问题
I've searched half a day, and found none.
Do you happen to know there's one?
Thanks!
回答1:
Its not built in but you can implement your own Take look to this post in stack over flow C#: How to implement good and efficient undo/redo functionaly for a TextBox
回答2:
you can implement custom undo feature in textbox ....
you can handle the TextChanged event and just push the textbox contents onto a stack each time it changes, then pop and refresh the TextBox every time the user hits Ctrl-Z.....
来源:https://stackoverflow.com/questions/8025926/any-textbox-control-for-winforms-with-multi-level-undo-feature