public void OpenSelectedVideo() { if (listView.SelectedItems.Count == 1) { Photo photo = (Photo)listView.SelectedItems[0].Tag; VideoUpLoadDownLoad.OpenVideo(photo.PhotoPath, photo.PhotoName, photo.Title); } }
//删除视频文件 public static void DeleteVideo(int PhotoID, string PhotoPath, string PhotoName) { VideoUpLoadDownLoad.DeleteFile(PhotoPath, PhotoName); VideoDataAccess.DeleteYj(PhotoID); }