When I create an eventHandler (for example dblClick on a button) VS creates related line of code in the Form1.Designer file.
When I delete that button – the code remains in the Designer, giving me an error during debuging.
Could someone explain what is the reason for such an behaviour, and how could I remove that lines automatically.
When I create an eventHandler (for example dblClick on a button) VS creates related
Share
Just re-open it, and it should disappear, if dosen’t check agian, you probably didnt delte the button