├── .gitignore ├── .vs ├── CloudMusic │ └── v15 │ │ └── .suo ├── DMSKIN-CODE │ └── v15 │ │ └── .suo ├── ProjectSettings.json ├── VSWorkspaceState.json └── slnx.sqlite ├── DMSkin.CloudMusic ├── .vs │ └── DMSkin.CloudMusic │ │ └── v15 │ │ └── .suo ├── DMSkin.CloudMusic.sln ├── DMSkin.CloudMusic │ ├── API │ │ ├── MP3Info.cs │ │ ├── PageManager.cs │ │ └── PlayManager.cs │ ├── App.config │ ├── App.xaml │ ├── App.xaml.cs │ ├── Controls │ │ ├── IconButton.cs │ │ └── ImageRadioButton.cs │ ├── Converters │ │ └── EnumToBooleanConverter.cs │ ├── DMSkin.CloudMusic.csproj │ ├── DMSkin.CloudMusic.csproj.user │ ├── Font │ │ └── Roboto-Light.ttf │ ├── Image │ │ ├── Logo │ │ │ ├── head.jpg │ │ │ ├── ic_launcher.png │ │ │ └── icon.ico │ │ ├── tg.png │ │ ├── th.png │ │ ├── tt.png │ │ └── tu.png │ ├── MainWindow.xaml │ ├── MainWindow.xaml.cs │ ├── Model │ │ ├── LeftMenu.cs │ │ └── Music.cs │ ├── Properties │ │ ├── AssemblyInfo.cs │ │ ├── Resources.Designer.cs │ │ ├── Resources.resx │ │ ├── Settings.Designer.cs │ │ └── Settings.settings │ ├── Style │ │ ├── Button.xaml │ │ ├── Color.xaml │ │ ├── DMScrollViewer.xaml │ │ ├── DMSlider.xaml │ │ ├── Expander.xaml │ │ ├── Path.xaml │ │ ├── ProgressBar.xaml │ │ └── RadioButton.xaml │ ├── View │ │ ├── PageCloudMusic.xaml │ │ ├── PageCloudMusic.xaml.cs │ │ ├── PageCollection.xaml │ │ ├── PageCollection.xaml.cs │ │ ├── PageDownLoad.xaml │ │ ├── PageDownLoad.xaml.cs │ │ ├── PageEmpty.xaml │ │ ├── PageEmpty.xaml.cs │ │ ├── PageLocalMusic.xaml │ │ └── PageLocalMusic.xaml.cs │ ├── ViewModel │ │ ├── Base │ │ │ └── MusicViewModelBase.cs │ │ ├── MainWindowViewModel.cs │ │ ├── PageCloudMusicViewModel.cs │ │ └── PageLocalMusicViewModel.cs │ └── packages.config ├── DMSkin.Core │ ├── Common │ │ ├── Base64.cs │ │ ├── Execute.cs │ │ ├── HTTP.cs │ │ └── UINT.cs │ ├── Converters │ │ ├── BoolToVisibilityConverter.cs │ │ ├── CompareToVisibilityConverter.cs │ │ ├── EnumToBooleanConverter.cs │ │ ├── EnumToVisibilityConverter.cs │ │ ├── SecondToStringConverter.cs │ │ └── TimeSpanToStringConverter.cs │ ├── DMSkin.Core.csproj │ ├── MVVM │ │ ├── DelegateCommand.cs │ │ └── ViewModelBase.cs │ ├── Properties │ │ └── AssemblyInfo.cs │ ├── TaskManager.cs │ └── WIN32 │ │ ├── DesktopAPI.cs │ │ └── Native.cs └── DMSkin.WPF │ ├── Controls │ ├── DMButton.cs │ ├── DMCheckBox.cs │ ├── DMLinkButton.cs │ ├── DMNumericBox.cs │ ├── DMRadioButton.cs │ ├── DMScrollBar.cs │ ├── DMScrollViewer.cs │ ├── DMSystemButton.cs │ ├── DMSystemCloseButton.cs │ ├── DMSystemMaxButton.cs │ ├── DMSystemMinButton.cs │ ├── DMTabItem.cs │ ├── DMTextBox.cs │ ├── DMThumb.cs │ ├── ElasticWrapPanel.cs │ └── VirtualizingWrapPanel .cs │ ├── DMSkin.WPF.csproj │ ├── DMSkinComplexWindow.cs │ ├── DMSkinSimpleWindow.cs │ ├── Properties │ └── AssemblyInfo.cs │ ├── ShadowWindow.xaml │ ├── ShadowWindow.xaml.cs │ └── Styles │ ├── Animation.xaml │ ├── DMButton.xaml │ ├── DMCheckBox.xaml │ ├── DMContextMenu.xaml │ ├── DMDataGrid.xaml │ ├── DMIcon.xaml │ ├── DMImage.xaml │ ├── DMItemsControl.xaml │ ├── DMListBox.xaml │ ├── DMRadioButton.xaml │ ├── DMResizeGrip.xaml │ ├── DMScrollViewer.xaml │ ├── DMSkin.xaml │ ├── DMSkinSimpleWindow.xaml │ ├── DMSlider.xaml │ ├── DMTabControl.xaml │ ├── DMTextBox.xaml │ ├── DMToolTip.xaml │ └── DMTreeView.xaml ├── README.md └── Screenshot ├── demo.png ├── demo1000.jpg ├── demo1001.png └── demo1002.png /.gitignore: -------------------------------------------------------------------------------- 1 | ## Ignore Visual Studio temporary files, build results, and 2 | ## files generated by popular Visual Studio add-ons. 3 | ## 4 | ## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore 5 | 6 | # User-specific files 7 | *.suo 8 | *.user 9 | *.userosscache 10 | *.sln.docstates 11 | 12 | # User-specific files (MonoDevelop/Xamarin Studio) 13 | *.userprefs 14 | 15 | # Build results 16 | [Dd]ebug/ 17 | [Dd]ebugPublic/ 18 | [Rr]elease/ 19 | [Rr]eleases/ 20 | x64/ 21 | x86/ 22 | bld/ 23 | [Bb]in/ 24 | [Oo]bj/ 25 | [Ll]og/ 26 | 27 | # Visual Studio 2015/2017 cache/options directory 28 | .vs/ 29 | # Uncomment if you have tasks that create the project's static files in wwwroot 30 | #wwwroot/ 31 | 32 | # Visual Studio 2017 auto generated files 33 | Generated\ Files/ 34 | 35 | # MSTest test Results 36 | [Tt]est[Rr]esult*/ 37 | [Bb]uild[Ll]og.* 38 | 39 | # NUNIT 40 | *.VisualState.xml 41 | TestResult.xml 42 | 43 | # Build Results of an ATL Project 44 | [Dd]ebugPS/ 45 | [Rr]eleasePS/ 46 | dlldata.c 47 | 48 | # Benchmark Results 49 | BenchmarkDotNet.Artifacts/ 50 | 51 | # .NET Core 52 | project.lock.json 53 | project.fragment.lock.json 54 | artifacts/ 55 | **/Properties/launchSettings.json 56 | 57 | # StyleCop 58 | StyleCopReport.xml 59 | 60 | # Files built by Visual Studio 61 | *_i.c 62 | *_p.c 63 | *_i.h 64 | *.ilk 65 | *.meta 66 | *.obj 67 | *.iobj 68 | *.pch 69 | *.pdb 70 | *.ipdb 71 | *.pgc 72 | *.pgd 73 | *.rsp 74 | *.sbr 75 | *.tlb 76 | *.tli 77 | *.tlh 78 | *.tmp 79 | *.tmp_proj 80 | *.log 81 | *.vspscc 82 | *.vssscc 83 | .builds 84 | *.pidb 85 | *.svclog 86 | *.scc 87 | 88 | # Chutzpah Test files 89 | _Chutzpah* 90 | 91 | # Visual C++ cache files 92 | ipch/ 93 | *.aps 94 | *.ncb 95 | *.opendb 96 | *.opensdf 97 | *.sdf 98 | *.cachefile 99 | *.VC.db 100 | *.VC.VC.opendb 101 | 102 | # Visual Studio profiler 103 | *.psess 104 | *.vsp 105 | *.vspx 106 | *.sap 107 | 108 | # Visual Studio Trace Files 109 | *.e2e 110 | 111 | # TFS 2012 Local Workspace 112 | $tf/ 113 | 114 | # Guidance Automation Toolkit 115 | *.gpState 116 | 117 | # ReSharper is a .NET coding add-in 118 | _ReSharper*/ 119 | *.[Rr]e[Ss]harper 120 | *.DotSettings.user 121 | 122 | # JustCode is a .NET coding add-in 123 | .JustCode 124 | 125 | # TeamCity is a build add-in 126 | _TeamCity* 127 | 128 | # DotCover is a Code Coverage Tool 129 | *.dotCover 130 | 131 | # AxoCover is a Code Coverage Tool 132 | .axoCover/* 133 | !.axoCover/settings.json 134 | 135 | # Visual Studio code coverage results 136 | *.coverage 137 | *.coveragexml 138 | 139 | # NCrunch 140 | _NCrunch_* 141 | .*crunch*.local.xml 142 | nCrunchTemp_* 143 | 144 | # MightyMoose 145 | *.mm.* 146 | AutoTest.Net/ 147 | 148 | # Web workbench (sass) 149 | .sass-cache/ 150 | 151 | # Installshield output folder 152 | [Ee]xpress/ 153 | 154 | # DocProject is a documentation generator add-in 155 | DocProject/buildhelp/ 156 | DocProject/Help/*.HxT 157 | DocProject/Help/*.HxC 158 | DocProject/Help/*.hhc 159 | DocProject/Help/*.hhk 160 | DocProject/Help/*.hhp 161 | DocProject/Help/Html2 162 | DocProject/Help/html 163 | 164 | # Click-Once directory 165 | publish/ 166 | 167 | # Publish Web Output 168 | *.[Pp]ublish.xml 169 | *.azurePubxml 170 | # Note: Comment the next line if you want to checkin your web deploy settings, 171 | # but database connection strings (with potential passwords) will be unencrypted 172 | *.pubxml 173 | *.publishproj 174 | 175 | # Microsoft Azure Web App publish settings. Comment the next line if you want to 176 | # checkin your Azure Web App publish settings, but sensitive information contained 177 | # in these scripts will be unencrypted 178 | PublishScripts/ 179 | 180 | # NuGet Packages 181 | *.nupkg 182 | # The packages folder can be ignored because of Package Restore 183 | [Pp]ackages/ 184 | # except build/, which is used as an MSBuild target. 185 | !**/[Pp]ackages/build/ 186 | # Uncomment if necessary however generally it will be regenerated when needed 187 | #!**/[Pp]ackages/repositories.config 188 | # NuGet v3's project.json files produces more ignorable files 189 | *.nuget.props 190 | *.nuget.targets 191 | 192 | # Microsoft Azure Build Output 193 | csx/ 194 | *.build.csdef 195 | 196 | # Microsoft Azure Emulator 197 | ecf/ 198 | rcf/ 199 | 200 | # Windows Store app package directories and files 201 | AppPackages/ 202 | BundleArtifacts/ 203 | Package.StoreAssociation.xml 204 | _pkginfo.txt 205 | *.appx 206 | 207 | # Visual Studio cache files 208 | # files ending in .cache can be ignored 209 | *.[Cc]ache 210 | # but keep track of directories ending in .cache 211 | !*.[Cc]ache/ 212 | 213 | # Others 214 | ClientBin/ 215 | ~$* 216 | *~ 217 | *.dbmdl 218 | *.dbproj.schemaview 219 | *.jfm 220 | *.pfx 221 | *.publishsettings 222 | orleans.codegen.cs 223 | 224 | # Including strong name files can present a security risk 225 | # (https://github.com/github/gitignore/pull/2483#issue-259490424) 226 | #*.snk 227 | 228 | # Since there are multiple workflows, uncomment next line to ignore bower_components 229 | # (https://github.com/github/gitignore/pull/1529#issuecomment-104372622) 230 | #bower_components/ 231 | 232 | # RIA/Silverlight projects 233 | Generated_Code/ 234 | 235 | # Backup & report files from converting an old project file 236 | # to a newer Visual Studio version. Backup files are not needed, 237 | # because we have git ;-) 238 | _UpgradeReport_Files/ 239 | Backup*/ 240 | UpgradeLog*.XML 241 | UpgradeLog*.htm 242 | ServiceFabricBackup/ 243 | *.rptproj.bak 244 | 245 | # SQL Server files 246 | *.mdf 247 | *.ldf 248 | *.ndf 249 | 250 | # Business Intelligence projects 251 | *.rdl.data 252 | *.bim.layout 253 | *.bim_*.settings 254 | *.rptproj.rsuser 255 | 256 | # Microsoft Fakes 257 | FakesAssemblies/ 258 | 259 | # GhostDoc plugin setting file 260 | *.GhostDoc.xml 261 | 262 | # Node.js Tools for Visual Studio 263 | .ntvs_analysis.dat 264 | node_modules/ 265 | 266 | # Visual Studio 6 build log 267 | *.plg 268 | 269 | # Visual Studio 6 workspace options file 270 | *.opt 271 | 272 | # Visual Studio 6 auto-generated workspace file (contains which files were open etc.) 273 | *.vbw 274 | 275 | # Visual Studio LightSwitch build output 276 | **/*.HTMLClient/GeneratedArtifacts 277 | **/*.DesktopClient/GeneratedArtifacts 278 | **/*.DesktopClient/ModelManifest.xml 279 | **/*.Server/GeneratedArtifacts 280 | **/*.Server/ModelManifest.xml 281 | _Pvt_Extensions 282 | 283 | # Paket dependency manager 284 | .paket/paket.exe 285 | paket-files/ 286 | 287 | # FAKE - F# Make 288 | .fake/ 289 | 290 | # JetBrains Rider 291 | .idea/ 292 | *.sln.iml 293 | 294 | # CodeRush 295 | .cr/ 296 | 297 | # Python Tools for Visual Studio (PTVS) 298 | __pycache__/ 299 | *.pyc 300 | 301 | # Cake - Uncomment if you are using it 302 | # tools/** 303 | # !tools/packages.config 304 | 305 | # Tabs Studio 306 | *.tss 307 | 308 | # Telerik's JustMock configuration file 309 | *.jmconfig 310 | 311 | # BizTalk build output 312 | *.btp.cs 313 | *.btm.cs 314 | *.odx.cs 315 | *.xsd.cs 316 | 317 | # OpenCover UI analysis results 318 | OpenCover/ 319 | 320 | # Azure Stream Analytics local run output 321 | ASALocalRun/ 322 | 323 | # MSBuild Binary and Structured Log 324 | *.binlog 325 | 326 | # NVidia Nsight GPU debugger configuration file 327 | *.nvuser 328 | 329 | # MFractors (Xamarin productivity tool) working folder 330 | .mfractor/ 331 | -------------------------------------------------------------------------------- /.vs/CloudMusic/v15/.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/944095635/DMSkin-CloudMusic/264da6ce5786a51684cb6800f77ba38fb2b30653/.vs/CloudMusic/v15/.suo -------------------------------------------------------------------------------- /.vs/DMSKIN-CODE/v15/.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/944095635/DMSkin-CloudMusic/264da6ce5786a51684cb6800f77ba38fb2b30653/.vs/DMSKIN-CODE/v15/.suo -------------------------------------------------------------------------------- /.vs/ProjectSettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "CurrentProjectSetting": null 3 | } -------------------------------------------------------------------------------- /.vs/VSWorkspaceState.json: -------------------------------------------------------------------------------- 1 | { 2 | "ExpandedNodes": [ 3 | "", 4 | "\\DMSkin.CloudMusic" 5 | ], 6 | "SelectedNode": "\\DMSkin.CloudMusic\\DMSkin.CloudMusic.sln", 7 | "PreviewInSolutionExplorer": false 8 | } -------------------------------------------------------------------------------- /.vs/slnx.sqlite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/944095635/DMSkin-CloudMusic/264da6ce5786a51684cb6800f77ba38fb2b30653/.vs/slnx.sqlite -------------------------------------------------------------------------------- /DMSkin.CloudMusic/.vs/DMSkin.CloudMusic/v15/.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/944095635/DMSkin-CloudMusic/264da6ce5786a51684cb6800f77ba38fb2b30653/DMSkin.CloudMusic/.vs/DMSkin.CloudMusic/v15/.suo -------------------------------------------------------------------------------- /DMSkin.CloudMusic/DMSkin.CloudMusic.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio Version 16 4 | VisualStudioVersion = 16.0.29409.12 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DMSkin.CloudMusic", "DMSkin.CloudMusic\DMSkin.CloudMusic.csproj", "{DCBE7342-5F9A-46C8-B8F8-BACDC35DD51A}" 7 | EndProject 8 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DMSkin.Core", "DMSkin.Core\DMSkin.Core.csproj", "{13DA6558-356B-47B9-96F2-FE4D5457CB02}" 9 | EndProject 10 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DMSkin.WPF", "DMSkin.WPF\DMSkin.WPF.csproj", "{168352B1-6A0C-4C9C-8A32-68B512DA3CFC}" 11 | EndProject 12 | Global 13 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 14 | Debug|Any CPU = Debug|Any CPU 15 | Debug|x86 = Debug|x86 16 | Release|Any CPU = Release|Any CPU 17 | Release|x86 = Release|x86 18 | EndGlobalSection 19 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 20 | {DCBE7342-5F9A-46C8-B8F8-BACDC35DD51A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 21 | {DCBE7342-5F9A-46C8-B8F8-BACDC35DD51A}.Debug|Any CPU.Build.0 = Debug|Any CPU 22 | {DCBE7342-5F9A-46C8-B8F8-BACDC35DD51A}.Debug|x86.ActiveCfg = Debug|Any CPU 23 | {DCBE7342-5F9A-46C8-B8F8-BACDC35DD51A}.Debug|x86.Build.0 = Debug|Any CPU 24 | {DCBE7342-5F9A-46C8-B8F8-BACDC35DD51A}.Release|Any CPU.ActiveCfg = Release|Any CPU 25 | {DCBE7342-5F9A-46C8-B8F8-BACDC35DD51A}.Release|Any CPU.Build.0 = Release|Any CPU 26 | {DCBE7342-5F9A-46C8-B8F8-BACDC35DD51A}.Release|x86.ActiveCfg = Release|Any CPU 27 | {DCBE7342-5F9A-46C8-B8F8-BACDC35DD51A}.Release|x86.Build.0 = Release|Any CPU 28 | {13DA6558-356B-47B9-96F2-FE4D5457CB02}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 29 | {13DA6558-356B-47B9-96F2-FE4D5457CB02}.Debug|Any CPU.Build.0 = Debug|Any CPU 30 | {13DA6558-356B-47B9-96F2-FE4D5457CB02}.Debug|x86.ActiveCfg = Debug|x86 31 | {13DA6558-356B-47B9-96F2-FE4D5457CB02}.Debug|x86.Build.0 = Debug|x86 32 | {13DA6558-356B-47B9-96F2-FE4D5457CB02}.Release|Any CPU.ActiveCfg = Release|Any CPU 33 | {13DA6558-356B-47B9-96F2-FE4D5457CB02}.Release|Any CPU.Build.0 = Release|Any CPU 34 | {13DA6558-356B-47B9-96F2-FE4D5457CB02}.Release|x86.ActiveCfg = Release|x86 35 | {13DA6558-356B-47B9-96F2-FE4D5457CB02}.Release|x86.Build.0 = Release|x86 36 | {168352B1-6A0C-4C9C-8A32-68B512DA3CFC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 37 | {168352B1-6A0C-4C9C-8A32-68B512DA3CFC}.Debug|Any CPU.Build.0 = Debug|Any CPU 38 | {168352B1-6A0C-4C9C-8A32-68B512DA3CFC}.Debug|x86.ActiveCfg = Debug|x86 39 | {168352B1-6A0C-4C9C-8A32-68B512DA3CFC}.Debug|x86.Build.0 = Debug|x86 40 | {168352B1-6A0C-4C9C-8A32-68B512DA3CFC}.Release|Any CPU.ActiveCfg = Release|Any CPU 41 | {168352B1-6A0C-4C9C-8A32-68B512DA3CFC}.Release|Any CPU.Build.0 = Release|Any CPU 42 | {168352B1-6A0C-4C9C-8A32-68B512DA3CFC}.Release|x86.ActiveCfg = Release|x86 43 | {168352B1-6A0C-4C9C-8A32-68B512DA3CFC}.Release|x86.Build.0 = Release|x86 44 | EndGlobalSection 45 | GlobalSection(SolutionProperties) = preSolution 46 | HideSolutionNode = FALSE 47 | EndGlobalSection 48 | GlobalSection(ExtensibilityGlobals) = postSolution 49 | SolutionGuid = {CC408E6C-0979-44C7-ADCA-2A615DE3CFC2} 50 | EndGlobalSection 51 | EndGlobal 52 | -------------------------------------------------------------------------------- /DMSkin.CloudMusic/DMSkin.CloudMusic/API/MP3Info.cs: -------------------------------------------------------------------------------- 1 | using Shell32; 2 | using System; 3 | using System.Diagnostics; 4 | 5 | namespace DMSkin.CloudMusic 6 | { 7 | /// 8 | /// Windows Shell32.dll を参照し、データを取得するためのクラス 9 | /// 10 | public class MP3Info 11 | { 12 | public string trackName; // トラック名 13 | public string Artist; // アーティスト名 14 | public string Album; // アルバム名 15 | public string time;   // 時間 16 | 17 | public MP3Info() 18 | { 19 | trackName = null; 20 | Artist = null; 21 | Album = null; 22 | time = null; 23 | } 24 | 25 | /// 26 | /// MP3 の情報を取得します。 27 | /// 28 | public bool GetMP3Info(string myDirectory, string myFile) 29 | { 30 | Folder folder = null; 31 | FolderItem folderItem; 32 | 33 | try 34 | { 35 | Type wShell = Type.GetTypeFromProgID("Shell.Application"); 36 | object wshInstance = Activator.CreateInstance(wShell); 37 | 38 | folder = (Folder)wShell.InvokeMember("NameSpace", 39 | System.Reflection.BindingFlags.InvokeMethod, 40 | null, 41 | wshInstance, 42 | new object[] { myDirectory } 43 | ); 44 | 45 | folderItem = folder.ParseName(myFile); 46 | } 47 | catch 48 | { 49 | return false; 50 | } 51 | 52 | ////////////////////////////////////////////////////////// 53 | // Shell COM を 叩いて情報開示 54 | ////////////////////////////////////////////////////////// 55 | trackName = folder.GetDetailsOf(folderItem, 21); 56 | Artist = folder.GetDetailsOf(folderItem, 20); 57 | Album = folder.GetDetailsOf(folderItem, 14); 58 | time = folder.GetDetailsOf(folderItem, 27); 59 | 60 | Debug.WriteLine(folder.GetDetailsOf(folderItem, 21)); // [DEBUG] trackName 61 | Debug.WriteLine(folder.GetDetailsOf(folderItem, 20)); // [DEBUG] Artist 62 | Debug.WriteLine(folder.GetDetailsOf(folderItem, 14)); // [DEBUG] Album 63 | Debug.WriteLine(folder.GetDetailsOf(folderItem, 27)); // [DEBUG] Time 64 | 65 | return true; 66 | } 67 | } 68 | } 69 | -------------------------------------------------------------------------------- /DMSkin.CloudMusic/DMSkin.CloudMusic/API/PageManager.cs: -------------------------------------------------------------------------------- 1 | using DMSkin.CloudMusic.View; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Linq; 5 | using System.Text; 6 | using System.Threading.Tasks; 7 | using System.Windows.Controls; 8 | 9 | namespace DMSkin.CloudMusic.API 10 | { 11 | /// 12 | /// 页面管理器 13 | /// 14 | public class PageManager 15 | { 16 | #region 本地音乐 17 | private static PageLocalMusic pageLocalMusic; 18 | /// 19 | /// 本地音乐 20 | /// 21 | public static PageLocalMusic PageLocalMusic 22 | { 23 | get 24 | { 25 | if (pageLocalMusic == null) 26 | { 27 | //只会被构造一次 28 | pageLocalMusic = new PageLocalMusic(); 29 | } 30 | return pageLocalMusic; 31 | } 32 | set { pageLocalMusic = value; } 33 | } 34 | 35 | public static Page PageDownLoad = new PageDownLoad(); 36 | #endregion 37 | 38 | public static PageEmpty PageEmpty = new PageEmpty(); 39 | 40 | public static PageCloudMusic PageCloudMusic = new PageCloudMusic(); 41 | 42 | public static PageCollection PageCollection = new PageCollection(); 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /DMSkin.CloudMusic/DMSkin.CloudMusic/API/PlayManager.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.IO; 3 | using System.Net; 4 | using System.Threading.Tasks; 5 | using System.Windows.Media; 6 | using DMSkin.CloudMusic.Model; 7 | using DMSkin.Core.Common; 8 | 9 | namespace DMSkin.CloudMusic.API 10 | { 11 | class PlayManager 12 | { 13 | public static PlayState State { get; internal set; } 14 | 15 | internal static void Play(Music music) 16 | { 17 | State = PlayState.Play; 18 | if (music.Url.Contains("http")) 19 | { 20 | if (!File.Exists(music.FileName)) 21 | { 22 | Task.Run(() => 23 | { 24 | music.DownLoad = true; 25 | using (WebClient wb = new WebClient()) 26 | { 27 | wb.DownloadFile(music.Url, music.FileName); 28 | } 29 | music.DownLoad = false; 30 | music.Url = music.FileName; 31 | Open(music); 32 | }); 33 | return; 34 | } 35 | else 36 | { 37 | music.Url = music.FileName; 38 | } 39 | } 40 | Open(music); 41 | } 42 | 43 | public static void Open(Music music) 44 | { 45 | Execute.OnUIThread(() => 46 | { 47 | player.Open(new Uri(music.Url, UriKind.RelativeOrAbsolute)); 48 | player.Play(); 49 | }); 50 | } 51 | 52 | public static MediaPlayer player; 53 | } 54 | 55 | public enum PlayState 56 | { 57 | Play, 58 | Pause, 59 | Stop 60 | } 61 | } 62 | -------------------------------------------------------------------------------- /DMSkin.CloudMusic/DMSkin.CloudMusic/App.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /DMSkin.CloudMusic/DMSkin.CloudMusic/App.xaml: -------------------------------------------------------------------------------- 1 |  8 | 9 | 10 | 11 | 微软雅黑,SimSun 12 | 13 | 微软雅黑 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 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 | -------------------------------------------------------------------------------- /DMSkin.CloudMusic/DMSkin.CloudMusic/App.xaml.cs: -------------------------------------------------------------------------------- 1 | using DMSkin.Core.Common; 2 | using System.Windows; 3 | 4 | namespace DMSkin.CloudMusic 5 | { 6 | public partial class App : Application 7 | { 8 | protected override void OnStartup(StartupEventArgs e) 9 | { 10 | base.OnStartup(e); 11 | 12 | Execute.InitializeWithDispatcher(); 13 | } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /DMSkin.CloudMusic/DMSkin.CloudMusic/Controls/IconButton.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.ComponentModel; 4 | using System.Linq; 5 | using System.Text; 6 | using System.Threading.Tasks; 7 | using System.Windows; 8 | using System.Windows.Controls; 9 | using System.Windows.Media; 10 | 11 | namespace DMSkin.CloudMusic.Controls 12 | { 13 | public class IconButton : RadioButton 14 | { 15 | public CornerRadius CornerRadius 16 | { 17 | get { return (CornerRadius)GetValue(CornerRadiusProperty); } 18 | set { SetValue(CornerRadiusProperty, value); } 19 | } 20 | public static readonly DependencyProperty CornerRadiusProperty = 21 | DependencyProperty.Register("CornerRadius", typeof(CornerRadius), typeof(IconButton), new PropertyMetadata(null)); 22 | 23 | 24 | /// 25 | /// 图标 26 | /// 27 | [Description("图标"), Category("DMSkin")] 28 | public Geometry Icon 29 | { 30 | get { return (Geometry)GetValue(IconProperty); } 31 | set { SetValue(IconProperty, value); } 32 | } 33 | public static readonly DependencyProperty IconProperty = 34 | DependencyProperty.Register("Icon", typeof(Geometry), typeof(IconButton), new PropertyMetadata(null)); 35 | 36 | 37 | 38 | /// 39 | /// 图标宽度 40 | /// 41 | public double IconWidth 42 | { 43 | get { return (double)GetValue(IconWidthProperty); } 44 | set { SetValue(IconWidthProperty, value); } 45 | } 46 | public static readonly DependencyProperty IconWidthProperty = 47 | DependencyProperty.Register("IconWidth", typeof(double), typeof(IconButton), new PropertyMetadata(12.0)); 48 | 49 | 50 | 51 | /// 52 | /// 图标高度 53 | /// 54 | public double IconHeight 55 | { 56 | get { return (double)GetValue(IconHeightProperty); } 57 | set { SetValue(IconHeightProperty, value); } 58 | } 59 | public static readonly DependencyProperty IconHeightProperty = 60 | DependencyProperty.Register("IconHeight", typeof(double), typeof(IconButton), new PropertyMetadata(12.0)); 61 | 62 | 63 | } 64 | } 65 | -------------------------------------------------------------------------------- /DMSkin.CloudMusic/DMSkin.CloudMusic/Controls/ImageRadioButton.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Windows; 6 | using System.Windows.Controls; 7 | using System.Windows.Media; 8 | 9 | namespace DMSkin.CloudMusic.Controls 10 | { 11 | public class ImageRadioButton:RadioButton 12 | { 13 | public Geometry Image 14 | { 15 | get { return (Geometry)GetValue(ImageProperty); } 16 | set { SetValue(ImageProperty, value); } 17 | } 18 | 19 | public static readonly DependencyProperty ImageProperty = 20 | DependencyProperty.Register("Image", typeof(Geometry), typeof(ImageRadioButton)); 21 | 22 | 23 | 24 | public double ImageWidth 25 | { 26 | get { return (double)GetValue(ImageWidthProperty); } 27 | set { SetValue(ImageWidthProperty, value); } 28 | } 29 | 30 | public static readonly DependencyProperty ImageWidthProperty = 31 | DependencyProperty.Register("ImageWidth", typeof(double), typeof(ImageRadioButton),new PropertyMetadata(15.0)); 32 | 33 | public double ImageHeight 34 | { 35 | get { return (double)GetValue(ImageHeightProperty); } 36 | set { SetValue(ImageHeightProperty, value); } 37 | } 38 | 39 | public static readonly DependencyProperty ImageHeightProperty = 40 | DependencyProperty.Register("ImageHeight", typeof(double), typeof(ImageRadioButton),new PropertyMetadata(15.0)); 41 | 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /DMSkin.CloudMusic/DMSkin.CloudMusic/Converters/EnumToBooleanConverter.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Globalization; 4 | using System.Linq; 5 | using System.Text; 6 | using System.Windows.Data; 7 | 8 | namespace DMSkin.CloudMusic.Converters 9 | { 10 | public class EnumToBooleanConverter : IValueConverter 11 | { 12 | public object Convert(object value, Type targetType, object parameter, CultureInfo culture) 13 | { 14 | if (value == null||value.ToString()!=parameter.ToString()) 15 | { 16 | return false; 17 | } 18 | return true; 19 | } 20 | 21 | public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture) 22 | { 23 | return value != null && value.Equals(true) ? parameter : Binding.DoNothing; 24 | } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /DMSkin.CloudMusic/DMSkin.CloudMusic/DMSkin.CloudMusic.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | Debug 6 | AnyCPU 7 | {DCBE7342-5F9A-46C8-B8F8-BACDC35DD51A} 8 | WinExe 9 | DMSkin.CloudMusic 10 | DMSkin.CloudMusic 11 | v4.5 12 | 512 13 | {60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} 14 | 4 15 | true 16 | 17 | 18 | AnyCPU 19 | true 20 | full 21 | false 22 | bin\Debug\ 23 | DEBUG;TRACE 24 | prompt 25 | 4 26 | 27 | 28 | AnyCPU 29 | pdbonly 30 | true 31 | bin\Release\ 32 | TRACE 33 | prompt 34 | 4 35 | 36 | 37 | Image\Logo\icon.ico 38 | 39 | 40 | 41 | ..\packages\Newtonsoft.Json.12.0.1\lib\net45\Newtonsoft.Json.dll 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 4.0 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | MSBuild:Compile 62 | Designer 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | PageCollection.xaml 76 | 77 | 78 | PageDownLoad.xaml 79 | 80 | 81 | PageEmpty.xaml 82 | 83 | 84 | PageCloudMusic.xaml 85 | 86 | 87 | PageLocalMusic.xaml 88 | 89 | 90 | MSBuild:Compile 91 | Designer 92 | 93 | 94 | App.xaml 95 | Code 96 | 97 | 98 | 99 | 100 | MainWindow.xaml 101 | Code 102 | 103 | 104 | Designer 105 | MSBuild:Compile 106 | 107 | 108 | Designer 109 | MSBuild:Compile 110 | 111 | 112 | MSBuild:Compile 113 | Designer 114 | 115 | 116 | MSBuild:Compile 117 | Designer 118 | 119 | 120 | MSBuild:Compile 121 | Designer 122 | 123 | 124 | MSBuild:Compile 125 | Designer 126 | 127 | 128 | Designer 129 | MSBuild:Compile 130 | 131 | 132 | MSBuild:Compile 133 | Designer 134 | 135 | 136 | Designer 137 | MSBuild:Compile 138 | 139 | 140 | Designer 141 | MSBuild:Compile 142 | 143 | 144 | Designer 145 | MSBuild:Compile 146 | 147 | 148 | MSBuild:Compile 149 | Designer 150 | 151 | 152 | Designer 153 | MSBuild:Compile 154 | 155 | 156 | 157 | 158 | Code 159 | 160 | 161 | True 162 | True 163 | Resources.resx 164 | 165 | 166 | True 167 | Settings.settings 168 | True 169 | 170 | 171 | ResXFileCodeGenerator 172 | Resources.Designer.cs 173 | 174 | 175 | 176 | 177 | SettingsSingleFileGenerator 178 | Settings.Designer.cs 179 | 180 | 181 | 182 | 183 | 184 | 185 | 186 | 187 | 188 | 189 | 190 | 191 | 192 | 193 | 194 | 195 | 196 | 197 | 198 | 199 | 200 | {50A7E9B0-70EF-11D1-B75A-00A0C90564FE} 201 | 1 202 | 0 203 | 0 204 | tlbimp 205 | False 206 | True 207 | 208 | 209 | 210 | 211 | 212 | 213 | 214 | {13da6558-356b-47b9-96f2-fe4d5457cb02} 215 | DMSkin.Core 216 | 217 | 218 | {168352b1-6a0c-4c9c-8a32-68b512da3cfc} 219 | DMSkin.WPF 220 | 221 | 222 | 223 | -------------------------------------------------------------------------------- /DMSkin.CloudMusic/DMSkin.CloudMusic/DMSkin.CloudMusic.csproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | ProjectFiles 5 | 6 | -------------------------------------------------------------------------------- /DMSkin.CloudMusic/DMSkin.CloudMusic/Font/Roboto-Light.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/944095635/DMSkin-CloudMusic/264da6ce5786a51684cb6800f77ba38fb2b30653/DMSkin.CloudMusic/DMSkin.CloudMusic/Font/Roboto-Light.ttf -------------------------------------------------------------------------------- /DMSkin.CloudMusic/DMSkin.CloudMusic/Image/Logo/head.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/944095635/DMSkin-CloudMusic/264da6ce5786a51684cb6800f77ba38fb2b30653/DMSkin.CloudMusic/DMSkin.CloudMusic/Image/Logo/head.jpg -------------------------------------------------------------------------------- /DMSkin.CloudMusic/DMSkin.CloudMusic/Image/Logo/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/944095635/DMSkin-CloudMusic/264da6ce5786a51684cb6800f77ba38fb2b30653/DMSkin.CloudMusic/DMSkin.CloudMusic/Image/Logo/ic_launcher.png -------------------------------------------------------------------------------- /DMSkin.CloudMusic/DMSkin.CloudMusic/Image/Logo/icon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/944095635/DMSkin-CloudMusic/264da6ce5786a51684cb6800f77ba38fb2b30653/DMSkin.CloudMusic/DMSkin.CloudMusic/Image/Logo/icon.ico -------------------------------------------------------------------------------- /DMSkin.CloudMusic/DMSkin.CloudMusic/Image/tg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/944095635/DMSkin-CloudMusic/264da6ce5786a51684cb6800f77ba38fb2b30653/DMSkin.CloudMusic/DMSkin.CloudMusic/Image/tg.png -------------------------------------------------------------------------------- /DMSkin.CloudMusic/DMSkin.CloudMusic/Image/th.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/944095635/DMSkin-CloudMusic/264da6ce5786a51684cb6800f77ba38fb2b30653/DMSkin.CloudMusic/DMSkin.CloudMusic/Image/th.png -------------------------------------------------------------------------------- /DMSkin.CloudMusic/DMSkin.CloudMusic/Image/tt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/944095635/DMSkin-CloudMusic/264da6ce5786a51684cb6800f77ba38fb2b30653/DMSkin.CloudMusic/DMSkin.CloudMusic/Image/tt.png -------------------------------------------------------------------------------- /DMSkin.CloudMusic/DMSkin.CloudMusic/Image/tu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/944095635/DMSkin-CloudMusic/264da6ce5786a51684cb6800f77ba38fb2b30653/DMSkin.CloudMusic/DMSkin.CloudMusic/Image/tu.png -------------------------------------------------------------------------------- /DMSkin.CloudMusic/DMSkin.CloudMusic/MainWindow.xaml.cs: -------------------------------------------------------------------------------- 1 | namespace DMSkin.CloudMusic 2 | { 3 | public partial class MainWindow 4 | { 5 | public MainWindow() 6 | { 7 | InitializeComponent(); 8 | } 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /DMSkin.CloudMusic/DMSkin.CloudMusic/Model/LeftMenu.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | 7 | namespace DMSkin.CloudMusic.Model 8 | { 9 | public enum LeftMenu 10 | { 11 | /// 12 | /// 空页面 13 | /// 14 | Empty, 15 | Home, 16 | /// 17 | /// 发现音乐 18 | /// 19 | FindMusic, 20 | /// 21 | /// 本地音乐 22 | /// 23 | LocalMusic, 24 | DownLoad, 25 | /// 26 | /// 云盘音乐 27 | /// 28 | CloudMusic, 29 | /// 30 | /// 我的收藏 31 | /// 32 | Collection 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /DMSkin.CloudMusic/DMSkin.CloudMusic/Model/Music.cs: -------------------------------------------------------------------------------- 1 | using DMSkin.Core.MVVM; 2 | using System; 3 | 4 | namespace DMSkin.CloudMusic.Model 5 | { 6 | public class Music:ViewModelBase 7 | { 8 | private string index; 9 | 10 | /// 11 | /// 序号 12 | /// 13 | public string Index 14 | { 15 | get { return index; } 16 | set 17 | { 18 | index = value; 19 | OnPropertyChanged("Index"); 20 | } 21 | } 22 | 23 | private string url; 24 | /// 25 | /// 路径 26 | /// 27 | public string Url 28 | { 29 | get { return url; } 30 | set 31 | { 32 | url = value; 33 | OnPropertyChanged("Url"); 34 | } 35 | } 36 | 37 | 38 | 39 | private string title; 40 | 41 | /// 42 | /// 标题 43 | /// 44 | public string Title 45 | { 46 | get { return title; } 47 | set 48 | { 49 | title = value; 50 | OnPropertyChanged("Title"); 51 | } 52 | } 53 | 54 | private double size; 55 | 56 | /// 57 | /// 体积 58 | /// 59 | public double Size 60 | { 61 | get { return size; } 62 | set 63 | { 64 | size = value; 65 | OnPropertyChanged("Size"); 66 | } 67 | } 68 | 69 | /// 70 | /// 体积-MB 71 | /// 72 | public string SizeStr 73 | { 74 | get { 75 | return HumanReadableFilesize(size); 76 | } 77 | } 78 | 79 | private String HumanReadableFilesize(double size) 80 | { 81 | String[] units = new String[] { "B", "KB", "MB", "GB", "TB", "PB" }; 82 | double mod = 1024.0; 83 | int i = 0; 84 | while (size >= mod) 85 | { 86 | size /= mod; 87 | i++; 88 | } 89 | return Math.Round(size,2) + units[i]; 90 | } 91 | 92 | private string album; 93 | 94 | /// 95 | /// 专辑 96 | /// 97 | public string Album 98 | { 99 | get { return album; } 100 | set 101 | { 102 | album = value; 103 | OnPropertyChanged("Album"); 104 | } 105 | } 106 | 107 | 108 | private string artist; 109 | 110 | /// 111 | /// 作者 112 | /// 113 | public string Artist 114 | { 115 | get { return artist; } 116 | set 117 | { 118 | artist = value; 119 | OnPropertyChanged("Artist"); 120 | } 121 | } 122 | 123 | 124 | private string timeStr; 125 | 126 | /// 127 | /// 128 | /// 129 | public string TimeStr 130 | { 131 | get { return timeStr; } 132 | set 133 | { 134 | timeStr = value; 135 | OnPropertyChanged("TimeStr"); 136 | } 137 | } 138 | 139 | public string FileName { get; internal set; } 140 | 141 | 142 | private bool download; 143 | 144 | /// 145 | /// 是否在下载 146 | /// 147 | public bool DownLoad 148 | { 149 | get { return download; } 150 | set 151 | { 152 | download = value; 153 | OnPropertyChanged("DownLoad"); 154 | } 155 | } 156 | 157 | } 158 | } 159 | -------------------------------------------------------------------------------- /DMSkin.CloudMusic/DMSkin.CloudMusic/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Resources; 3 | using System.Runtime.CompilerServices; 4 | using System.Runtime.InteropServices; 5 | using System.Windows; 6 | 7 | // 有关程序集的一般信息由以下 8 | // 控制。更改这些特性值可修改 9 | // 与程序集关联的信息。 10 | [assembly: AssemblyTitle("DMSkin.CloudMusic")] 11 | [assembly: AssemblyDescription("944095635")] 12 | [assembly: AssemblyConfiguration("")] 13 | [assembly: AssemblyCompany("944095635")] 14 | [assembly: AssemblyProduct("DMSkin.CloudMusic")] 15 | [assembly: AssemblyCopyright("Copyright © 2018")] 16 | [assembly: AssemblyTrademark("")] 17 | [assembly: AssemblyCulture("")] 18 | 19 | // 将 ComVisible 设置为 false 会使此程序集中的类型 20 | //对 COM 组件不可见。如果需要从 COM 访问此程序集中的类型 21 | //请将此类型的 ComVisible 特性设置为 true。 22 | [assembly: ComVisible(false)] 23 | 24 | //若要开始生成可本地化的应用程序,请设置 25 | //.csproj 文件中的 CultureYouAreCodingWith 26 | //例如,如果您在源文件中使用的是美国英语, 27 | //使用的是美国英语,请将 设置为 en-US。 然后取消 28 | //对以下 NeutralResourceLanguage 特性的注释。 更新 29 | //以下行中的“en-US”以匹配项目文件中的 UICulture 设置。 30 | 31 | //[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)] 32 | 33 | 34 | [assembly: ThemeInfo( 35 | ResourceDictionaryLocation.None, //主题特定资源词典所处位置 36 | //(未在页面中找到资源时使用, 37 | //或应用程序资源字典中找到时使用) 38 | ResourceDictionaryLocation.SourceAssembly //常规资源词典所处位置 39 | //(未在页面中找到资源时使用, 40 | //、应用程序或任何主题专用资源字典中找到时使用) 41 | )] 42 | 43 | 44 | // 程序集的版本信息由下列四个值组成: 45 | // 46 | // 主版本 47 | // 次版本 48 | // 生成号 49 | // 修订号 50 | // 51 | // 可以指定所有值,也可以使用以下所示的 "*" 预置版本号和修订号 52 | // 方法是按如下所示使用“*”: : 53 | // [assembly: AssemblyVersion("1.0.*")] 54 | [assembly: AssemblyVersion("1.0.0.3")] 55 | [assembly: AssemblyFileVersion("1.0.0.3")] 56 | -------------------------------------------------------------------------------- /DMSkin.CloudMusic/DMSkin.CloudMusic/Properties/Resources.Designer.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // 此代码由工具生成。 4 | // 运行时版本: 4.0.30319.42000 5 | // 6 | // 对此文件的更改可能导致不正确的行为,如果 7 | // 重新生成代码,则所做更改将丢失。 8 | // 9 | //------------------------------------------------------------------------------ 10 | 11 | namespace DMSkin.CloudMusic.Properties 12 | { 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 | 28 | private static global::System.Resources.ResourceManager resourceMan; 29 | 30 | private static global::System.Globalization.CultureInfo resourceCulture; 31 | 32 | [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] 33 | internal Resources() 34 | { 35 | } 36 | 37 | /// 38 | /// 返回此类使用的缓存 ResourceManager 实例。 39 | /// 40 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] 41 | internal static global::System.Resources.ResourceManager ResourceManager 42 | { 43 | get 44 | { 45 | if ((resourceMan == null)) 46 | { 47 | global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("DMSkin.CloudMusic.Properties.Resources", typeof(Resources).Assembly); 48 | resourceMan = temp; 49 | } 50 | return resourceMan; 51 | } 52 | } 53 | 54 | /// 55 | /// 覆盖当前线程的 CurrentUICulture 属性 56 | /// 使用此强类型的资源类的资源查找。 57 | /// 58 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] 59 | internal static global::System.Globalization.CultureInfo Culture 60 | { 61 | get 62 | { 63 | return resourceCulture; 64 | } 65 | set 66 | { 67 | resourceCulture = value; 68 | } 69 | } 70 | } 71 | } 72 | -------------------------------------------------------------------------------- /DMSkin.CloudMusic/DMSkin.CloudMusic/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 | text/microsoft-resx 107 | 108 | 109 | 2.0 110 | 111 | 112 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 113 | 114 | 115 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 116 | 117 | -------------------------------------------------------------------------------- /DMSkin.CloudMusic/DMSkin.CloudMusic/Properties/Settings.Designer.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // 此代码由工具生成。 4 | // 运行时版本:4.0.30319.42000 5 | // 6 | // 对此文件的更改可能会导致不正确的行为,并且如果 7 | // 重新生成代码,这些更改将会丢失。 8 | // 9 | //------------------------------------------------------------------------------ 10 | 11 | namespace DMSkin.CloudMusic.Properties { 12 | 13 | 14 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] 15 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "15.8.0.0")] 16 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { 17 | 18 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); 19 | 20 | public static Settings Default { 21 | get { 22 | return defaultInstance; 23 | } 24 | } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /DMSkin.CloudMusic/DMSkin.CloudMusic/Properties/Settings.settings: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /DMSkin.CloudMusic/DMSkin.CloudMusic/Style/Color.xaml: -------------------------------------------------------------------------------- 1 |  5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /DMSkin.CloudMusic/DMSkin.CloudMusic/Style/ProgressBar.xaml: -------------------------------------------------------------------------------- 1 |  4 | 64 | 65 | -------------------------------------------------------------------------------- /DMSkin.CloudMusic/DMSkin.CloudMusic/Style/RadioButton.xaml: -------------------------------------------------------------------------------- 1 |  5 | 63 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 93 | 94 | 95 | 96 | 97 | 106 | 107 | 113 | 114 | 115 | 127 | 128 | 129 | 130 | 131 | 132 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 162 | 163 | 164 | 165 | 166 | 167 | 168 | 169 | 170 | 171 | 172 | 173 | 174 | 175 | 176 | -------------------------------------------------------------------------------- /DMSkin.CloudMusic/DMSkin.CloudMusic/View/PageCloudMusic.xaml: -------------------------------------------------------------------------------- 1 |  15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 29 | 30 | 34 | 41 | 45 | 46 | 47 | 48 | 49 | 53 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 78 | 85 | 91 | 92 | 101 | 102 | 108 | 109 | 110 | 111 | 112 | 113 | 130 | 131 | 132 | 133 | 134 | 139 | 143 | 147 | 151 | 155 | 159 | 160 | 161 | 162 | 163 | 164 | 165 | 166 | 167 | 168 | 174 | 180 | 185 |