Пример #1
0
        private void get_lyric(string path)
        {
            get_details detail = new get_details(path);

            tbx_song.Text = detail.get_title();
            tbx_artist.Text = detail.get_artist();
            tbx_artist.Enabled = false;
            tbx_song.Enabled = false;
            get_lyric(tbx_song.Text, tbx_artist.Text);
        }
Пример #2
0
 private void btn_save_Click(object sender, EventArgs e)
 {
     if (!flag_save && path.Length > 0)
     {
         foreach (string a in path)
         {
             get_details detail = new get_details(a);
             readwrite.write(detail.get_name());
             readwrite.writeinfo(detail.get_name());
             readwrite.writeinfo(detail.get_title());
             readwrite.writeinfo(detail.get_artist());
             readwrite.writeinfo(detail.get_album());
             readwrite.writeinfo(detail.get_year());
         }
         flag_save = true;
         btn_save.Text = "saved";
     }
 }