void bkgVersion_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e) { // status OK if (!e.Cancelled && e.Error == null) { ArrayList al = e.Result as ArrayList; string version = al[0].ToString(); int connectionID = int.Parse(al[1].ToString()); _connSettings.SetVersionForConnection(connectionID, version); } }