how to do mdia player in visual studio 2015

0

The establishment of Fedohat player





First: the required stuff.

windows media player

openfiledialog

menustrip

Second: the method developed.

You choose possible that you like and I did in the beginning, I advise you to put it as shown in the picture



Third, the design of buttons and text boxes.


First Click one click on the button or the text that you want to modify it and then go to the option box (properties) and go to the option text and change the name as you like, and I advise you to be as shown in the top image and font option can be adjusted on-line and shape as you like, and I I advise you to be Arial, 9.75pt, style = Bold and this line that I'm I prefer.
It can be adjusted on the window (form) as you like and if you want to put the icon I Annsahk Bhama Site Click here
But its outlook me square texts (text box) You can make it in the Arial font, 11.25pt, style = Bold.


Fourth: Coded.

Open the open file
 OpenFileDialog1.ShowDialog ()

Stop stop
AxWindowsMediaPlayer1.Ctlcontrols.stop ()

Filled play
AxWindowsMediaPlayer1.URL = (OpenFileDialog1.FileName)

Pause pause
AxWindowsMediaPlayer1.Ctlcontrols.pause ()
PlayToolStripMenuItem.Visible = True



Akmal resume
AxWindowsMediaPlayer1.Ctlcontrols.play ()



Fifth: the program experience

And you can try it by pressing the start button, as shown in the picture




Thus you have a notebook and a simple thank you

Author: Mahmoud Ahmed

To communicate
facebook:
https://www.facebook.com/mahmoud.ahmad.980967

youtube:
https://www.youtube.com/channel/UCibGYnyJzB-Yy849HJuKjsA

لا يوجد تعليقات

أضف تعليق

الأكثر مشاهدة