Is it OK to program a method body inside of an event?
<p>I recently saw some code from a college teacher where he had something like this:</p>

<pre><code>public void Button1_Click(blabla)
{
   //His code was here.
}
</code></pre>

<p>Isn't it considered better programming practice to call a method to do the dirty work, that way if the method changes you only have to change the method itself and not the event? (Less chance of breaking something)</p>

<pre><code>public void Button1_Click(blabla)
{
   DoSomething();
}

public void DoSomething()
{
   //The actual code here.
}
</code></pre>
