private void добавитьToolStripMenuItem_Click(object sender, EventArgs e) { OpenFileDialog opg = new OpenFileDialog(); if (opg.ShowDialog() == DialogResult.OK) { var d = mp.newMedia(opg.FileName); p.appendItem(d); ChangePL?.Invoke(this); } }
private void нижеToolStripMenuItem_Click(object sender, EventArgs e) { p.moveItem(selected, selected + 1); ChangePL?.Invoke(this); }
private void удалитьToolStripMenuItem_Click(object sender, EventArgs e) { p.removeItem(p.Item[selected]); ChangePL?.Invoke(this); }
private void PlayList_Load(object sender, EventArgs e) { ChangePL?.Invoke(this); }