title: How do I exit from a function?
body: <p>i know that in vb.net you can just do <code>Exit Sub</code></p>
  
  <p>but i would like to know how do i exit a click event in a button?</p>
  
  <p>here's my code:</p>
  
  <pre><code>private void button1_Click(object sender, EventArgs e)
  {
      if (textBox1.Text == "" || textBox2.Text == "" || textBox3.Text == "")
      {
          //exit this event
      }
  }
  </code></pre>