Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to temporarily disable Visual studio auto generated events?

All,

I have finished the GUI design phase... Now I've started to add meaningful names to all the controls in my application. Visual Studio is driving me nuts auto generating the events each time I click on the control to change its name (ok so it only happens when I mess up and double click... but still annoying).

Is there a way to temporarily disable this feature? I still want it because it is a great short cut when I'm coding.

Thanks!

like image 531
Billy Avatar asked Oct 02 '09 20:10

Billy


1 Answers

You can't disable double clicking AFAIK but you can open document outline (Menu View > Other Windows > Document Outline), and rename the controls via F2 in this window. It'll be much faster and will help see easily the visual tree if your form is complex.

like image 121
Julien Lebosquain Avatar answered Oct 09 '22 07:10

Julien Lebosquain