Change control
C#
1
Posts
1
Posters
0
Views
1
Watching
-
i have a problem... How can i replace a control present in a container with another control in ComponentAdding/ComponentAdded event? This is required in UndoRedo Operation.I have the undone object with me.On redo an empty control is created with private variables as null.It is a custom control & i am having to reassign all the properties as the undo engine doesnt return the object that was previously removed. Please suggest a way to get back the Undone control and paste it on the Designer Surface.