private void SendUpdatedRating() { if (changed) { Tour tour = tourResult as Tour; if (tour != null) { if (tour.MSRComponentId > 0) { EOCalls.InvokeRateContent((int)tour.MSRComponentId, myStars); return; } } string userId = Properties.Settings.Default.UserRatingGUID.ToString("D"); SaveTourRating(); UiTools.SendAsyncWebMessage(String.Format("http://www.worldwidetelescope.org/wwtweb/PostRatingFeedback.aspx?q={0},{1},{2}", tourResult.Id, userId, myStars.ToString())); } }