title: Syntax for adding an event handler in VB.NET
body: <p>I have following code i need to convert to VB.NET. Problem is every translation tool I found is converting the add handler part wrong. I don't seem to be able to do it by myself. </p>
  
  <pre><code>FtpClient ftpClient = new FtpClient();
  ftpClient.UploadProgressChanged += new EventHandler&lt;UploadProgressChangedLibArgs&gt;(ftpClient_UploadProgressChanged);
  ftpClient.UploadFileCompleted += new EventHandler&lt;UploadFileCompletedEventLibArgs&gt;(ftpClient_UploadFileCompleted);
  </code></pre>