private void bw_DoWork(object sender, DoWorkEventArgs e)
 {
     try
     {
         BuildDatabaseTree(false);
         e.Result = DataConnectionHelper.CheckVersion("addin35");
     }
     catch
     {
         e.Result = false;
     }
 }
        private void bw_DoWork(object sender, DoWorkEventArgs e)
        {
            try
            {
                BuildDatabaseTree(false);
                var product = "addin35";
#if SSMS
                product = "ssmsaddin";
#endif
                e.Result = DataConnectionHelper.CheckVersion(product);
            }
            catch
            {
                e.Result = false;
            }
        }