├── .gitattributes
├── .gitignore
├── 163lyric
├── 163lyric.sln
└── 163lyric
│ ├── 163lyric.csproj
│ ├── Form1.Designer.cs
│ ├── Form1.cs
│ ├── Form1.resx
│ ├── HttpRequest.cs
│ ├── NetEaseLyric.cs
│ ├── Program.cs
│ └── Properties
│ ├── AssemblyInfo.cs
│ ├── Resources.Designer.cs
│ ├── Resources.resx
│ ├── Settings.Designer.cs
│ └── Settings.settings
└── README.md
/.gitattributes:
--------------------------------------------------------------------------------
1 | # Auto detect text files and perform LF normalization
2 | * text=auto
3 |
4 | # Custom for Visual Studio
5 | *.cs diff=csharp
6 |
7 | # Standard to msysgit
8 | *.doc diff=astextplain
9 | *.DOC diff=astextplain
10 | *.docx diff=astextplain
11 | *.DOCX diff=astextplain
12 | *.dot diff=astextplain
13 | *.DOT diff=astextplain
14 | *.pdf diff=astextplain
15 | *.PDF diff=astextplain
16 | *.rtf diff=astextplain
17 | *.RTF diff=astextplain
18 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | ## Ignore Visual Studio temporary files, build results, and
2 | ## files generated by popular Visual Studio add-ons.
3 |
4 | # User-specific files
5 | *.suo
6 | *.user
7 | *.userosscache
8 | *.sln.docstates
9 |
10 | # Build results
11 | [Dd]ebug/
12 | [Dd]ebugPublic/
13 | [Rr]elease/
14 | [Rr]eleases/
15 | x64/
16 | x86/
17 | build/
18 | bld/
19 | [Bb]in/
20 | [Oo]bj/
21 |
22 | # Roslyn cache directories
23 | *.ide/
24 |
25 | # MSTest test Results
26 | [Tt]est[Rr]esult*/
27 | [Bb]uild[Ll]og.*
28 |
29 | #NUNIT
30 | *.VisualState.xml
31 | TestResult.xml
32 |
33 | # Build Results of an ATL Project
34 | [Dd]ebugPS/
35 | [Rr]eleasePS/
36 | dlldata.c
37 |
38 | *_i.c
39 | *_p.c
40 | *_i.h
41 | *.ilk
42 | *.meta
43 | *.obj
44 | *.pch
45 | *.pdb
46 | *.pgc
47 | *.pgd
48 | *.rsp
49 | *.sbr
50 | *.tlb
51 | *.tli
52 | *.tlh
53 | *.tmp
54 | *.tmp_proj
55 | *.log
56 | *.vspscc
57 | *.vssscc
58 | .builds
59 | *.pidb
60 | *.svclog
61 | *.scc
62 |
63 | # Chutzpah Test files
64 | _Chutzpah*
65 |
66 | # Visual C++ cache files
67 | ipch/
68 | *.aps
69 | *.ncb
70 | *.opensdf
71 | *.sdf
72 | *.cachefile
73 |
74 | # Visual Studio profiler
75 | *.psess
76 | *.vsp
77 | *.vspx
78 |
79 | # TFS 2012 Local Workspace
80 | $tf/
81 |
82 | # Guidance Automation Toolkit
83 | *.gpState
84 |
85 | # ReSharper is a .NET coding add-in
86 | _ReSharper*/
87 | *.[Rr]e[Ss]harper
88 | *.DotSettings.user
89 |
90 | # JustCode is a .NET coding addin-in
91 | .JustCode
92 |
93 | # TeamCity is a build add-in
94 | _TeamCity*
95 |
96 | # DotCover is a Code Coverage Tool
97 | *.dotCover
98 |
99 | # NCrunch
100 | _NCrunch_*
101 | .*crunch*.local.xml
102 |
103 | # MightyMoose
104 | *.mm.*
105 | AutoTest.Net/
106 |
107 | # Web workbench (sass)
108 | .sass-cache/
109 |
110 | # Installshield output folder
111 | [Ee]xpress/
112 |
113 | # DocProject is a documentation generator add-in
114 | DocProject/buildhelp/
115 | DocProject/Help/*.HxT
116 | DocProject/Help/*.HxC
117 | DocProject/Help/*.hhc
118 | DocProject/Help/*.hhk
119 | DocProject/Help/*.hhp
120 | DocProject/Help/Html2
121 | DocProject/Help/html
122 |
123 | # Click-Once directory
124 | publish/
125 |
126 | # Publish Web Output
127 | *.[Pp]ublish.xml
128 | *.azurePubxml
129 | # TODO: Comment the next line if you want to checkin your web deploy settings
130 | # but database connection strings (with potential passwords) will be unencrypted
131 | *.pubxml
132 | *.publishproj
133 |
134 | # NuGet Packages
135 | *.nupkg
136 | # The packages folder can be ignored because of Package Restore
137 | **/packages/*
138 | # except build/, which is used as an MSBuild target.
139 | !**/packages/build/
140 | # If using the old MSBuild-Integrated Package Restore, uncomment this:
141 | #!**/packages/repositories.config
142 |
143 | # Windows Azure Build Output
144 | csx/
145 | *.build.csdef
146 |
147 | # Windows Store app package directory
148 | AppPackages/
149 |
150 | # Others
151 | sql/
152 | *.Cache
153 | ClientBin/
154 | [Ss]tyle[Cc]op.*
155 | ~$*
156 | *~
157 | *.dbmdl
158 | *.dbproj.schemaview
159 | *.pfx
160 | *.publishsettings
161 | node_modules/
162 |
163 | # RIA/Silverlight projects
164 | Generated_Code/
165 |
166 | # Backup & report files from converting an old project file
167 | # to a newer Visual Studio version. Backup files are not needed,
168 | # because we have git ;-)
169 | _UpgradeReport_Files/
170 | Backup*/
171 | UpgradeLog*.XML
172 | UpgradeLog*.htm
173 |
174 | # SQL Server files
175 | *.mdf
176 | *.ldf
177 |
178 | # Business Intelligence projects
179 | *.rdl.data
180 | *.bim.layout
181 | *.bim_*.settings
182 |
183 | # Microsoft Fakes
184 | FakesAssemblies/
185 |
186 | # =========================
187 | # Operating System Files
188 | # =========================
189 |
190 | # OSX
191 | # =========================
192 |
193 | .DS_Store
194 | .AppleDouble
195 | .LSOverride
196 |
197 | # Thumbnails
198 | ._*
199 |
200 | # Files that might appear on external disk
201 | .Spotlight-V100
202 | .Trashes
203 |
204 | # Directories potentially created on remote AFP share
205 | .AppleDB
206 | .AppleDesktop
207 | Network Trash Folder
208 | Temporary Items
209 | .apdisk
210 |
211 | # Windows
212 | # =========================
213 |
214 | # Windows image file caches
215 | Thumbs.db
216 | ehthumbs.db
217 |
218 | # Folder config file
219 | Desktop.ini
220 |
221 | # Recycle Bin used on file shares
222 | $RECYCLE.BIN/
223 |
224 | # Windows Installer files
225 | *.cab
226 | *.msi
227 | *.msm
228 | *.msp
229 |
230 | # Windows shortcuts
231 | *.lnk
232 |
--------------------------------------------------------------------------------
/163lyric/163lyric.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio 14
4 | VisualStudioVersion = 14.0.23107.0
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "163lyric", "163lyric\163lyric.csproj", "{7244B1C5-5EBD-40B2-BC7A-553C24CFE247}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|Any CPU = Debug|Any CPU
11 | Release|Any CPU = Release|Any CPU
12 | EndGlobalSection
13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
14 | {7244B1C5-5EBD-40B2-BC7A-553C24CFE247}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15 | {7244B1C5-5EBD-40B2-BC7A-553C24CFE247}.Debug|Any CPU.Build.0 = Debug|Any CPU
16 | {7244B1C5-5EBD-40B2-BC7A-553C24CFE247}.Release|Any CPU.ActiveCfg = Release|Any CPU
17 | {7244B1C5-5EBD-40B2-BC7A-553C24CFE247}.Release|Any CPU.Build.0 = Release|Any CPU
18 | EndGlobalSection
19 | GlobalSection(SolutionProperties) = preSolution
20 | HideSolutionNode = FALSE
21 | EndGlobalSection
22 | EndGlobal
23 |
--------------------------------------------------------------------------------
/163lyric/163lyric/163lyric.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Debug
6 | AnyCPU
7 | {7244B1C5-5EBD-40B2-BC7A-553C24CFE247}
8 | WinExe
9 | Properties
10 | _163lyric
11 | 163lyric
12 | v2.0
13 | 512
14 | publish\
15 | true
16 | Disk
17 | false
18 | Foreground
19 | 7
20 | Days
21 | false
22 | false
23 | true
24 | 0
25 | 1.0.0.%2a
26 | false
27 | false
28 | true
29 |
30 |
31 | AnyCPU
32 | true
33 | full
34 | false
35 | bin\Debug\
36 | DEBUG;TRACE
37 | prompt
38 | 4
39 |
40 |
41 | AnyCPU
42 | pdbonly
43 | true
44 | bin\Release\
45 | TRACE
46 | prompt
47 | 4
48 |
49 |
50 |
51 | False
52 | ..\..\..\..\..\应用程序数据\DLL库文件\Json35r8\Bin\DotNet20\Newtonsoft.Json.Net20.dll
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 | Form
64 |
65 |
66 | Form1.cs
67 |
68 |
69 |
70 |
71 |
72 |
73 | Form1.cs
74 |
75 |
76 | ResXFileCodeGenerator
77 | Resources.Designer.cs
78 | Designer
79 |
80 |
81 | True
82 | Resources.resx
83 | True
84 |
85 |
86 | SettingsSingleFileGenerator
87 | Settings.Designer.cs
88 |
89 |
90 | True
91 | Settings.settings
92 | True
93 |
94 |
95 |
96 |
97 | False
98 | .NET Framework 3.5 SP1
99 | true
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
114 |
--------------------------------------------------------------------------------
/163lyric/163lyric/Form1.Designer.cs:
--------------------------------------------------------------------------------
1 | namespace _163lyric
2 | {
3 | partial class Form1
4 | {
5 | ///
6 | /// 必需的设计器变量。
7 | ///
8 | private System.ComponentModel.IContainer components = null;
9 |
10 | ///
11 | /// 清理所有正在使用的资源。
12 | ///
13 | /// 如果应释放托管资源,为 true;否则为 false。
14 | protected override void Dispose(bool disposing)
15 | {
16 | if (disposing && (components != null))
17 | {
18 | components.Dispose();
19 | }
20 | base.Dispose(disposing);
21 | }
22 |
23 | #region Windows 窗体设计器生成的代码
24 |
25 | ///
26 | /// 设计器支持所需的方法 - 不要修改
27 | /// 使用代码编辑器修改此方法的内容。
28 | ///
29 | private void InitializeComponent()
30 | {
31 | this.IDLable = new System.Windows.Forms.Label();
32 | this.IDtb = new System.Windows.Forms.TextBox();
33 | this.Lyrictb = new System.Windows.Forms.TextBox();
34 | this.Lyriclabel = new System.Windows.Forms.Label();
35 | this.Getbtn = new System.Windows.Forms.Button();
36 | this.Copybtn = new System.Windows.Forms.Button();
37 | this.SuspendLayout();
38 | //
39 | // IDLable
40 | //
41 | this.IDLable.AutoSize = true;
42 | this.IDLable.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
43 | this.IDLable.Location = new System.Drawing.Point(12, 20);
44 | this.IDLable.Name = "IDLable";
45 | this.IDLable.Size = new System.Drawing.Size(24, 16);
46 | this.IDLable.TabIndex = 0;
47 | this.IDLable.Text = "ID";
48 | //
49 | // IDtb
50 | //
51 | this.IDtb.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
52 | | System.Windows.Forms.AnchorStyles.Right)));
53 | this.IDtb.Cursor = System.Windows.Forms.Cursors.Default;
54 | this.IDtb.Location = new System.Drawing.Point(42, 15);
55 | this.IDtb.Name = "IDtb";
56 | this.IDtb.Size = new System.Drawing.Size(134, 21);
57 | this.IDtb.TabIndex = 1;
58 | //
59 | // Lyrictb
60 | //
61 | this.Lyrictb.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
62 | | System.Windows.Forms.AnchorStyles.Left)
63 | | System.Windows.Forms.AnchorStyles.Right)));
64 | this.Lyrictb.Location = new System.Drawing.Point(15, 76);
65 | this.Lyrictb.Multiline = true;
66 | this.Lyrictb.Name = "Lyrictb";
67 | this.Lyrictb.ReadOnly = true;
68 | this.Lyrictb.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
69 | this.Lyrictb.Size = new System.Drawing.Size(257, 137);
70 | this.Lyrictb.TabIndex = 2;
71 | //
72 | // Lyriclabel
73 | //
74 | this.Lyriclabel.AutoSize = true;
75 | this.Lyriclabel.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
76 | this.Lyriclabel.Location = new System.Drawing.Point(12, 47);
77 | this.Lyriclabel.Name = "Lyriclabel";
78 | this.Lyriclabel.Size = new System.Drawing.Size(48, 16);
79 | this.Lyriclabel.TabIndex = 3;
80 | this.Lyriclabel.Text = "Lyric";
81 | //
82 | // Getbtn
83 | //
84 | this.Getbtn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
85 | this.Getbtn.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
86 | this.Getbtn.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
87 | this.Getbtn.Location = new System.Drawing.Point(197, 15);
88 | this.Getbtn.Name = "Getbtn";
89 | this.Getbtn.Size = new System.Drawing.Size(75, 23);
90 | this.Getbtn.TabIndex = 4;
91 | this.Getbtn.Text = "GET";
92 | this.Getbtn.UseVisualStyleBackColor = true;
93 | this.Getbtn.Click += new System.EventHandler(this.Getbtn_Click);
94 | //
95 | // Copybtn
96 | //
97 | this.Copybtn.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
98 | | System.Windows.Forms.AnchorStyles.Right)));
99 | this.Copybtn.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
100 | this.Copybtn.Location = new System.Drawing.Point(101, 226);
101 | this.Copybtn.Name = "Copybtn";
102 | this.Copybtn.Size = new System.Drawing.Size(75, 23);
103 | this.Copybtn.TabIndex = 5;
104 | this.Copybtn.Text = "COPY";
105 | this.Copybtn.UseVisualStyleBackColor = true;
106 | this.Copybtn.Click += new System.EventHandler(this.Copybtn_Click);
107 | //
108 | // Form1
109 | //
110 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
111 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
112 | this.ClientSize = new System.Drawing.Size(284, 261);
113 | this.Controls.Add(this.Copybtn);
114 | this.Controls.Add(this.Getbtn);
115 | this.Controls.Add(this.Lyriclabel);
116 | this.Controls.Add(this.Lyrictb);
117 | this.Controls.Add(this.IDtb);
118 | this.Controls.Add(this.IDLable);
119 | this.Name = "Form1";
120 | this.Text = "163Lyric";
121 | this.ResumeLayout(false);
122 | this.PerformLayout();
123 |
124 | }
125 |
126 | #endregion
127 |
128 | private System.Windows.Forms.Label IDLable;
129 | private System.Windows.Forms.TextBox IDtb;
130 | private System.Windows.Forms.TextBox Lyrictb;
131 | private System.Windows.Forms.Label Lyriclabel;
132 | private System.Windows.Forms.Button Getbtn;
133 | private System.Windows.Forms.Button Copybtn;
134 | }
135 | }
136 |
137 |
--------------------------------------------------------------------------------
/163lyric/163lyric/Form1.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.ComponentModel;
4 | using System.Data;
5 | using System.Drawing;
6 | using System.Text;
7 | using System.Windows.Forms;
8 |
9 | namespace _163lyric
10 | {
11 | public partial class Form1 : Form
12 | {
13 | public Form1()
14 | {
15 | InitializeComponent();
16 | }
17 |
18 | private void Getbtn_Click(object sender, EventArgs e)
19 | {
20 | NetEaseLyric lyric = new NetEaseLyric();
21 | try
22 | {
23 | Lyrictb.Text = lyric.getLyric(Convert.ToInt32(IDtb.Text.Trim()));
24 | Clipboard.SetDataObject(Lyrictb.Text);
25 | }
26 | catch {
27 | MessageBox.Show("请输入数字!");
28 | }
29 | }
30 |
31 | private void IDtb_KeyPress(object sender, KeyPressEventArgs e)
32 | {
33 |
34 | }
35 |
36 | private void Copybtn_Click(object sender, EventArgs e)
37 | {
38 | Clipboard.SetDataObject(Lyrictb.Text);
39 | }
40 | }
41 | }
42 |
--------------------------------------------------------------------------------
/163lyric/163lyric/Form1.resx:
--------------------------------------------------------------------------------
1 |
2 |
3 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 | text/microsoft-resx
110 |
111 |
112 | 2.0
113 |
114 |
115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
116 |
117 |
118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
119 |
120 |
--------------------------------------------------------------------------------
/163lyric/163lyric/HttpRequest.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 | using System.Net;
5 | using System.IO;
6 |
7 | namespace _163lyric
8 | {
9 | class HttpRequest
10 | {
11 | public string getContent(string sURL) {
12 |
13 | string sContent = ""; //Content
14 | string sLine = "";
15 |
16 | try
17 | {
18 | WebRequest wrGETURL = WebRequest.Create(sURL);
19 | Stream objStream = wrGETURL.GetResponse().GetResponseStream();
20 | StreamReader objReader = new StreamReader(objStream);
21 | while (sLine != null)
22 | {
23 | sLine = objReader.ReadLine();
24 | if (sLine != null)
25 | sContent += sLine;
26 | }
27 | }
28 |
29 | catch (Exception e) {
30 | sContent = "ERR!"+e.ToString();
31 | }
32 |
33 | return sContent;
34 | }
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/163lyric/163lyric/NetEaseLyric.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 | using Newtonsoft.Json;
5 | using Newtonsoft.Json.Linq;
6 |
7 |
8 |
9 | namespace _163lyric
10 | {
11 | class NetEaseLyric
12 | {
13 | public string getLyric(int iID) {
14 |
15 | string sLRC="";
16 | string sContent;
17 |
18 | HttpRequest hr = new HttpRequest();
19 |
20 | sContent = hr.getContent("http://music.163.com/api/song/media?id=" + iID);
21 |
22 | if (sContent.Substring(0, 4).Equals("ERR!")) return "Get lyric failed! \r\n EER: \r\n" + sContent.Substring(4);
23 |
24 | //反序列化JSON数据
25 | JObject o = (JObject)JsonConvert.DeserializeObject(sContent);
26 | sLRC = o["lyric"].ToString().Replace("\"","").Replace("\\n", "\r\n");
27 |
28 | return sLRC;
29 | }
30 | }
31 | }
32 |
--------------------------------------------------------------------------------
/163lyric/163lyric/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Windows.Forms;
4 |
5 | namespace _163lyric
6 | {
7 | static class Program
8 | {
9 | ///
10 | /// 应用程序的主入口点。
11 | ///
12 | [STAThread]
13 | static void Main()
14 | {
15 | Application.EnableVisualStyles();
16 | Application.SetCompatibleTextRenderingDefault(false);
17 | Application.Run(new Form1());
18 | }
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/163lyric/163lyric/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | // 有关程序集的一般信息由以下
6 | // 控制。更改这些特性值可修改
7 | // 与程序集关联的信息。
8 | [assembly: AssemblyTitle("163lyric")]
9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("")]
12 | [assembly: AssemblyProduct("163lyric")]
13 | [assembly: AssemblyCopyright("Copyright © 2015")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 |
17 | //将 ComVisible 设置为 false 将使此程序集中的类型
18 | //对 COM 组件不可见。 如果需要从 COM 访问此程序集中的类型,
19 | //请将此类型的 ComVisible 特性设置为 true。
20 | [assembly: ComVisible(false)]
21 |
22 | // 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID
23 | [assembly: Guid("7244b1c5-5ebd-40b2-bc7a-553c24cfe247")]
24 |
25 | // 程序集的版本信息由下列四个值组成:
26 | //
27 | // 主版本
28 | // 次版本
29 | // 生成号
30 | // 修订号
31 | //
32 | //可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值,
33 | // 方法是按如下所示使用“*”: :
34 | // [assembly: AssemblyVersion("1.0.*")]
35 | [assembly: AssemblyVersion("1.0.0.0")]
36 | [assembly: AssemblyFileVersion("1.0.0.0")]
37 |
--------------------------------------------------------------------------------
/163lyric/163lyric/Properties/Resources.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // 此代码由工具生成。
4 | // 运行时版本:4.0.30319.42000
5 | //
6 | // 对此文件的更改可能会导致不正确的行为,并且如果
7 | // 重新生成代码,这些更改将会丢失。
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace _163lyric.Properties {
12 | using System;
13 |
14 |
15 | ///
16 | /// 一个强类型的资源类,用于查找本地化的字符串等。
17 | ///
18 | // 此类是由 StronglyTypedResourceBuilder
19 | // 类通过类似于 ResGen 或 Visual Studio 的工具自动生成的。
20 | // 若要添加或移除成员,请编辑 .ResX 文件,然后重新运行 ResGen
21 | // (以 /str 作为命令选项),或重新生成 VS 项目。
22 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
23 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
24 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
25 | internal class Resources {
26 |
27 | private static global::System.Resources.ResourceManager resourceMan;
28 |
29 | private static global::System.Globalization.CultureInfo resourceCulture;
30 |
31 | [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
32 | internal Resources() {
33 | }
34 |
35 | ///
36 | /// 返回此类使用的缓存的 ResourceManager 实例。
37 | ///
38 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
39 | internal static global::System.Resources.ResourceManager ResourceManager {
40 | get {
41 | if (object.ReferenceEquals(resourceMan, null)) {
42 | global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("_163lyric.Properties.Resources", typeof(Resources).Assembly);
43 | resourceMan = temp;
44 | }
45 | return resourceMan;
46 | }
47 | }
48 |
49 | ///
50 | /// 使用此强类型资源类,为所有资源查找
51 | /// 重写当前线程的 CurrentUICulture 属性。
52 | ///
53 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
54 | internal static global::System.Globalization.CultureInfo Culture {
55 | get {
56 | return resourceCulture;
57 | }
58 | set {
59 | resourceCulture = value;
60 | }
61 | }
62 | }
63 | }
64 |
--------------------------------------------------------------------------------
/163lyric/163lyric/Properties/Resources.resx:
--------------------------------------------------------------------------------
1 |
2 |
3 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 | text/microsoft-resx
110 |
111 |
112 | 2.0
113 |
114 |
115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
116 |
117 |
118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
119 |
120 |
--------------------------------------------------------------------------------
/163lyric/163lyric/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.42000
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace _163lyric.Properties
12 | {
13 |
14 |
15 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
16 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
17 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
18 | {
19 |
20 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
21 |
22 | public static Settings Default
23 | {
24 | get
25 | {
26 | return defaultInstance;
27 | }
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/163lyric/163lyric/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | #网易云音乐歌词下载器
2 |
3 | 网易音乐是目前最好用的音乐播放器,很多朋友喜欢从上面下载免费的音乐,但是可惜没法下载到对应的歌词。
4 |
5 | 这个小工具就是为你解决这个小问题的。
6 |
7 | 1、首先在网易云音乐网页版上搜到歌曲,复制地址栏里歌曲的ID;
8 |
9 | 
10 |
11 | 2、把ID复制进小工具,即可获取歌词,就这么easy。
12 |
13 | 
14 |
15 |
16 | 下载地址:http://vdisk.weibo.com/s/Ac4rv5T6QXjE
17 |
18 | 源代码:https://github.com/ituff/163lyric
19 |
20 | 注意:该工具需要.net framework 2.0支持。
21 |
--------------------------------------------------------------------------------