Undoes the last edit operation in the text box.
This method will undo the last Clipboard or text change operation performed in the text box control if the TextBoxBase.CanUndo property returns true.
The TextBoxBase.Undo method does not work with the Control.KeyPress or Control.TextChanged events.