private void Radio_VPOP_Checked(object sender, RoutedEventArgs e) { try { Block_Control_Online(false); MOnline.Search_Top_Song(0); } catch { } }
private void List_Song_Online_SelectionChanged(object sender, SelectionChangedEventArgs e) { Block_Control_Online(false); if (List_Song_Online.SelectedIndex < 0 || MOnline.State == false) { return; } MOnline.GetSongSelected(List_Song_Online.SelectedIndex); }
private void Button_Search_Click(object sender, RoutedEventArgs e) { try { Block_Control_Online(false); MOnline.Button_Search_Click(Text_Search.Text); } catch { } }
void Button_Download_Click(object sender, EventArgs e) { try { if (CheckSongDownload()) { Status_Download.Text = "Downloading '" + List_NowPlaying[Current_NowPlaying].Name + "' of " + List_NowPlaying[Current_NowPlaying].Artist.Name + " . . . wait some minute"; MOnline.Download(List_NowPlaying[Current_NowPlaying]); } } catch { } }