title: How to write event handler in VB.NET?
body: <p>I am trying to test out very simple event handling in VB.NET.</p>
  
  <p>So far I have:</p>
  
  <pre><code>Public Delegate Sub TestEventDelegate()
  Public Event TestEvent As TestEventDelegate
  
  Sub MySub
      Raise TestEvent
  End Sub
  </code></pre>
  
  <p>How would you write an event handler for the above event that just displayed a simple <code>MessageBox</code>? </p>