02-05-17, 07:25 PM
جرب هذا العديل
البطئ قد يكون هناك مشكلة في المشغل نفسه ولكن جرب ان تجعل Interval الخاص بالتايمر 200 مثلاً
PHP كود :
private void timer1_Tick(object sender, EventArgs e)
{
if (axWindowsMediaPlayer1.playState == WMPLib.WMPPlayState.wmppsPlaying)
{
iTalk_TrackBar1.Maximum = 100;
iTalk_TrackBar1.Value = Convert.ToInt32((axWindowsMediaPlayer1.Ctlcontrols.currentPosition / axWindowsMediaPlayer1.currentMedia.duration) * 100);
label1.Text = axWindowsMediaPlayer1.Ctlcontrols.currentPositionString + " / " + axWindowsMediaPlayer1.currentMedia.durationString;
}
}
البطئ قد يكون هناك مشكلة في المشغل نفسه ولكن جرب ان تجعل Interval الخاص بالتايمر 200 مثلاً
