title: "No Code Behind File"
body: <p>I have been working on c# Gui for about a week without problem, all of a sudden when I added a label control I tried to access its events and saw the error "This document item has no code behind file. Add code behind file and a class definition before adding event handlers"</p>
  
  <p>This is odd since the gui/methods still runs fine but it is making it very difficult to progress...any ideas? Did a file get deleted etc? Can provide more info on request, thanks for the help!</p>
  
  <p>(couldn't add screen shot unfortunately yet but error is displayed in properties window/event tab)</p>