如何处理DZRPlayer完成播放当前曲目?

时间:2016-04-27 14:25:51

标签: ios deezer

我尝试使用public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void Form1_Load(object sender, EventArgs e) { Form2 myForm2 = new Form2(); // Do not use this line if you handle looping through the controls // in your combobox1_SelectedIndexChanged method. comboBox1.SelectedIndexChanged += myForm2.HandlerForIndexChanges; myForm2.Show(); } private void comboBox1_SelectedIndexChanged(object sender, EventArgs e) { // This handles the selection change. foreach (Form2 cont in panel4.Controls.OfType<Form2>()) { cont.SomeOtherWay("Some", "Other", "Way"); } } } public partial class Form2 : Form { public Form2() { InitializeComponent(); } public void HandlerForIndexChanges(object o, EventArgs e) { // I can handle the event change here for my form as well. } public void SomeOtherWay(string st, string st2, string st3) { // Access to more data!!! } } 来处理轨道的结尾,但从未使用缓冲的Bytes与totalBytes相同来调用它。 是否可以处理轨道末端?

1 个答案:

答案 0 :(得分:0)

也许progress的{​​{1}}属性可以派上用场。

DZRPlayer