For those of you who like certain control classes to open in the code view (instead of the designer view) by default.  You can use the following attribute on your class so when you double click on it you get the code view.

  • [System.ComponentModel.DesignerCategory("Code")]

I know this has been a nicety that I now use often.


p.s. I tried this on a simple winform (on the form class) and windows service application (on the main service class) and it allowed me to open the classes in code view by default.  The web service application I tried it with didn't open in code view however. :-( 

p.p.s.  I would have posted these as additional comments, but for some reason I can't seem to comment on blogs currently.