Window Media Player Design in C sharp

                                Window Media Player


                           Window media player design in c sharp 

Tools 

1 . Window media player tool 

2 . Dialogbox 

3 . Simple window form  


Coding

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace Media_Player
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }


        private void openFileToolStripMenuItem_Click(object sender, EventArgs e)
        {

            openFileDialog1.Filter = "(mp3,wav,mp4,mov,wmv,mpg)|*.mp3;*.wav;*.mp4;*.mov;*.wmv;*.mpg|all files|*.*";
            if (openFileDialog1.ShowDialog() == DialogResult.OK)
                axWindowsMediaPlayer1.URL = openFileDialog1.FileName; 
        }

        private void axWindowsMediaPlayer1_Enter(object sender, EventArgs e)
        {

        }

    }
}


Click here to download Source Code 

Source Code



About media player

Windows Media Player (WMP) is a software application from Microsoft used to play, store and organize digital audio, images and video. While earlier editions of WMP were released for PC s running a variety of operating system operating systems, including Windows Mobile.  












Share on Google Plus

About Unknown

This is a short description in the author block about the author. You edit it by entering text in the "Biographical Info" field in the user admin panel.
    Blogger Comment
    Facebook Comment

0 comments:

Post a Comment

Powered by Blogger.

Translate

 
 
.