J
Juan Romero
Hi guys,
This is probably old, but it is getting on my nerves.
When you cut and paste an object graphically while using the Visual Studio
Editor (say for example, a button), all the methods get disconnected or
unwired from their respective handlers (code). for the button for example,
if I have placed code on the click event and I cut and paste the button, the
next time I double click on it, it creates another subroutine in the form
Button_Click_1, and it wires to this one, so I end up deleting the old one,
copying the content, reclicking on the button and pasting the content again.
This might not be a big deal with a button, but when you have a bunch of
controls and you want to say put them into a panel or something and you cut
and paste, you have to go and wire everything manually again!
Is there a fix or a way to get around this???
Thank you in advance.
This is probably old, but it is getting on my nerves.
When you cut and paste an object graphically while using the Visual Studio
Editor (say for example, a button), all the methods get disconnected or
unwired from their respective handlers (code). for the button for example,
if I have placed code on the click event and I cut and paste the button, the
next time I double click on it, it creates another subroutine in the form
Button_Click_1, and it wires to this one, so I end up deleting the old one,
copying the content, reclicking on the button and pasting the content again.
This might not be a big deal with a button, but when you have a bunch of
controls and you want to say put them into a panel or something and you cut
and paste, you have to go and wire everything manually again!
Is there a fix or a way to get around this???
Thank you in advance.