تقييم الموضوع :
  • 0 أصوات - بمعدل 0
  • 1
  • 2
  • 3
  • 4
  • 5
من يستطيع مساعدتي في حل مشكلة تقطع الفيديو في ميديا بلاير سي شارب
#1
private void timer1_Tick(object sender, EventArgs e)
        {
             if (axWindowsMediaPlayer1.currentMedia != null)
            {
               iTalk_TrackBar1.Maximum = Convert.ToInt32(axWindowsMediaPlayer1.currentMedia.duration);
              iTalk_TrackBar1.Value = Convert.ToInt32(axWindowsMediaPlayer1.Ctlcontrols.currentPosition);

                //نص عدد الدقائق والثواني
                int allSize1 = Convert.ToInt32(axWindowsMediaPlayer1.currentMedia.duration);
                int hour1 = allSize1 / 3600;
                int abider1 = allSize1 % 3600;
                int minute1 = abider1 / 60;
                int second1 = abider1 % 60;

                //النص المتغير لعدد الدقائق والثواني
                int allSize2 = Convert.ToInt32(axWindowsMediaPlayer1.Ctlcontrols.currentPosition);
                int hour2 = allSize2 / 3600;
                int abider2 = allSize2 % 3600;
                int minute2 = abider2 / 60;
                int second2 = abider2 % 60;

                label1.Text = (hour2 + ":" + minute2 + ":" + second2 + "  /  " + hour1 + ":" + minute1 + ":" + second1).ToString();
الرد }}}
تم الشكر بواسطة:


الردود في هذا الموضوع
من يستطيع مساعدتي في حل مشكلة تقطع الفيديو في ميديا بلاير سي شارب - بواسطة abdaalwagih - 02-05-17, 06:13 PM


التنقل السريع :


يقوم بقرائة الموضوع: بالاضافة الى ( 1 ) ضيف كريم