示例#1
0
 public void DownloadSync(string url, DeRequestTVKServer callback)
 {
     callbackRequest = callback;
     client.DownloadDataAsync(new Uri(AppConst.ServerURL + url));
 }
示例#2
0
文件: MainApp.cs 项目: nghoang/tvkpme
 private void DownloadCheckedList()
 {
     RequestTVKServer sv = new RequestTVKServer();
     DeRequestTVKServer callback = new DeRequestTVKServer(DownloadCheckedListCallback);
     sv.DownloadSync("?action=checked_channels", callback);
 }