/// <summary> /// 选中事件 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> public void Select(object sender, EV9000Event e) { //Console.WriteLine(e.filepath); foreach (EV9000List list in filelist) { if (sender != list && !list.IsCurrentPlay) { if (!isCtrlIsDown) { list.SetNotSelect(); } } } }
/// <summary> /// 双击事件 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> public void DBClick(object sender, EV9000Event e) { foreach (EV9000List list in filelist) { if (sender != list) { list.SetNotSelect(); } } if (!e.filepath.Equals("")) { iev9000player.PlayFileByFilePath(e.filepath.Trim(), e.filepath.Substring(e.filepath.LastIndexOf(".") + 1).ToLower()); iev9000player.StartPlayTimer(); } }