资源简介

使用Window 自带的控件 axWindowsMediaPlayer 制作播放器

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using WMPLib;

namespace Audio_Player
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
            lstFiles.View = View.List;
           AddFilesToolStripMenuItem.Click += AddFilesToolStripMenuItem_Click;
            ExitToolStripMenuItem.Click += ExitToolStripMenuItem_Click;
            HelpToolStripMenuItem.Click += HelpToolStripMenuItem_Click;
            lstFiles.DoubleClick += LstFiles_DoubleClick;
            
        }

        private void HelpToolStripMenuItem_Click(object sender EventArgs e)
        {
            MessageBox.Show(“Audio Player  By  Kevin Lu \r\r“ +
                            “Tel: 1234567898“);
        }

        private void ExitToolStripMenuItem_Click

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

    ..A..H.     46592  2019-01-21 22:17  Audio Player\.vs\Audio Player\v15\.suo

     文件          0  2019-01-18 15:51  Audio Player\.vs\Audio Player\v15\Server\sqlite3\db.lock

     文件     667648  2019-01-21 21:57  Audio Player\.vs\Audio Player\v15\Server\sqlite3\storage.ide

     文件      32768  2019-01-21 11:22  Audio Player\.vs\Audio Player\v15\Server\sqlite3\storage.ide-shm

     文件    4136512  2019-01-21 22:17  Audio Player\.vs\Audio Player\v15\Server\sqlite3\storage.ide-wal

     文件        187  2019-01-18 15:51  Audio Player\Audio Player\App.config

     文件       5318  2019-01-18 16:09  Audio Player\Audio Player\Audio Player.csproj

     文件      14848  2019-01-21 22:04  Audio Player\Audio Player\bin\Debug\Audio Player.exe

     文件        187  2019-01-18 15:51  Audio Player\Audio Player\bin\Debug\Audio Player.exe.config

     文件      32256  2019-01-21 22:04  Audio Player\Audio Player\bin\Debug\Audio Player.pdb

     文件      53760  2019-01-18 16:01  Audio Player\Audio Player\bin\Debug\AxInterop.WMPLib.dll

     文件     331264  2019-01-18 15:54  Audio Player\Audio Player\bin\Debug\Interop.WMPLib.dll

     文件       5128  2019-01-21 22:17  Audio Player\Audio Player\Form1.cs

     文件      11184  2019-01-21 21:59  Audio Player\Audio Player\Form1.Designer.cs

     文件       6884  2019-01-21 21:59  Audio Player\Audio Player\Form1.resx

     文件         42  2019-01-18 16:01  Audio Player\Audio Player\obj\Debug\Audio Player.csproj.CoreCompileInputs.cache

     文件       1557  2019-01-21 21:56  Audio Player\Audio Player\obj\Debug\Audio Player.csproj.FileListAbsolute.txt

     文件       1012  2019-01-21 21:59  Audio Player\Audio Player\obj\Debug\Audio Player.csproj.GenerateResource.cache

     文件        865  2019-01-18 15:59  Audio Player\Audio Player\obj\Debug\Audio Player.csproj.ResolveComReference.cache

     文件      11466  2019-01-18 15:51  Audio Player\Audio Player\obj\Debug\Audio Player.csprojAssemblyReference.cache

     文件      14848  2019-01-21 22:04  Audio Player\Audio Player\obj\Debug\Audio Player.exe

     文件      32256  2019-01-21 22:04  Audio Player\Audio Player\obj\Debug\Audio Player.pdb

     文件        737  2019-01-21 21:59  Audio Player\Audio Player\obj\Debug\Audio_Player.Form1.resources

     文件        180  2019-01-18 16:09  Audio Player\Audio Player\obj\Debug\Audio_Player.Properties.Resources.resources

     文件      53760  2019-01-18 16:01  Audio Player\Audio Player\obj\Debug\AxInterop.WMPLib.dll

     文件      17395  2019-01-21 11:27  Audio Player\Audio Player\obj\Debug\DesignTimeResolveAssemblyReferences.cache

     文件       7604  2019-01-18 16:01  Audio Player\Audio Player\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache

     文件      56832  2019-01-18 15:54  Audio Player\Audio Player\obj\Debug\Interop.MediaPlayer.dll

     文件       4608  2019-01-18 15:59  Audio Player\Audio Player\obj\Debug\Interop.WMPLauncher.dll

     文件     331264  2019-01-18 15:54  Audio Player\Audio Player\obj\Debug\Interop.WMPLib.dll

............此处省略28个文件信息

评论

共有 条评论