Lets say we have a form consisting of 20+ controls, for example buttons. We want to create handlers for the On-click event for all of them.
The usual way is to go to the designer and double-click each button to have it automatically create the function. Another way is to create them yourself in code, after the InitializeComponent() function.
Is the difference between the two? 1) In performance 2) In speed 3) Garbage collecting
The first way is easy but lately I've been thinking about the second because its easy to see (in one place) what controls have what events handled without going to the designer which is a real pain if you have the controls cluttered...