我有一個視頻文件在媒體元素中播放。我需要保持它玩,所以我想: me.play();
me.MediaEnded += new RoutedEventHandler(me_MediaEnded);
與此事件方法: //loop to keep video playing continuously
void me_MediaEnded(object sender, EventArgs e)
我已經將導入按鈕與媒體元素鏈接起來,所以我可以播放歌曲。 // Create OpenFileDialog
Microsoft.Win32.OpenFileDialog dlg = new Microsoft.Win32.OpenFileDialog();
// Set filter for file extension and default file exte