예제 #1
0
        private void test(object sender, _WMPOCXEvents_PositionChangeEvent e)

        {
            // if (axWindowsMediaPlayer1.playState == WMPLib.WMPPlayState.wmppsPlaying)
            //  axWindowsMediaPlayer1.Ctlcontrols.currentPosition = trackBar1.Value;
            //UpdateStatusBarTime();
        }
예제 #2
0
 void WindowsMediaPlayer部品_PositionChange(object sender, _WMPOCXEvents_PositionChangeEvent e)
 {
     if (再生位置が変更された != null)
     {
         再生位置が変更された(this, new 再生位置イベント情報(e));
     }
 }
예제 #3
0
 public virtual void PositionChange(double oldPosition, double newPosition)
 {
     _WMPOCXEvents_PositionChangeEvent positionchangeEvent = new _WMPOCXEvents_PositionChangeEvent(oldPosition, newPosition);
     this.parent.RaiseOnPositionChange(this.parent, positionchangeEvent);
 }
예제 #4
0
 internal void RaiseOnPositionChange(object sender, _WMPOCXEvents_PositionChangeEvent e)
 {
     if ((this.PositionChange != null)) {
         this.PositionChange(sender, e);
     }
 }
예제 #5
0
파일: Form1.cs 프로젝트: mehanix/SoundPlay
 private void wplayer_PositionChange(object sender, _WMPOCXEvents_PositionChangeEvent e)
 {
 }
예제 #6
0
 private void wmp_PositionChange(object sender, _WMPOCXEvents_PositionChangeEvent e)
 {
     textBox1.Text = e.newPosition.ToString();
 }
예제 #7
0
 public 再生位置イベント情報(_WMPOCXEvents_PositionChangeEvent e)
 {
     oldPosition = e.oldPosition;
     newPosition = e.newPosition;
 }
예제 #8
0
 private void MediaPlayer_PositionChange(object sender, _WMPOCXEvents_PositionChangeEvent e)
 {
     Console.WriteLine("Position changed.");
     newPosition = e.newPosition;
     UpdatePlaylist(true);
 }