2
Reply

Auto remove accidental eventhandler?

Ask a question
Ken

Ken

12y
1.5k
1
Sometimes I double-click a control, thinking I had attached code to it, just to find I had not (or I clicked the wrong control).  I remove the auto inserted function, but next time I compile it complains because the designer still has the eventhandler defined but no function now so I have to go remove it manually.

Not a big deal of course, but just curious if it had some nifty shortcut way to fix that when it happens...?

Answers (2)
Next Recommended Forum