title: Must be implicitly Convertible to System.IDisposable
body: <p>I got an error when I used using(MySqlBackup). I've already added the MySqlBackup.dll to its reference but I still got the same error. Does anyone know how to fix this ?</p>
  
  <p>Here is the code:</p>
  
  <pre><code>public bool createBackup()
      {
          bool ret = false;
          using (var sfd = new SaveFileDialog())
          {
              sfd.Filter = "SQL Backup File (*.sql)|*.sql";
              sfd.FilterIndex = 1;
              sfd.FileName = "MyBackup.sql";
  
              if (sfd.ShowDialog() == DialogResult.OK &amp;&amp; sfd.FileName.Length &gt; 0)
              {
                  string file = sfd.FileName;
  
                  using (MySqlConnection con = new MySqlConnection(connect()))
                  {
                      using (MySqlCommand cmd = new MySqlCommand())
                      {
                          using (MySqlBackup mb = new MySqlBackup(cmd))
                          {
                              try
                              {
                                  cmd.Connection = con;
                                  con.Open();
                                  mb.ExportToFile(file);
                                  con.Close();
                                  ret = true;
                              }
                              catch (Exception ex)
                              {
                                  MessageBox.Show(ex.Message, "ERROR", MessageBoxButtons.OK, MessageBoxIcon.Warning);
                              }
                          }
                      }
                  }
              }
          }
          return ret;
      }
  </code></pre>