Can only view my form as code -- what happened?
I hit something (don't know what!) and now I can only view my form as code. How do I get my regular view back? Thanks!
When you register, you'll begin receiving targeted emails from my team of award-winning writers. Our goal is to provide a unique online resource for developers, architects and development managers tasked with building and maintaining enterprise applications using Visual Basic, C# and the Microsoft .NET platform.
Hannah Smalltree, Editorial Director
I also hate when this happens! The parsing code in the Windows Forms viewer seems to be a little fragile at times. What you'll need to do is look at the InitializeComponent method and see that you haven't accidentally deleted values or introduced extra typing. In a worse case scenario, you'll have to redo the form and copy over all event handlers from the original file.
Dig Deeper
-
People who read this also read...
This was first published in January 2003