日期:2014-05-17  浏览次数:20862 次

c# mediaplayer 播放问题
哪位大侠可以告诉我为什么程序this.axWindowsMediaPlayer1.Ctlcontrols.playItem(axWindowsMediaPlayer1.currentPlaylist.get_Item(s));前后2次令s=0。但播放的结果却不一样,前后相差一首歌????
 public void play(int s)
  {
  axWindowsMediaPlayer1.Ctlenabled = true;
  this.axWindowsMediaPlayer1.Ctlcontrols.playItem(axWindowsMediaPlayer1.currentPlaylist.get_Item(s));
   
  }

------解决方案--------------------
设置列宽就行了,你也可以写拖动事件啊,即使拖了也设置列宽为0,就隐藏了