title: I got an error in my Windows Forms application
body: <p>I made a click event by accident, so I removed the code from the clickevent.
  But then when I try to run my application, I get the following error.</p>
  
  <p>What am I doing wrong?</p>
  
  <blockquote>
    <p><code>WindowsFormsTutorial18.Form1</code> does not contain a definition for
    <code>button1_Click</code> and no extension method <code>button1_Click</code> accepting a
    first argument of type <code>WindowsFormsApplication1.Form1</code> could be found
    (are you missing a using directive or an assembly reference?)</p>
  </blockquote>