public void PushId3Boxes(string filename) { Mp3D3Tagger myMp3 = new Mp3D3Tagger(); myMp3.DoMP3Tagger(filename); tagBox.Text = myMp3.Tag; titleBox.Text = myMp3.Title; artistBox.Text = myMp3.Artist; albumBox.Text = myMp3.Album; yearBox.Text = myMp3.Year; commentBox.Text = myMp3.Comment; genreBox.Text = myMp3.Genre; }
private void saveButton_Click(object sender, EventArgs e) { Mp3D3Tagger editMp3 = new Mp3D3Tagger(); editMp3.Tag = tagBox.Text; editMp3.Artist = artistBox.Text; editMp3.Album = albumBox.Text; editMp3.Year = yearBox.Text; editMp3.Title = titleBox.Text; editMp3.Comment = commentBox.Text; editMp3.Genre = genreBox.Text; editMp3.CreateTheNewMp3(@mp3TextBox.Text, "C:\\Users\\Szakolczai Martin\\Desktop\\prob3.mp3"); ClearIDTags(); listBox1.Items.Clear(); ListDirectory(pathText.Text); }