title: The class Form1 can be designed, but is not the first class in the file[...]
body: <p>I'm a newbie on vb.net, and I was in progress with my first application... and found some example code in the msdn so I just replaced my <code>Form1.vb</code> file content with the content from the MSDN. When I roll back the changes, and tried to compile my old code then hundreds of errors appeared, and when I switch to the <code>Form1[Design]</code> tab I see this:</p>
  
  <blockquote>
    <p>The class Form1 can be designed, but is not the first class in the
    file. Visual Studio requires that designers use the first class in the
    file. Move the class code so that it is the first class in the file
    and try loading the designer again.</p>
  </blockquote>
  
  <p>I'm really new on vb.net and the visual studio itself, and I dont know what to do in this case, is my work destroyed or what?</p>