I am working on a VB.NET (2005) project which I have already several windows forms working fine.
However, whenever I now try to add additional forms, they get added but I get no New() event to handle (usually wrapped up in the "Windows Form Designer Generated Code" region). Indeed, the whole region is missing (along with the code that goes therein). The funny thing is that the form still opens and runs normally. Is it hiding this code somewhere?
Another thing it's not doing anymore is putting this line after the class heading:
Even when I put this in manually, it doesn't bring back by "Windows Form Designer Generated Code" region.VB Code:
Inherits System.Windows.Forms.Form
What's going on?![]()





Reply With Quote