// Token: 0x0600002E RID: 46 RVA: 0x00005ED8 File Offset: 0x000040D8 private void open_Click(object sender, EventArgs e) { if (Program.open.ShowDialog() == DialogResult.OK) { file = new myFile(); if (file.openFile(Program.open.FileName, FileMode.Open)) { Form2 f = new Form2(file.detectID3()); } } }
// Token: 0x06000032 RID: 50 RVA: 0x00005F70 File Offset: 0x00004170 private void save_Click(object sender, EventArgs e) { if (Program.save.ShowDialog() == DialogResult.OK) { //if (Form1.values[6].Enabled) //{ // Program.writeID3v2(); //} //else file = new myFile(); if (file.openFile(Program.save.FileName, FileMode.Create)) { myID3v1tag.writeID3v1(); file.writeAllBytes(myID3v1tag.getOutput()); } } }