[]
Reverses the most recent operation in the undo stack.
public void Undo()
This method reverts the last action that was recorded in the undo stack, effectively "undoing" the most recent change made by the user. After the operation is undone, it is moved to the redo stack, allowing it to be redone if necessary. The Changed event is raised to notify subscribers that the state of the undo/redo history has changed.
private void UndoButton_Click(object sender, EventArgs args)
{
_designer.UndoManager.Undo();
}