I've implemnted a form designer using DesignSurface.

I've also provided the Undo-Redo feature by deriving the UndoEngine class.

Moving controls, changing properties and then Undo it works fine.

But I'm facing propblem when I delete control on the designer surface and perform undo operation using

commandService.GlobalInvoke(StandardCommands.Delete);

After undoing deleted control is actually placed back on the designer surface but it is not visible at all.

Please help!