title: How to detect when a mp3 file has finished playing
body: <p>My c# windows form is enable to play an mp3 file.I did this using this code</p>
  
  <pre><code>    WMPLib.WindowsMediaPlayer wplayer;
      wplayer = new WMPLib.WindowsMediaPlayer();
      wplayer.URL = "c:/Standup.mp3";
      wplayer.controls.play();
  </code></pre>
  
  <p>this works perfectly but i want to know when the file has finished playing so that i can restart it.</p>
  
  <p>Pls how do i do that?</p>