BugMan
Well-known member
Just about every day as I build my app and run/test it, I click on a control (button, grid, anything) and nothing happens. I double-click the control in design mode, and it's like clicking on a new control, no code is there.
It turns out that the control loses the part of the line of code... in other words this:
turns into this:
"Handles Button1.Click" is lost.
This has happened so often that I know I'm not deleting it accidentally. Am I doing something else wrong? Has anybody else had this problem? It is extremely frustrating!
It turns out that the control loses the part of the line of code... in other words this:
VB.NET:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
turns into this:
VB.NET:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
"Handles Button1.Click" is lost.
This has happened so often that I know I'm not deleting it accidentally. Am I doing something else wrong? Has anybody else had this problem? It is extremely frustrating!