public void DoHttpWebRequest(string keyWord) { HttpHelper ht = new HttpHelper(); string url = "http://geci.me/api/lyric/" + keyWord; ht.CreatePostHttpResponse(url); ht.FileWatchEvent += ht_FileWatchEvent; }
public void DoHttpWebRequestArtist(int artistId) { HttpHelper ht = new HttpHelper(); string url = "http://geci.me/api/artist/" + artistId.ToString(); ht.CreatePostHttpResponse(url); ht.FileWatchEvent += ht_FileWatchEvent3; }
private void Button_Click(object sender, RoutedEventArgs e) { string lrcStr = (sender as Button).DataContext.ToString(); HttpHelper ht = new HttpHelper(); ht.CreatePostHttpResponse(lrcStr); ht.FileWatchEvent += ht_FileWatchEvent2; }