title: Trouble with multiple buttons to play sounds Windows Phone
body: <p>Here is three standard <code>buttons</code> with the media element in xaml :</p>
  
  <pre><code>&lt;Button Content="Sound1"
              Click="Button_Click1"
              HorizontalAlignment="Center"  
              VerticalAlignment="Top"/&gt;
      &lt;MediaElement x:Name="PlaySound1"
                      Grid.Row="1"
                      /&gt;
  
      &lt;Button Content="Sound2" 
              Click="Button_Click2"
              HorizontalAlignment="Center"  
              VerticalAlignment="Top" 
              Margin="177,72,177,0"
              Width="126"/&gt;
      &lt;MediaElement x:Name="PlaySound2"
                      Grid.Row="1"
                      /&gt;
  
      &lt;Button Content="Sound3" 
              Click="Button_Click3"
              HorizontalAlignment="Center"
              VerticalAlignment="Top"
              Margin="177,149,177,0"                      
              Width="126" /&gt;
      &lt;MediaElement x:Name="PlaySound3"
                      Grid.Row="1"
                      /&gt;
  </code></pre>
  
  <p>Here is The simple code I used, and when I try to play a third button, it doesn't work, I clicked the <code>buttons</code> in all combinations (first the <code>button2</code>, button3, and <code>button1</code>) and it doesn't worked.</p>
  
  <pre><code>private void Button_Click1(object sender, RoutedEventArgs e)
  {
      PlaySound1.Source = new Uri("sound.wma", UriKind.Relative);
      PlaySound1.Stop();
      PlaySound1.Play();
  }
  
  private void Button_Click2(object sender, RoutedEventArgs e)
  {
      PlaySound2.Source = new Uri("sound2.wma", UriKind.Relative);
      PlaySound2.Stop();
      PlaySound2.Play();
  
  }
  
  private void Button_Click3(object sender, RoutedEventArgs e)
  {
      PlaySound3.Source = new Uri("sound3.wma", UriKind.Relative);
      PlaySound3.Stop();
      PlaySound3.Play();
  }
  </code></pre>
  
  <p>What is the correct method to use multiple buttons with multiple sounds?</p>