Awesome tip: make View Code default double click action on a WinForm control

Here is something I wish I’d known years ago – you can make the “View Source” action default when you double click on a WinForm control.

Here’s how:

  1. Right click any Form/UserControl file, and choose Open With…
  2. Select CSharp Editor, then press Set as Default
  3. ????
  4. Profit!

That’s it! Now you won’t break the keyboard when you accidentally double click on your MainForm.cs file.

  • http://www.rickybadboy.com/ Music & Lyrics

    Hmmmm.. nice

  • http://www.memorabilia4music.co.uk/ Red2Black

    You have managed & compile really
    a unique & real information. Its really very helpful for
    us. You’ve made some great points and it’s written really well.

  • http://www.memorabilia4music.com/ Charles 

    Well written post.I appreciate your writing skills.Its
    great.You have made really a great job by sharing this post with us.I like this
    & would like to read your more updates.Keep in  touch with us in
    future too.