/// <summary>
/// 双击选择播放列表项进行播放
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void lv_playlist_MouseDoubleClick(object sender, MouseEventArgs e)
{
ListViewHitTestInfo info = lv_playlist.HitTest(e.X, e.Y);
if (info.Item != null)
{
gbxplayer1.Text = "视频1";
player1.playlist.stop();
player1.playlist.items.clear();
var videoitem = info.Item as ListViewItem;
long geyeid = long.Parse(videoitem.SubItems[2].Text);
PlayVidoe(playlist[geyeid], playerList[0]);
SetGroupBoxTitle(playerListIndex[0], playlist[geyeid].puName);
}
}
本文转自94cool博客园博客,原文链接:http://www.cnblogs.com/94cool/p/3146030.html,如需转载请自行联系原作者