示例#1
0
        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);
            }
        }
示例#2
0
 private void нижеToolStripMenuItem_Click(object sender, EventArgs e)
 {
     p.moveItem(selected, selected + 1);
     ChangePL?.Invoke(this);
 }
示例#3
0
 private void удалитьToolStripMenuItem_Click(object sender, EventArgs e)
 {
     p.removeItem(p.Item[selected]);
     ChangePL?.Invoke(this);
 }
示例#4
0
 private void PlayList_Load(object sender, EventArgs e)
 {
     ChangePL?.Invoke(this);
 }