Visual studio .net c#, cut and paste controls

  • Thread starter Thread starter Claire
  • Start date Start date
C

Claire

Is there any hack /way of moving a large number of controls at design time
without losing all their assigned delegates/events?
If not, is this problem likely to be fixed in a later version of visual
studio .net?
thanks
 
Just copy the code generated by the Windows Forms Designer (In the
InitializeComponent method) and the private fields representing the
different controls....
 
Thanks Eran but it didn't seem to work

The controls are sitting on a panel.
I copied the InitializeComponent method to notepad, cut/pasted the panel
onto my tab control, refilled initializecomponent with contents of notepad
and the controls leapt back to their original position.
 
I worked out how to make the panel a child of the tab sheet manually
eventually, but I hope that microsoft work out how to allow a cut/paste to
be done without losing the events automatically.

thanks
 
Back
Top