public void Refresh() { NetworkCredential nc = CoreServices.Instance.Credentials; string request = CoreServices.Instance.ServiceHost + "Messages/?username="******"&password="******"&box=" + _box.ToString() + "&page=1"; XMLDownloader download = new XMLDownloader(request, GetMessagesCallback); }
public void Refresh() { string request; request = CoreServices.Instance.ServiceHost + "/stories/" + _story + ".xml"; XMLDownloader download = new XMLDownloader(request, GetStoryDetailCallback); }
public void Refresh() { if (CoreServices.Instance.LoginVerified) { string request = CoreServices.Instance.ServiceHost + "Search/?Author=" + CoreServices.Instance.Credentials.UserName; XMLDownloader download = new XMLDownloader(request, GetCommentsCallback); } }
public void Refresh() { string request; if (_story == 0) { request = CoreServices.Instance.ServiceHost + "index.xml"; } else { if (_page == 0) { request = CoreServices.Instance.ServiceHost + _story + ".xml"; } else { request = CoreServices.Instance.ServiceHost + _story + "." + _page + ".xml"; } } XMLDownloader download = new XMLDownloader(request, GetCommentsCallback); }
public void Refresh() { string request = CoreServices.Instance.ServiceHost + "Search/?" + _search; XMLDownloader download = new XMLDownloader(request, GetCommentsCallback); }
public void Refresh() { string request = CoreServices.Instance.ServiceHost + "thread/" + _id + ".xml"; XMLDownloader download = new XMLDownloader(request, GetCommentsCallback); }