Beats Media Player HD .. C# Project





  





Coding of Player

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;
using WMPLib;
using AxWMPLib;
using System.Threading;
namespace Beats_Audio_Player_HD
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            Thread t = new Thread( new ThreadStart(suplashstart));
            t.Start();
            Thread.Sleep(5000);
            InitializeComponent();
            t.Abort();
        }
        public void suplashstart()
        {
            Application.Run(new Form2());       
       
        }
      
        private void button1_Click(object sender, EventArgs e)
        {
            OpenFileDialog open = new OpenFileDialog();
            open.Filter = "(mp3,wav,mp4,mov,wmv,mpg)|*.mp3;*.wav;*.mp4;*.mov;*.wmv;*.flv;*.mkv;*.avi;*.mpg|all files|*.*";
            DialogResult result = open.ShowDialog();
            if (result == DialogResult.OK)
            {
                // if (Path.GetExtension(open.FileName) == ".mp4")
                axWindowsMediaPlayer1.URL = open.FileName;
            }
        }
        private void closebutton_Click(object sender, EventArgs e)
        {
            Application.Exit();
        }
        private void monoFlat_ThemeContainer1_Click(object sender, EventArgs e)
        {
        }
       
    }
}

Splash Screen 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 Beats_Audio_Player_HD
{
    public partial class Form2 : Form
    {
        public Form2()
        {
            InitializeComponent();
        }

        private void timer1_Tick(object sender, EventArgs e)
        {
            progressBarX1.Increment(1);
            if (progressBarX1.Value == 200)
            {
                timer1.Stop();
            }
        }

        private void monoFlat_ThemeContainer1_Click(object sender, EventArgs e)
        {

        }
    }
}


Click here to Download Source Code 

Source Code


                                                 Download Setup :
SHARE

Milan Tomic

Hi. I’m Designer of Blog Magic. I’m CEO/Founder of ThemeXpose. I’m Creative Art Director, Web Designer, UI/UX Designer, Interaction Designer, Industrial Designer, Web Developer, Business Enthusiast, StartUp Enthusiast, Speaker, Writer and Photographer. Inspired to make things looks better.

  • Image
  • Image
  • Image
  • Image
  • Image
    Blogger Comment
    Facebook Comment

2 comments:

  1. plz snd me its code talhaghaffar98@gmail.com is my email address

    ReplyDelete
  2. Code is already given above

    ReplyDelete