title: Play wav sound when click to button in wpf
body: <p>i want to play sound with click event of my button click event in my whole applciation, </p>
  
  <p>i found 1 code that play sound when i click the button.</p>
  
  <pre><code>private void btn_Click(object sender, RoutedEventArgs e)
      {
          MediaPlayer mplayer = new MediaPlayer();
          mplayer.Open(new Uri("ding.wav", UriKind.Relative));
          mplayer.Play();
          //our code...
      }
  </code></pre>
  
  <p>i know this is not right solution, so please tell me if there are other solution, becoz i have to write this 3 line to each and every button click event and its tedious job. </p>
  
  <p>please help to solve this problem.</p>
  
  <p>waiting for reply...</p>
  
  <p>thanks in advance</p>