Hello,
I'm trying to find out why the last commented command is necessary in order to play a sound:
private void Window_ContentRendered(object sender, EventArgs e)
{
MediaElement MediaElement1 = new MediaElement();
MediaElement1.Source = new Uri(@"My-absolute-path");
//myGrid.Children.Add(MediaElement1);
}
Does anybody know? Thanks!