Hallo
I'm developping a custom forms designer using this base: http://msdn.microsoft.com/msdnmag/issues/06/03/DesignerHosting/default.aspx
I implemented the UndoEngine interface to use standart Undo() and Redo() commands. (using this source code:
http://www.geocities.com/balcanuc/TestUndoEngine.zip)
When I create a new form using "No Loader" or "Basic Designer
Loader", the Undo/Redo works fine. However, if I use the
"CodeDomDesignerLoader" the undo/redo works for adding and removing
components but if I move or resize a component inside the form then I
undo, the component gets selected but does not go back to it previous
state. When I debugged the code I found the the UndoEngine is aware of
the move/resize operation but undoUnit.Undo() has no effect.
Your help is highly appreciated.
(it's the old thread question from the id Wassim,but there is not solution yet)
anyone has idea or similar problem? thanks!