I was creating a new form and my IDE crashed, or it was having problems, and now every time I create a new form it has a black line across it. The black line is not something I was adding, it appears to be the black line from the top of the form getting painted in the wrong place. The interesting thing is that every time I reload the form the line moves up until after the 5th load it disappears. How do I stop this happening? I have tried build, rebuild, clean solution (restart visual studio) but it is still there, it isn't consistent either which also annoying, any ideas?
The way the line appears overtop of the window (it goes over the border) makes it look like it's probably outside of the Designer-generated code.
Some exploratory coding:
To help test, can you comment out any code-behind so that it's only the Designer-generated code and see if it still occurs?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With