title: Visual Studio crashes when trying to add handler to control on MFC form
body: <p>I have a problem with Visual Studio 2010. I'm trying to add a button and associate an event to it. But when I double-click or right-click -> Add Event Handler, my IDE stop responding and it gives me an error:</p>
  
  <blockquote>
    <p>Microsoft Visual Studio has encounter a problem and needs to restart.</p>
  </blockquote>
  
  <p>I've tried all the ways that I know to add an event to a control. I even changed the control to radio button or a label, and I when I try to set any event to any control, my VS crashes.  </p>
  
  <p>Is this an known problem? Am I doing something wrong?  </p>
  
  <p>My project is a Dialog-based MFC application.</p>
  
  <p>I've tried to add an event to a different project (a test project that I downloaded from the web) and it works.</p>