windows media player statuschange not working C# windows form app
<p>I would like to play a list of videos one after the other.For that i am catching the status change even and using the same.But its not working fine.</p>

<p>Below is my code.Pllease let me know where am i wrong.</p>

<pre><code> private void axWindowsMediaPlayer1_StatusChange(object sender, EventArgs e)
    {
        if (axWindowsMediaPlayer1.status.Equals("Stopped"))
        {

            if (i &lt; VideoPlayer.videoUrls.Length)
            {

               //axWindowsMediaPlayer1.openPlayer(VideoPlayer.videoUrls[i]);
               axWindowsMediaPlayer1.settings.invokeURLs = true;
               // axWindowsMediaPlayer1.launchURL(VideoPlayer.videoUrls[i]);
               axWindowsMediaPlayer1.settings.autoStart = true;
                axWindowsMediaPlayer1.URL = VideoPlayer.videoUrls[i];
               axWindowsMediaPlayer1.fullScreen = false;
                axWindowsMediaPlayer1.Ctlcontrols.play();

                i++;

            }
        }
    }
</code></pre>

<p>Please forward your suggestions.</p>
