• 大小: 0.15M
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2020-12-26
  • 语言: C#
  • 标签: C#  

资源简介

c#播放Mp3项目

资源截图

代码片段和文件信息

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 stopplaymp3
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender EventArgs e)
        {
            if (openFileDialog1.ShowDialog() == DialogResult.OK)
            {
                axWindowsMediaPlayer1.URL = openFileDialog1.FileName;
            }
        }

        private void button2_Click(object sender EventArgs e)
        {
            axWindowsMediaPlayer1.Ctlcontrols.stop();
        }
    }
}

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

     文件      53248  2009-02-07 09:47  播放Mp3\stopplaymp3\bin\Debug\AxInterop.WMPLib.dll

     文件     290816  2010-08-18 17:50  播放Mp3\stopplaymp3\bin\Debug\Interop.WMPLib.dll

     文件       9728  2009-02-07 09:49  播放Mp3\stopplaymp3\bin\Debug\stopplaymp3.exe

     文件      19968  2009-02-07 09:49  播放Mp3\stopplaymp3\bin\Debug\stopplaymp3.pdb

     文件      14328  2009-02-07 09:49  播放Mp3\stopplaymp3\bin\Debug\stopplaymp3.vshost.exe

     文件        490  2007-07-21 01:33  播放Mp3\stopplaymp3\bin\Debug\stopplaymp3.vshost.exe.manifest

     文件        759  2009-02-07 09:49  播放Mp3\stopplaymp3\Form1.cs

     文件       4040  2009-02-07 09:49  播放Mp3\stopplaymp3\Form1.Designer.cs

     文件       6713  2009-02-07 09:49  播放Mp3\stopplaymp3\Form1.resx

     文件      53248  2009-02-07 09:47  播放Mp3\stopplaymp3\obj\Debug\AxInterop.WMPLib.dll

     文件     290816  2010-08-18 17:50  播放Mp3\stopplaymp3\obj\Debug\Interop.WMPLib.dll

     文件       1035  2009-02-07 09:49  播放Mp3\stopplaymp3\obj\Debug\stopplaymp3.csproj.FileListAbsolute.txt

     文件        847  2009-02-07 09:49  播放Mp3\stopplaymp3\obj\Debug\stopplaymp3.csproj.GenerateResource.Cache

     文件        544  2009-02-07 09:47  播放Mp3\stopplaymp3\obj\Debug\stopplaymp3.csproj.ResolveComReference.cache

     文件       9728  2009-02-07 09:49  播放Mp3\stopplaymp3\obj\Debug\stopplaymp3.exe

     文件        737  2009-02-07 09:49  播放Mp3\stopplaymp3\obj\Debug\stopplaymp3.Form1.resources

     文件      19968  2009-02-07 09:49  播放Mp3\stopplaymp3\obj\Debug\stopplaymp3.pdb

     文件        180  2009-02-07 09:49  播放Mp3\stopplaymp3\obj\Debug\stopplaymp3.Properties.Resources.resources

     文件        492  2009-02-07 09:46  播放Mp3\stopplaymp3\Program.cs

     文件       1354  2009-02-07 09:46  播放Mp3\stopplaymp3\Properties\AssemblyInfo.cs

     文件       2872  2009-02-07 09:46  播放Mp3\stopplaymp3\Properties\Resources.Designer.cs

     文件       5612  2009-02-07 09:46  播放Mp3\stopplaymp3\Properties\Resources.resx

     文件       1096  2009-02-07 09:46  播放Mp3\stopplaymp3\Properties\Settings.Designer.cs

     文件        249  2009-02-07 09:46  播放Mp3\stopplaymp3\Properties\Settings.settings

     文件       4380  2009-02-07 09:49  播放Mp3\stopplaymp3\stopplaymp3.csproj

     文件        923  2009-02-07 09:46  播放Mp3\stopplaymp3.sln

    ..A..H.     17408  2009-02-07 09:50  播放Mp3\stopplaymp3.suo

     目录          0  2012-05-02 09:52  播放Mp3\stopplaymp3\obj\Debug\TempPE

     目录          0  2012-05-02 09:52  播放Mp3\stopplaymp3\bin\Debug

     目录          0  2012-05-02 09:52  播放Mp3\stopplaymp3\obj\Debug

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

评论

共有 条评论