I was strangling with the layout on my windows c# app form and I cut some textBoxes, listBoxes, Buttons, etc
and pasted them with the exact same name. Now if I dubble click the button, it won't refer to the code from the previous button but instead calls the new method:
"ButtonName"_Click_1(object sender, EventArgs e)
I'm talking about allot of layout, probably around 60 controls and recreating that takes so much time.
Could I undo these changed, or make them work? Or maby restore to an earlier version of the solution/classes?
edit: Could it only be the buttons which wont refer to the code or also all textboxes and other controls?