如何在实现播放器的自动轮换播放

解决方案 »

  1.   


     public Form1()
            {
                InitializeComponent();
                axWindowsMediaPlayer1.StatusChange += new EventHandler(axWindowsMediaPlayer1_StatusChange);
            }        void axWindowsMediaPlayer1_StatusChange(object sender, EventArgs e)
            {
                if (axWindowsMediaPlayer1.playState == WMPLib.WMPPlayState.wmppsStopped)
                {
                    MessageBox.Show("Over");            }
            }