From 144dfd374ceb8c82a975745cd05d5b3a93f71b8b Mon Sep 17 00:00:00 2001
From: Prcoil <69021881+PRMING@users.noreply.github.com>
Date: Sun, 10 Nov 2024 17:34:40 +0800
Subject: [PATCH] 1.3.1.0
---
.../.idea/workspace.xml" | 127 ++++++++++++++
.../.idea/.gitignore" | 0
.../.idea/encodings.xml" | 0
.../.idea/indexLayout.xml" | 0
.../.idea/vcs.xml" | 0
Setup/Setup.vdproj | 20 ++-
...0\346\222\255\346\224\276\345\231\250.sln" | 2 +-
.../App.config" | 6 +-
.../App.xaml" | 10 +-
.../App.xaml.cs" | 2 +-
.../AssemblyInfo.cs" | 0
.../Class/DelegateCommand.cs" | 2 +-
.../Class/MainTimer.cs" | 13 +-
.../Class/MethodClass.cs" | 160 +++++++++---------
.../Class/NotifyIconViewModel.cs" | 2 +-
.../Class/StaticData.cs" | 13 +-
.../MainIcon.ico" | Bin
.../MainWindow.xaml" | 19 +--
.../MainWindow.xaml.cs" | 5 +-
.../PageControllers/HomePageController.cs" | 4 +-
.../Pages/AboutPage.xaml" | 2 +-
.../Pages/AboutPage.xaml.cs" | 6 +-
.../Pages/HomePage.xaml" | 7 +-
.../Pages/HomePage.xaml.cs" | 40 +++--
.../Pages/MusicDataPage.xaml" | 2 +-
.../Pages/MusicDataPage.xaml.cs" | 6 +-
.../Pages/SettingPage.xaml" | 28 +--
.../Pages/SettingPage.xaml.cs" | 44 ++---
.../Resources/Fonts/MiSans-Regular.ttf" | Bin
...7\350\245\277\346\213\231\346\245\267.ttf" | Bin
...7\262\276\350\213\261\344\275\223Bold.ttf" | Bin
.../Resources/Icons/About.png" | Bin
.../Resources/Icons/CloudMusic.ico" | Bin
.../Resources/Icons/Home.png" | Bin
.../Resources/Icons/MainIcon.ico" | Bin
.../Resources/Icons/Music.png" | Bin
.../Resources/Icons/QQMusic.ico" | Bin
.../Resources/Icons/Setting.png" | Bin
.../Resources/Xaml/ScrollViewer.xaml" | 0
.../Resources/Xaml/SysTrayMenu.xaml" | 0
.../Resources/Xaml/SystemTray.xaml" | 4 +-
.../Settings.Designer.cs" | 2 +-
.../Settings.settings" | 0
...46\222\255\346\224\276\345\231\250.csproj" | 10 +-
44 files changed, 338 insertions(+), 198 deletions(-)
create mode 100644 ".idea/.idea.\345\215\210\344\274\221\347\275\221\346\230\223\344\272\221\346\222\255\346\224\276\345\231\250/.idea/workspace.xml"
rename ".idea/.idea.\345\215\210\344\274\221\347\275\221\346\230\223\344\272\221\346\222\255\346\224\276\345\231\250/.idea/.gitignore" => ".idea/.idea.\345\215\210\344\274\221\351\237\263\344\271\220\346\222\255\346\224\276\345\231\250/.idea/.gitignore" (100%)
rename ".idea/.idea.\345\215\210\344\274\221\347\275\221\346\230\223\344\272\221\346\222\255\346\224\276\345\231\250/.idea/encodings.xml" => ".idea/.idea.\345\215\210\344\274\221\351\237\263\344\271\220\346\222\255\346\224\276\345\231\250/.idea/encodings.xml" (100%)
rename ".idea/.idea.\345\215\210\344\274\221\347\275\221\346\230\223\344\272\221\346\222\255\346\224\276\345\231\250/.idea/indexLayout.xml" => ".idea/.idea.\345\215\210\344\274\221\351\237\263\344\271\220\346\222\255\346\224\276\345\231\250/.idea/indexLayout.xml" (100%)
rename ".idea/.idea.\345\215\210\344\274\221\347\275\221\346\230\223\344\272\221\346\222\255\346\224\276\345\231\250/.idea/vcs.xml" => ".idea/.idea.\345\215\210\344\274\221\351\237\263\344\271\220\346\222\255\346\224\276\345\231\250/.idea/vcs.xml" (100%)
rename "\345\215\210\344\274\221\347\275\221\346\230\223\344\272\221\346\222\255\346\224\276\345\231\250.sln" => "\345\215\210\344\274\221\351\237\263\344\271\220\346\222\255\346\224\276\345\231\250.sln" (86%)
rename "\345\215\210\344\274\221\347\275\221\346\230\223\344\272\221\346\222\255\346\224\276\345\231\250/App.config" => "\345\215\210\344\274\221\351\237\263\344\271\220\346\222\255\346\224\276\345\231\250/App.config" (82%)
rename "\345\215\210\344\274\221\347\275\221\346\230\223\344\272\221\346\222\255\346\224\276\345\231\250/App.xaml" => "\345\215\210\344\274\221\351\237\263\344\271\220\346\222\255\346\224\276\345\231\250/App.xaml" (92%)
rename "\345\215\210\344\274\221\347\275\221\346\230\223\344\272\221\346\222\255\346\224\276\345\231\250/App.xaml.cs" => "\345\215\210\344\274\221\351\237\263\344\271\220\346\222\255\346\224\276\345\231\250/App.xaml.cs" (96%)
rename "\345\215\210\344\274\221\347\275\221\346\230\223\344\272\221\346\222\255\346\224\276\345\231\250/AssemblyInfo.cs" => "\345\215\210\344\274\221\351\237\263\344\271\220\346\222\255\346\224\276\345\231\250/AssemblyInfo.cs" (100%)
rename "\345\215\210\344\274\221\347\275\221\346\230\223\344\272\221\346\222\255\346\224\276\345\231\250/Class/DelegateCommand.cs" => "\345\215\210\344\274\221\351\237\263\344\271\220\346\222\255\346\224\276\345\231\250/Class/DelegateCommand.cs" (93%)
rename "\345\215\210\344\274\221\347\275\221\346\230\223\344\272\221\346\222\255\346\224\276\345\231\250/Class/MainTimer.cs" => "\345\215\210\344\274\221\351\237\263\344\271\220\346\222\255\346\224\276\345\231\250/Class/MainTimer.cs" (92%)
rename "\345\215\210\344\274\221\347\275\221\346\230\223\344\272\221\346\222\255\346\224\276\345\231\250/Class/MethodClass.cs" => "\345\215\210\344\274\221\351\237\263\344\271\220\346\222\255\346\224\276\345\231\250/Class/MethodClass.cs" (66%)
rename "\345\215\210\344\274\221\347\275\221\346\230\223\344\272\221\346\222\255\346\224\276\345\231\250/Class/NotifyIconViewModel.cs" => "\345\215\210\344\274\221\351\237\263\344\271\220\346\222\255\346\224\276\345\231\250/Class/NotifyIconViewModel.cs" (97%)
rename "\345\215\210\344\274\221\347\275\221\346\230\223\344\272\221\346\222\255\346\224\276\345\231\250/Class/StaticData.cs" => "\345\215\210\344\274\221\351\237\263\344\271\220\346\222\255\346\224\276\345\231\250/Class/StaticData.cs" (94%)
rename "\345\215\210\344\274\221\347\275\221\346\230\223\344\272\221\346\222\255\346\224\276\345\231\250/MainIcon.ico" => "\345\215\210\344\274\221\351\237\263\344\271\220\346\222\255\346\224\276\345\231\250/MainIcon.ico" (100%)
rename "\345\215\210\344\274\221\347\275\221\346\230\223\344\272\221\346\222\255\346\224\276\345\231\250/MainWindow.xaml" => "\345\215\210\344\274\221\351\237\263\344\271\220\346\222\255\346\224\276\345\231\250/MainWindow.xaml" (96%)
rename "\345\215\210\344\274\221\347\275\221\346\230\223\344\272\221\346\222\255\346\224\276\345\231\250/MainWindow.xaml.cs" => "\345\215\210\344\274\221\351\237\263\344\271\220\346\222\255\346\224\276\345\231\250/MainWindow.xaml.cs" (96%)
rename "\345\215\210\344\274\221\347\275\221\346\230\223\344\272\221\346\222\255\346\224\276\345\231\250/PageControllers/HomePageController.cs" => "\345\215\210\344\274\221\351\237\263\344\271\220\346\222\255\346\224\276\345\231\250/PageControllers/HomePageController.cs" (83%)
rename "\345\215\210\344\274\221\347\275\221\346\230\223\344\272\221\346\222\255\346\224\276\345\231\250/Pages/AboutPage.xaml" => "\345\215\210\344\274\221\351\237\263\344\271\220\346\222\255\346\224\276\345\231\250/Pages/AboutPage.xaml" (96%)
rename "\345\215\210\344\274\221\347\275\221\346\230\223\344\272\221\346\222\255\346\224\276\345\231\250/Pages/AboutPage.xaml.cs" => "\345\215\210\344\274\221\351\237\263\344\271\220\346\222\255\346\224\276\345\231\250/Pages/AboutPage.xaml.cs" (88%)
rename "\345\215\210\344\274\221\347\275\221\346\230\223\344\272\221\346\222\255\346\224\276\345\231\250/Pages/HomePage.xaml" => "\345\215\210\344\274\221\351\237\263\344\271\220\346\222\255\346\224\276\345\231\250/Pages/HomePage.xaml" (95%)
rename "\345\215\210\344\274\221\347\275\221\346\230\223\344\272\221\346\222\255\346\224\276\345\231\250/Pages/HomePage.xaml.cs" => "\345\215\210\344\274\221\351\237\263\344\271\220\346\222\255\346\224\276\345\231\250/Pages/HomePage.xaml.cs" (74%)
rename "\345\215\210\344\274\221\347\275\221\346\230\223\344\272\221\346\222\255\346\224\276\345\231\250/Pages/MusicDataPage.xaml" => "\345\215\210\344\274\221\351\237\263\344\271\220\346\222\255\346\224\276\345\231\250/Pages/MusicDataPage.xaml" (99%)
rename "\345\215\210\344\274\221\347\275\221\346\230\223\344\272\221\346\222\255\346\224\276\345\231\250/Pages/MusicDataPage.xaml.cs" => "\345\215\210\344\274\221\351\237\263\344\271\220\346\222\255\346\224\276\345\231\250/Pages/MusicDataPage.xaml.cs" (98%)
rename "\345\215\210\344\274\221\347\275\221\346\230\223\344\272\221\346\222\255\346\224\276\345\231\250/Pages/SettingPage.xaml" => "\345\215\210\344\274\221\351\237\263\344\271\220\346\222\255\346\224\276\345\231\250/Pages/SettingPage.xaml" (97%)
rename "\345\215\210\344\274\221\347\275\221\346\230\223\344\272\221\346\222\255\346\224\276\345\231\250/Pages/SettingPage.xaml.cs" => "\345\215\210\344\274\221\351\237\263\344\271\220\346\222\255\346\224\276\345\231\250/Pages/SettingPage.xaml.cs" (88%)
rename "\345\215\210\344\274\221\347\275\221\346\230\223\344\272\221\346\222\255\346\224\276\345\231\250/Resources/Fonts/MiSans-Regular.ttf" => "\345\215\210\344\274\221\351\237\263\344\271\220\346\222\255\346\224\276\345\231\250/Resources/Fonts/MiSans-Regular.ttf" (100%)
rename "\345\215\210\344\274\221\347\275\221\346\230\223\344\272\221\346\222\255\346\224\276\345\231\250/Resources/Fonts/\346\261\237\350\245\277\346\213\231\346\245\267.ttf" => "\345\215\210\344\274\221\351\237\263\344\271\220\346\222\255\346\224\276\345\231\250/Resources/Fonts/\346\261\237\350\245\277\346\213\231\346\245\267.ttf" (100%)
rename "\345\215\210\344\274\221\347\275\221\346\230\223\344\272\221\346\222\255\346\224\276\345\231\250/Resources/Fonts/\350\205\276\350\256\257\345\222\214\345\271\263\347\262\276\350\213\261\344\275\223Bold.ttf" => "\345\215\210\344\274\221\351\237\263\344\271\220\346\222\255\346\224\276\345\231\250/Resources/Fonts/\350\205\276\350\256\257\345\222\214\345\271\263\347\262\276\350\213\261\344\275\223Bold.ttf" (100%)
rename "\345\215\210\344\274\221\347\275\221\346\230\223\344\272\221\346\222\255\346\224\276\345\231\250/Resources/Icons/About.png" => "\345\215\210\344\274\221\351\237\263\344\271\220\346\222\255\346\224\276\345\231\250/Resources/Icons/About.png" (100%)
rename "\345\215\210\344\274\221\347\275\221\346\230\223\344\272\221\346\222\255\346\224\276\345\231\250/Resources/Icons/CloudMusic.ico" => "\345\215\210\344\274\221\351\237\263\344\271\220\346\222\255\346\224\276\345\231\250/Resources/Icons/CloudMusic.ico" (100%)
rename "\345\215\210\344\274\221\347\275\221\346\230\223\344\272\221\346\222\255\346\224\276\345\231\250/Resources/Icons/Home.png" => "\345\215\210\344\274\221\351\237\263\344\271\220\346\222\255\346\224\276\345\231\250/Resources/Icons/Home.png" (100%)
rename "\345\215\210\344\274\221\347\275\221\346\230\223\344\272\221\346\222\255\346\224\276\345\231\250/Resources/Icons/MainIcon.ico" => "\345\215\210\344\274\221\351\237\263\344\271\220\346\222\255\346\224\276\345\231\250/Resources/Icons/MainIcon.ico" (100%)
rename "\345\215\210\344\274\221\347\275\221\346\230\223\344\272\221\346\222\255\346\224\276\345\231\250/Resources/Icons/Music.png" => "\345\215\210\344\274\221\351\237\263\344\271\220\346\222\255\346\224\276\345\231\250/Resources/Icons/Music.png" (100%)
rename "\345\215\210\344\274\221\347\275\221\346\230\223\344\272\221\346\222\255\346\224\276\345\231\250/Resources/Icons/QQMusic.ico" => "\345\215\210\344\274\221\351\237\263\344\271\220\346\222\255\346\224\276\345\231\250/Resources/Icons/QQMusic.ico" (100%)
rename "\345\215\210\344\274\221\347\275\221\346\230\223\344\272\221\346\222\255\346\224\276\345\231\250/Resources/Icons/Setting.png" => "\345\215\210\344\274\221\351\237\263\344\271\220\346\222\255\346\224\276\345\231\250/Resources/Icons/Setting.png" (100%)
rename "\345\215\210\344\274\221\347\275\221\346\230\223\344\272\221\346\222\255\346\224\276\345\231\250/Resources/Xaml/ScrollViewer.xaml" => "\345\215\210\344\274\221\351\237\263\344\271\220\346\222\255\346\224\276\345\231\250/Resources/Xaml/ScrollViewer.xaml" (100%)
rename "\345\215\210\344\274\221\347\275\221\346\230\223\344\272\221\346\222\255\346\224\276\345\231\250/Resources/Xaml/SysTrayMenu.xaml" => "\345\215\210\344\274\221\351\237\263\344\271\220\346\222\255\346\224\276\345\231\250/Resources/Xaml/SysTrayMenu.xaml" (100%)
rename "\345\215\210\344\274\221\347\275\221\346\230\223\344\272\221\346\222\255\346\224\276\345\231\250/Resources/Xaml/SystemTray.xaml" => "\345\215\210\344\274\221\351\237\263\344\271\220\346\222\255\346\224\276\345\231\250/Resources/Xaml/SystemTray.xaml" (82%)
rename "\345\215\210\344\274\221\347\275\221\346\230\223\344\272\221\346\222\255\346\224\276\345\231\250/Settings.Designer.cs" => "\345\215\210\344\274\221\351\237\263\344\271\220\346\222\255\346\224\276\345\231\250/Settings.Designer.cs" (99%)
rename "\345\215\210\344\274\221\347\275\221\346\230\223\344\272\221\346\222\255\346\224\276\345\231\250/Settings.settings" => "\345\215\210\344\274\221\351\237\263\344\271\220\346\222\255\346\224\276\345\231\250/Settings.settings" (100%)
rename "\345\215\210\344\274\221\347\275\221\346\230\223\344\272\221\346\222\255\346\224\276\345\231\250/\345\215\210\344\274\221\347\275\221\346\230\223\344\272\221\346\222\255\346\224\276\345\231\250.csproj" => "\345\215\210\344\274\221\351\237\263\344\271\220\346\222\255\346\224\276\345\231\250/\345\215\210\344\274\221\351\237\263\344\271\220\346\222\255\346\224\276\345\231\250.csproj" (93%)
diff --git "a/.idea/.idea.\345\215\210\344\274\221\347\275\221\346\230\223\344\272\221\346\222\255\346\224\276\345\231\250/.idea/workspace.xml" "b/.idea/.idea.\345\215\210\344\274\221\347\275\221\346\230\223\344\272\221\346\222\255\346\224\276\345\231\250/.idea/workspace.xml"
new file mode 100644
index 0000000..74c8a25
--- /dev/null
+++ "b/.idea/.idea.\345\215\210\344\274\221\347\275\221\346\230\223\344\272\221\346\222\255\346\224\276\345\231\250/.idea/workspace.xml"
@@ -0,0 +1,127 @@
+
+
+
+ 午休网易云播放器/午休网易云播放器.csproj
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {
+ "associatedIndex": 8
+}
+
+
+
+
+
+
+
+
+ {
+ "keyToString": {
+ ".NET 项目.午休网易云播放器.executor": "Run",
+ ".NET 项目.未命名.executor": "Run",
+ "RunOnceActivity.ShowReadmeOnStart": "true",
+ "git-widget-placeholder": "master",
+ "ignore.virus.scanning.warn.message": "true",
+ "node.js.detected.package.eslint": "true",
+ "node.js.detected.package.tslint": "true",
+ "node.js.selected.package.eslint": "(autodetect)",
+ "node.js.selected.package.tslint": "(autodetect)",
+ "nodejs_package_manager_path": "npm",
+ "settings.editor.selected.configurable": "editor.preferences.smartKeys_rider",
+ "vue.rearranger.settings.migration": "true",
+ "发布到文件夹.午休网易云播放器.executor": "Run"
+ }
+}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 1731080457912
+
+
+ 1731080457912
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git "a/.idea/.idea.\345\215\210\344\274\221\347\275\221\346\230\223\344\272\221\346\222\255\346\224\276\345\231\250/.idea/.gitignore" "b/.idea/.idea.\345\215\210\344\274\221\351\237\263\344\271\220\346\222\255\346\224\276\345\231\250/.idea/.gitignore"
similarity index 100%
rename from ".idea/.idea.\345\215\210\344\274\221\347\275\221\346\230\223\344\272\221\346\222\255\346\224\276\345\231\250/.idea/.gitignore"
rename to ".idea/.idea.\345\215\210\344\274\221\351\237\263\344\271\220\346\222\255\346\224\276\345\231\250/.idea/.gitignore"
diff --git "a/.idea/.idea.\345\215\210\344\274\221\347\275\221\346\230\223\344\272\221\346\222\255\346\224\276\345\231\250/.idea/encodings.xml" "b/.idea/.idea.\345\215\210\344\274\221\351\237\263\344\271\220\346\222\255\346\224\276\345\231\250/.idea/encodings.xml"
similarity index 100%
rename from ".idea/.idea.\345\215\210\344\274\221\347\275\221\346\230\223\344\272\221\346\222\255\346\224\276\345\231\250/.idea/encodings.xml"
rename to ".idea/.idea.\345\215\210\344\274\221\351\237\263\344\271\220\346\222\255\346\224\276\345\231\250/.idea/encodings.xml"
diff --git "a/.idea/.idea.\345\215\210\344\274\221\347\275\221\346\230\223\344\272\221\346\222\255\346\224\276\345\231\250/.idea/indexLayout.xml" "b/.idea/.idea.\345\215\210\344\274\221\351\237\263\344\271\220\346\222\255\346\224\276\345\231\250/.idea/indexLayout.xml"
similarity index 100%
rename from ".idea/.idea.\345\215\210\344\274\221\347\275\221\346\230\223\344\272\221\346\222\255\346\224\276\345\231\250/.idea/indexLayout.xml"
rename to ".idea/.idea.\345\215\210\344\274\221\351\237\263\344\271\220\346\222\255\346\224\276\345\231\250/.idea/indexLayout.xml"
diff --git "a/.idea/.idea.\345\215\210\344\274\221\347\275\221\346\230\223\344\272\221\346\222\255\346\224\276\345\231\250/.idea/vcs.xml" "b/.idea/.idea.\345\215\210\344\274\221\351\237\263\344\271\220\346\222\255\346\224\276\345\231\250/.idea/vcs.xml"
similarity index 100%
rename from ".idea/.idea.\345\215\210\344\274\221\347\275\221\346\230\223\344\272\221\346\222\255\346\224\276\345\231\250/.idea/vcs.xml"
rename to ".idea/.idea.\345\215\210\344\274\221\351\237\263\344\271\220\346\222\255\346\224\276\345\231\250/.idea/vcs.xml"
diff --git a/Setup/Setup.vdproj b/Setup/Setup.vdproj
index f5e6cad..0e56370 100644
--- a/Setup/Setup.vdproj
+++ b/Setup/Setup.vdproj
@@ -3,7 +3,7 @@
"VSVersion" = "3:800"
"ProjectType" = "8:{978C614F-708E-4E1A-B201-565925725DBA}"
"IsWebType" = "8:FALSE"
-"ProjectName" = "8:午休网易云播放器安装程序"
+"ProjectName" = "8:午休音乐播放器安装程序"
"LanguageId" = "3:2052"
"CodePage" = "3:936"
"UILanguageId" = "3:2052"
@@ -43,6 +43,14 @@
"PrivateKeyFile" = "8:"
"TimeStampServer" = "8:"
"InstallerBootstrapper" = "3:2"
+ "BootstrapperCfg:{63ACBE69-63AA-4F98-B2B6-99F9E24495F2}"
+ {
+ "Enabled" = "11:TRUE"
+ "PromptEnabled" = "11:TRUE"
+ "PrerequisitesLocation" = "2:1"
+ "Url" = "8:"
+ "ComponentsUrl" = "8:"
+ }
}
"Release"
{
@@ -59,6 +67,14 @@
"PrivateKeyFile" = "8:"
"TimeStampServer" = "8:"
"InstallerBootstrapper" = "3:2"
+ "BootstrapperCfg:{63ACBE69-63AA-4F98-B2B6-99F9E24495F2}"
+ {
+ "Enabled" = "11:TRUE"
+ "PromptEnabled" = "11:TRUE"
+ "PrerequisitesLocation" = "2:1"
+ "Url" = "8:"
+ "ComponentsUrl" = "8:"
+ }
}
}
"Deployable"
@@ -716,7 +732,7 @@
{
"{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_B29196B82C4245ADB1E708D64675668C"
{
- "SourcePath" = "8:..\\午休网易云播放器\\obj\\Debug\\net8.0-windows10.0.17763.0\\apphost.exe"
+ "SourcePath" = "8:..\\午休音乐播放器\\obj\\Debug\\net8.0-windows10.0.17763.0\\apphost.exe"
"TargetName" = "8:"
"Tag" = "8:"
"Folder" = "8:_EBAB0A92987349E8AC1965667A9DDBBA"
diff --git "a/\345\215\210\344\274\221\347\275\221\346\230\223\344\272\221\346\222\255\346\224\276\345\231\250.sln" "b/\345\215\210\344\274\221\351\237\263\344\271\220\346\222\255\346\224\276\345\231\250.sln"
similarity index 86%
rename from "\345\215\210\344\274\221\347\275\221\346\230\223\344\272\221\346\222\255\346\224\276\345\231\250.sln"
rename to "\345\215\210\344\274\221\351\237\263\344\271\220\346\222\255\346\224\276\345\231\250.sln"
index a496971..8e64a22 100644
--- "a/\345\215\210\344\274\221\347\275\221\346\230\223\344\272\221\346\222\255\346\224\276\345\231\250.sln"
+++ "b/\345\215\210\344\274\221\351\237\263\344\271\220\346\222\255\346\224\276\345\231\250.sln"
@@ -3,7 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.12.35424.110
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "午休网易云播放器", "午休网易云播放器\午休网易云播放器.csproj", "{F0B01162-E1AC-443B-A8F0-018D9B682DBE}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "午休音乐播放器", "午休音乐播放器\午休音乐播放器.csproj", "{F0B01162-E1AC-443B-A8F0-018D9B682DBE}"
EndProject
Project("{54435603-DBB4-11D2-8724-00A0C9A8B90C}") = "Setup", "Setup\Setup.vdproj", "{14676F52-502C-4B76-AF40-AC6DEC1D1685}"
EndProject
diff --git "a/\345\215\210\344\274\221\347\275\221\346\230\223\344\272\221\346\222\255\346\224\276\345\231\250/App.config" "b/\345\215\210\344\274\221\351\237\263\344\271\220\346\222\255\346\224\276\345\231\250/App.config"
similarity index 82%
rename from "\345\215\210\344\274\221\347\275\221\346\230\223\344\272\221\346\222\255\346\224\276\345\231\250/App.config"
rename to "\345\215\210\344\274\221\351\237\263\344\271\220\346\222\255\346\224\276\345\231\250/App.config"
index 2aa1ca3..140adc7 100644
--- "a/\345\215\210\344\274\221\347\275\221\346\230\223\344\272\221\346\222\255\346\224\276\345\231\250/App.config"
+++ "b/\345\215\210\344\274\221\351\237\263\344\271\220\346\222\255\346\224\276\345\231\250/App.config"
@@ -2,11 +2,11 @@
-
+
- <午休网易云播放器.Settings>
+ <午休音乐播放器.Settings>
13
@@ -40,6 +40,6 @@
1
- 午休网易云播放器.Settings>
+ 午休音乐播放器.Settings>
\ No newline at end of file
diff --git "a/\345\215\210\344\274\221\347\275\221\346\230\223\344\272\221\346\222\255\346\224\276\345\231\250/App.xaml" "b/\345\215\210\344\274\221\351\237\263\344\271\220\346\222\255\346\224\276\345\231\250/App.xaml"
similarity index 92%
rename from "\345\215\210\344\274\221\347\275\221\346\230\223\344\272\221\346\222\255\346\224\276\345\231\250/App.xaml"
rename to "\345\215\210\344\274\221\351\237\263\344\271\220\346\222\255\346\224\276\345\231\250/App.xaml"
index 6598763..2450dce 100644
--- "a/\345\215\210\344\274\221\347\275\221\346\230\223\344\272\221\346\222\255\346\224\276\345\231\250/App.xaml"
+++ "b/\345\215\210\344\274\221\351\237\263\344\271\220\346\222\255\346\224\276\345\231\250/App.xaml"
@@ -1,4 +1,4 @@
-
-
+
-
-
+
Resources/Fonts/#MISans
-
+
Resources/Fonts/江西拙楷.ttf#江西拙楷
@@ -29,7 +28,6 @@
Resources/Fonts/腾讯和平精英体Bold.ttf#腾讯和平精英体
-
diff --git "a/\345\215\210\344\274\221\347\275\221\346\230\223\344\272\221\346\222\255\346\224\276\345\231\250/App.xaml.cs" "b/\345\215\210\344\274\221\351\237\263\344\271\220\346\222\255\346\224\276\345\231\250/App.xaml.cs"
similarity index 96%
rename from "\345\215\210\344\274\221\347\275\221\346\230\223\344\272\221\346\222\255\346\224\276\345\231\250/App.xaml.cs"
rename to "\345\215\210\344\274\221\351\237\263\344\271\220\346\222\255\346\224\276\345\231\250/App.xaml.cs"
index 5e0526d..5a8919d 100644
--- "a/\345\215\210\344\274\221\347\275\221\346\230\223\344\272\221\346\222\255\346\224\276\345\231\250/App.xaml.cs"
+++ "b/\345\215\210\344\274\221\351\237\263\344\271\220\346\222\255\346\224\276\345\231\250/App.xaml.cs"
@@ -2,7 +2,7 @@
using System.Windows;
using Windows.Foundation.Collections;
-namespace 午休网易云播放器
+namespace 午休音乐播放器
{
///
/// Interaction logic for App.xaml
diff --git "a/\345\215\210\344\274\221\347\275\221\346\230\223\344\272\221\346\222\255\346\224\276\345\231\250/AssemblyInfo.cs" "b/\345\215\210\344\274\221\351\237\263\344\271\220\346\222\255\346\224\276\345\231\250/AssemblyInfo.cs"
similarity index 100%
rename from "\345\215\210\344\274\221\347\275\221\346\230\223\344\272\221\346\222\255\346\224\276\345\231\250/AssemblyInfo.cs"
rename to "\345\215\210\344\274\221\351\237\263\344\271\220\346\222\255\346\224\276\345\231\250/AssemblyInfo.cs"
diff --git "a/\345\215\210\344\274\221\347\275\221\346\230\223\344\272\221\346\222\255\346\224\276\345\231\250/Class/DelegateCommand.cs" "b/\345\215\210\344\274\221\351\237\263\344\271\220\346\222\255\346\224\276\345\231\250/Class/DelegateCommand.cs"
similarity index 93%
rename from "\345\215\210\344\274\221\347\275\221\346\230\223\344\272\221\346\222\255\346\224\276\345\231\250/Class/DelegateCommand.cs"
rename to "\345\215\210\344\274\221\351\237\263\344\271\220\346\222\255\346\224\276\345\231\250/Class/DelegateCommand.cs"
index 24ae2c0..085a68e 100644
--- "a/\345\215\210\344\274\221\347\275\221\346\230\223\344\272\221\346\222\255\346\224\276\345\231\250/Class/DelegateCommand.cs"
+++ "b/\345\215\210\344\274\221\351\237\263\344\271\220\346\222\255\346\224\276\345\231\250/Class/DelegateCommand.cs"
@@ -1,6 +1,6 @@
using System.Windows.Input;
-namespace 午休网易云播放器.Class
+namespace 午休音乐播放器.Class
{
public class DelegateCommand : ICommand
{
diff --git "a/\345\215\210\344\274\221\347\275\221\346\230\223\344\272\221\346\222\255\346\224\276\345\231\250/Class/MainTimer.cs" "b/\345\215\210\344\274\221\351\237\263\344\271\220\346\222\255\346\224\276\345\231\250/Class/MainTimer.cs"
similarity index 92%
rename from "\345\215\210\344\274\221\347\275\221\346\230\223\344\272\221\346\222\255\346\224\276\345\231\250/Class/MainTimer.cs"
rename to "\345\215\210\344\274\221\351\237\263\344\271\220\346\222\255\346\224\276\345\231\250/Class/MainTimer.cs"
index 700c179..76ff7ba 100644
--- "a/\345\215\210\344\274\221\347\275\221\346\230\223\344\272\221\346\222\255\346\224\276\345\231\250/Class/MainTimer.cs"
+++ "b/\345\215\210\344\274\221\351\237\263\344\271\220\346\222\255\346\224\276\345\231\250/Class/MainTimer.cs"
@@ -1,8 +1,8 @@
-using System.Timers;
-using Microsoft.Toolkit.Uwp.Notifications;
+using Microsoft.Toolkit.Uwp.Notifications;
+using System.Timers;
using Timer = System.Timers.Timer;
-namespace 午休网易云播放器.Class;
+namespace 午休音乐播放器.Class;
public class MainTimer
{
@@ -49,7 +49,7 @@ private void OnTimedEvent(Object source, ElapsedEventArgs e)
.AddText("开始播放音乐")
.AddText($"已开始播放 {StaticData.WillBeginMusic} 歌曲")
.Show();
-
+
// 关闭计时器
CloseTimer();
@@ -58,10 +58,11 @@ private void OnTimedEvent(Object source, ElapsedEventArgs e)
// 选择播放平台
switch (StaticData.StartMusicMethodType)
{
- case 0:
+ case 0:
await methodClass.TaskStartQQMusic(StaticData.WillBeginMusic, StaticData.LateTime);
break;
- case 1:
+
+ case 1:
await methodClass.TaskStartCloudMusic(StaticData.WillBeginMusic, StaticData.LateTime);
break;
}
diff --git "a/\345\215\210\344\274\221\347\275\221\346\230\223\344\272\221\346\222\255\346\224\276\345\231\250/Class/MethodClass.cs" "b/\345\215\210\344\274\221\351\237\263\344\271\220\346\222\255\346\224\276\345\231\250/Class/MethodClass.cs"
similarity index 66%
rename from "\345\215\210\344\274\221\347\275\221\346\230\223\344\272\221\346\222\255\346\224\276\345\231\250/Class/MethodClass.cs"
rename to "\345\215\210\344\274\221\351\237\263\344\271\220\346\222\255\346\224\276\345\231\250/Class/MethodClass.cs"
index e7e5110..82161c2 100644
--- "a/\345\215\210\344\274\221\347\275\221\346\230\223\344\272\221\346\222\255\346\224\276\345\231\250/Class/MethodClass.cs"
+++ "b/\345\215\210\344\274\221\351\237\263\344\271\220\346\222\255\346\224\276\345\231\250/Class/MethodClass.cs"
@@ -2,7 +2,7 @@
using WindowsInput;
using WindowsInput.Native;
-namespace 午休网易云播放器.Class
+namespace 午休音乐播放器.Class
{
public class MethodClass
{
@@ -14,75 +14,75 @@ public async Task TaskStartCloudMusic(string musicName, int lateTime)
await Task.Run(() =>
{
// 导入 SetCursorPos 函数
- [DllImport("user32.dll")]
- static extern bool SetCursorPos(int X, int Y);
-
- InputSimulator inputSimulator = new();
-
- inputSimulator.Keyboard.ModifiedKeyStroke(VirtualKeyCode.LWIN, VirtualKeyCode.VK_R);
- Thread.Sleep(lateTime + 500);
-
- inputSimulator.Keyboard.TextEntry("cmd");
- Thread.Sleep(lateTime + 50);
- inputSimulator.Keyboard.KeyPress(VirtualKeyCode.RETURN);
- Thread.Sleep(lateTime + 1000);
-
- inputSimulator.Keyboard.TextEntry("start C:\\ProgramData\\Microsoft\\Windows\\\"Start Menu\"\\Programs\\网易云音乐.lnk");
- inputSimulator.Keyboard.KeyPress(VirtualKeyCode.RETURN);
- inputSimulator.Keyboard.TextEntry("exit");
- inputSimulator.Keyboard.KeyPress(VirtualKeyCode.RETURN);
- Thread.Sleep(lateTime + 6000);
-
- inputSimulator.Keyboard.ModifiedKeyStroke(VirtualKeyCode.LWIN, VirtualKeyCode.UP);
-
- Thread.Sleep(lateTime + 500);
-
- // 模拟鼠标移动到屏幕坐标 (405, 36)
- SetCursorPos(405, 36);
- Thread.Sleep(lateTime + 200);
-
- inputSimulator.Mouse.LeftButtonClick();
-
- // 清空输入内容
- inputSimulator.Keyboard.ModifiedKeyStroke(VirtualKeyCode.CONTROL, VirtualKeyCode.VK_A);
- Thread.Sleep(lateTime + 200);
- inputSimulator.Keyboard.KeyPress(VirtualKeyCode.BACK);
- Thread.Sleep(lateTime + 200);
- // 输入内容
- inputSimulator.Keyboard.TextEntry(musicName);
- Thread.Sleep(lateTime + 200);
- // 回车搜索
- inputSimulator.Keyboard.KeyPress(VirtualKeyCode.RETURN);
- Thread.Sleep(lateTime + 500);
- // 空白区点击
- SetCursorPos(873, 34);
- inputSimulator.Mouse.LeftButtonClick();
-
- Thread.Sleep(lateTime + 1000);
-
- // 单曲点击
- SetCursorPos(387, 152);
-
- inputSimulator.Mouse.LeftButtonClick();
- Thread.Sleep(lateTime + 300);
-
- // 音乐播放点击
- SetCursorPos(370, 260);
- Thread.Sleep(lateTime + 1000);
- inputSimulator.Mouse.LeftButtonClick();
- Thread.Sleep(400);
- inputSimulator.Mouse.LeftButtonClick();
-
- Thread.Sleep(lateTime + 1000);
-
- // 打开歌词界面
- SetCursorPos(57, 1003);
- inputSimulator.Mouse.LeftButtonClick();
- Thread.Sleep(lateTime + 500);
- inputSimulator.Keyboard.ModifiedKeyStroke(VirtualKeyCode.CONTROL, VirtualKeyCode.VK_D);
+ [DllImport("user32.dll")]
+ static extern bool SetCursorPos(int X, int Y);
+
+ InputSimulator inputSimulator = new();
+
+ inputSimulator.Keyboard.ModifiedKeyStroke(VirtualKeyCode.LWIN, VirtualKeyCode.VK_R);
+ Thread.Sleep(lateTime + 500);
+
+ inputSimulator.Keyboard.TextEntry("cmd");
+ Thread.Sleep(lateTime + 50);
+ inputSimulator.Keyboard.KeyPress(VirtualKeyCode.RETURN);
+ Thread.Sleep(lateTime + 1000);
+
+ inputSimulator.Keyboard.TextEntry("start C:\\ProgramData\\Microsoft\\Windows\\\"Start Menu\"\\Programs\\网易云音乐.lnk");
+ inputSimulator.Keyboard.KeyPress(VirtualKeyCode.RETURN);
+ inputSimulator.Keyboard.TextEntry("exit");
+ inputSimulator.Keyboard.KeyPress(VirtualKeyCode.RETURN);
+ Thread.Sleep(lateTime + 6000);
+
+ inputSimulator.Keyboard.ModifiedKeyStroke(VirtualKeyCode.LWIN, VirtualKeyCode.UP);
+
+ Thread.Sleep(lateTime + 500);
+
+ // 模拟鼠标移动到屏幕坐标 (405, 36)
+ SetCursorPos(405, 36);
+ Thread.Sleep(lateTime + 200);
+
+ inputSimulator.Mouse.LeftButtonClick();
+
+ // 清空输入内容
+ inputSimulator.Keyboard.ModifiedKeyStroke(VirtualKeyCode.CONTROL, VirtualKeyCode.VK_A);
+ Thread.Sleep(lateTime + 200);
+ inputSimulator.Keyboard.KeyPress(VirtualKeyCode.BACK);
+ Thread.Sleep(lateTime + 200);
+ // 输入内容
+ inputSimulator.Keyboard.TextEntry(musicName);
+ Thread.Sleep(lateTime + 200);
+ // 回车搜索
+ inputSimulator.Keyboard.KeyPress(VirtualKeyCode.RETURN);
+ Thread.Sleep(lateTime + 500);
+ // 空白区点击
+ SetCursorPos(873, 34);
+ inputSimulator.Mouse.LeftButtonClick();
+
+ Thread.Sleep(lateTime + 1000);
+
+ // 单曲点击
+ SetCursorPos(387, 152);
+
+ inputSimulator.Mouse.LeftButtonClick();
+ Thread.Sleep(lateTime + 300);
+
+ // 音乐播放点击
+ SetCursorPos(370, 260);
+ Thread.Sleep(lateTime + 1000);
+ inputSimulator.Mouse.LeftButtonClick();
+ Thread.Sleep(400);
+ inputSimulator.Mouse.LeftButtonClick();
+
+ Thread.Sleep(lateTime + 1000);
+
+ // 打开歌词界面
+ SetCursorPos(57, 1003);
+ inputSimulator.Mouse.LeftButtonClick();
+ Thread.Sleep(lateTime + 500);
+ inputSimulator.Keyboard.ModifiedKeyStroke(VirtualKeyCode.CONTROL, VirtualKeyCode.VK_D);
});
}
-
+
///
/// QQ音乐启动
///
@@ -93,37 +93,37 @@ await Task.Run(() =>
// 导入 SetCursorPos 函数
[DllImport("user32.dll")]
static extern bool SetCursorPos(int X, int Y);
-
+
InputSimulator inputSimulator = new();
-
+
inputSimulator.Keyboard.ModifiedKeyStroke(VirtualKeyCode.LWIN, VirtualKeyCode.VK_R);
Thread.Sleep(lateTime + 500);
-
+
inputSimulator.Keyboard.TextEntry("cmd");
Thread.Sleep(lateTime + 50);
inputSimulator.Keyboard.KeyPress(VirtualKeyCode.RETURN);
Thread.Sleep(lateTime + 1000);
-
+
inputSimulator.Keyboard.TextEntry(
"start C:\\ProgramData\\Microsoft\\Windows\\\"Start Menu\"\\Programs\\腾讯软件\\QQ音乐\\QQ音乐.lnk");
inputSimulator.Keyboard.KeyPress(VirtualKeyCode.RETURN);
inputSimulator.Keyboard.TextEntry("exit");
inputSimulator.Keyboard.KeyPress(VirtualKeyCode.RETURN);
Thread.Sleep(lateTime + 6000);
-
+
//最大化
//inputSimulator.Keyboard.ModifiedKeyStroke(VirtualKeyCode.LWIN, VirtualKeyCode.UP);
inputSimulator.Keyboard.ModifiedKeyStroke(VirtualKeyCode.MENU, VirtualKeyCode.SPACE);
inputSimulator.Keyboard.KeyPress(VirtualKeyCode.VK_X);
Thread.Sleep(lateTime + 500);
-
+
// 模拟鼠标移动到屏幕坐标 (432, 31)
SetCursorPos(432, 31);
Thread.Sleep(lateTime + 200);
-
+
inputSimulator.Mouse.LeftButtonClick();
-
+
// 清空输入内容
inputSimulator.Keyboard.ModifiedKeyStroke(VirtualKeyCode.CONTROL, VirtualKeyCode.VK_A);
Thread.Sleep(lateTime + 200);
@@ -138,19 +138,19 @@ await Task.Run(() =>
// 空白区点击
SetCursorPos(895, 25);
inputSimulator.Mouse.LeftButtonClick();
-
+
Thread.Sleep(lateTime + 2000);
// 滚轮调整
inputSimulator.Mouse.VerticalScroll(-2);
-
+
// 音乐播放点击
SetCursorPos(278, 154);
Thread.Sleep(lateTime + 1000);
inputSimulator.Mouse.LeftButtonClick();
-
+
Thread.Sleep(lateTime + 1000);
-
+
// 打开歌词界面
SetCursorPos(33, 1000);
inputSimulator.Mouse.LeftButtonClick();
diff --git "a/\345\215\210\344\274\221\347\275\221\346\230\223\344\272\221\346\222\255\346\224\276\345\231\250/Class/NotifyIconViewModel.cs" "b/\345\215\210\344\274\221\351\237\263\344\271\220\346\222\255\346\224\276\345\231\250/Class/NotifyIconViewModel.cs"
similarity index 97%
rename from "\345\215\210\344\274\221\347\275\221\346\230\223\344\272\221\346\222\255\346\224\276\345\231\250/Class/NotifyIconViewModel.cs"
rename to "\345\215\210\344\274\221\351\237\263\344\271\220\346\222\255\346\224\276\345\231\250/Class/NotifyIconViewModel.cs"
index f5cf9db..20cac6c 100644
--- "a/\345\215\210\344\274\221\347\275\221\346\230\223\344\272\221\346\222\255\346\224\276\345\231\250/Class/NotifyIconViewModel.cs"
+++ "b/\345\215\210\344\274\221\351\237\263\344\271\220\346\222\255\346\224\276\345\231\250/Class/NotifyIconViewModel.cs"
@@ -1,7 +1,7 @@
using System.Windows;
using System.Windows.Input;
-namespace 午休网易云播放器.Class
+namespace 午休音乐播放器.Class
{
public class NotifyIconViewModel
{
diff --git "a/\345\215\210\344\274\221\347\275\221\346\230\223\344\272\221\346\222\255\346\224\276\345\231\250/Class/StaticData.cs" "b/\345\215\210\344\274\221\351\237\263\344\271\220\346\222\255\346\224\276\345\231\250/Class/StaticData.cs"
similarity index 94%
rename from "\345\215\210\344\274\221\347\275\221\346\230\223\344\272\221\346\222\255\346\224\276\345\231\250/Class/StaticData.cs"
rename to "\345\215\210\344\274\221\351\237\263\344\271\220\346\222\255\346\224\276\345\231\250/Class/StaticData.cs"
index 26b3ca2..e0ab810 100644
--- "a/\345\215\210\344\274\221\347\275\221\346\230\223\344\272\221\346\222\255\346\224\276\345\231\250/Class/StaticData.cs"
+++ "b/\345\215\210\344\274\221\351\237\263\344\271\220\346\222\255\346\224\276\345\231\250/Class/StaticData.cs"
@@ -1,12 +1,12 @@
-namespace 午休网易云播放器.Class
+namespace 午休音乐播放器.Class
{
public static class StaticData
{
- public static string AppName = "午休网易云播放器";
+ public static string AppName = "午休音乐播放器";
public static int BeginHour;
public static int BeginMinute;
-
+
// 启动音乐方式
public static int StartMusicMethodType;
@@ -20,7 +20,7 @@ public static class StaticData
//开启循环按钮状态
public static bool IsStartButtonClick = false;
-
+
// 当前打开页面
public static string StartPage = "HomePage";
@@ -29,14 +29,14 @@ public static class StaticData
// 音乐列表数据
public static List MusicDataList = new();
-
+
// 构造函数
public static void SetStaticData()
{
GetData();
GetMusicListData();
}
-
+
// 从本地获取数据
private static void GetData()
{
@@ -44,7 +44,6 @@ private static void GetData()
BeginMinute = Settings.Default.BeginMinute;
LateTime = Settings.Default.LateTime;
StartMusicMethodType = Settings.Default.StartMusicMethodType;
-
}
// 从Setting获取MusicListData
diff --git "a/\345\215\210\344\274\221\347\275\221\346\230\223\344\272\221\346\222\255\346\224\276\345\231\250/MainIcon.ico" "b/\345\215\210\344\274\221\351\237\263\344\271\220\346\222\255\346\224\276\345\231\250/MainIcon.ico"
similarity index 100%
rename from "\345\215\210\344\274\221\347\275\221\346\230\223\344\272\221\346\222\255\346\224\276\345\231\250/MainIcon.ico"
rename to "\345\215\210\344\274\221\351\237\263\344\271\220\346\222\255\346\224\276\345\231\250/MainIcon.ico"
diff --git "a/\345\215\210\344\274\221\347\275\221\346\230\223\344\272\221\346\222\255\346\224\276\345\231\250/MainWindow.xaml" "b/\345\215\210\344\274\221\351\237\263\344\271\220\346\222\255\346\224\276\345\231\250/MainWindow.xaml"
similarity index 96%
rename from "\345\215\210\344\274\221\347\275\221\346\230\223\344\272\221\346\222\255\346\224\276\345\231\250/MainWindow.xaml"
rename to "\345\215\210\344\274\221\351\237\263\344\271\220\346\222\255\346\224\276\345\231\250/MainWindow.xaml"
index 6db7d2f..83c4bdd 100644
--- "a/\345\215\210\344\274\221\347\275\221\346\230\223\344\272\221\346\222\255\346\224\276\345\231\250/MainWindow.xaml"
+++ "b/\345\215\210\344\274\221\351\237\263\344\271\220\346\222\255\346\224\276\345\231\250/MainWindow.xaml"
@@ -1,4 +1,4 @@
-
+ RenderOptions.BitmapScalingMode="HighQuality" />
主页
-
-
+
-
-
+
-
-
+
diff --git "a/\345\215\210\344\274\221\347\275\221\346\230\223\344\272\221\346\222\255\346\224\276\345\231\250/MainWindow.xaml.cs" "b/\345\215\210\344\274\221\351\237\263\344\271\220\346\222\255\346\224\276\345\231\250/MainWindow.xaml.cs"
similarity index 96%
rename from "\345\215\210\344\274\221\347\275\221\346\230\223\344\272\221\346\222\255\346\224\276\345\231\250/MainWindow.xaml.cs"
rename to "\345\215\210\344\274\221\351\237\263\344\271\220\346\222\255\346\224\276\345\231\250/MainWindow.xaml.cs"
index eec4682..8fd7bfc 100644
--- "a/\345\215\210\344\274\221\347\275\221\346\230\223\344\272\221\346\222\255\346\224\276\345\231\250/MainWindow.xaml.cs"
+++ "b/\345\215\210\344\274\221\351\237\263\344\271\220\346\222\255\346\224\276\345\231\250/MainWindow.xaml.cs"
@@ -2,9 +2,9 @@
using Microsoft.Toolkit.Uwp.Notifications;
using System.ComponentModel;
using System.Windows;
-using 午休网易云播放器.Class;
+using 午休音乐播放器.Class;
-namespace 午休网易云播放器
+namespace 午休音乐播放器
{
///
/// Interaction logic for MainWindow.xaml
@@ -53,7 +53,6 @@ private void WindowClosing(object sender, CancelEventArgs e)
.Show();
}
-
// 切换界面
private void HomePageButton_Click(object sender, RoutedEventArgs e)
{
diff --git "a/\345\215\210\344\274\221\347\275\221\346\230\223\344\272\221\346\222\255\346\224\276\345\231\250/PageControllers/HomePageController.cs" "b/\345\215\210\344\274\221\351\237\263\344\271\220\346\222\255\346\224\276\345\231\250/PageControllers/HomePageController.cs"
similarity index 83%
rename from "\345\215\210\344\274\221\347\275\221\346\230\223\344\272\221\346\222\255\346\224\276\345\231\250/PageControllers/HomePageController.cs"
rename to "\345\215\210\344\274\221\351\237\263\344\271\220\346\222\255\346\224\276\345\231\250/PageControllers/HomePageController.cs"
index d7fd5ba..c183805 100644
--- "a/\345\215\210\344\274\221\347\275\221\346\230\223\344\272\221\346\222\255\346\224\276\345\231\250/PageControllers/HomePageController.cs"
+++ "b/\345\215\210\344\274\221\351\237\263\344\271\220\346\222\255\346\224\276\345\231\250/PageControllers/HomePageController.cs"
@@ -1,6 +1,6 @@
-using 午休网易云播放器.Pages;
+using 午休音乐播放器.Pages;
-namespace 午休网易云播放器.PageControllers
+namespace 午休音乐播放器.PageControllers
{
public class HomePageController
{
diff --git "a/\345\215\210\344\274\221\347\275\221\346\230\223\344\272\221\346\222\255\346\224\276\345\231\250/Pages/AboutPage.xaml" "b/\345\215\210\344\274\221\351\237\263\344\271\220\346\222\255\346\224\276\345\231\250/Pages/AboutPage.xaml"
similarity index 96%
rename from "\345\215\210\344\274\221\347\275\221\346\230\223\344\272\221\346\222\255\346\224\276\345\231\250/Pages/AboutPage.xaml"
rename to "\345\215\210\344\274\221\351\237\263\344\271\220\346\222\255\346\224\276\345\231\250/Pages/AboutPage.xaml"
index 9990826..d0ff90e 100644
--- "a/\345\215\210\344\274\221\347\275\221\346\230\223\344\272\221\346\222\255\346\224\276\345\231\250/Pages/AboutPage.xaml"
+++ "b/\345\215\210\344\274\221\351\237\263\344\271\220\346\222\255\346\224\276\345\231\250/Pages/AboutPage.xaml"
@@ -1,4 +1,4 @@
-
/// AboutPage.xaml 的交互逻辑
@@ -12,7 +12,7 @@ public partial class AboutPage : Page
public AboutPage()
{
InitializeComponent();
-
+
// 设置当前页面
StaticData.StartPage = "AboutPage";
diff --git "a/\345\215\210\344\274\221\347\275\221\346\230\223\344\272\221\346\222\255\346\224\276\345\231\250/Pages/HomePage.xaml" "b/\345\215\210\344\274\221\351\237\263\344\271\220\346\222\255\346\224\276\345\231\250/Pages/HomePage.xaml"
similarity index 95%
rename from "\345\215\210\344\274\221\347\275\221\346\230\223\344\272\221\346\222\255\346\224\276\345\231\250/Pages/HomePage.xaml"
rename to "\345\215\210\344\274\221\351\237\263\344\271\220\346\222\255\346\224\276\345\231\250/Pages/HomePage.xaml"
index 6464f06..c7dd56d 100644
--- "a/\345\215\210\344\274\221\347\275\221\346\230\223\344\272\221\346\222\255\346\224\276\345\231\250/Pages/HomePage.xaml"
+++ "b/\345\215\210\344\274\221\351\237\263\344\271\220\346\222\255\346\224\276\345\231\250/Pages/HomePage.xaml"
@@ -1,4 +1,4 @@
-
-
+
-
/// HomePage.xaml 的交互逻辑
@@ -32,30 +30,30 @@ public HomePage()
StartButton.Content = "启动";
CountDownTextBlock.Text = tip;
}
-
+
switch (StaticData.StartMusicMethodType)
{
case 0:
- {
- MainTitleIcon.Source = new BitmapImage(new System.Uri("/Resources/Icons/QQMusic.ico",UriKind.Relative));
- MainTitle.Text = "QQ音乐播放器";
- StartButton.Background = new SolidColorBrush(new Color() { R = 255, G = 220, B = 0, A = 255 });// #ffdc00 背景黄色
- StartButton.Foreground = new SolidColorBrush(new Color() { R = 17, G = 190, B = 115, A = 255 });// #11be73 文字绿色
- break;
- }
+ {
+ MainTitleIcon.Source = new BitmapImage(new System.Uri("/Resources/Icons/QQMusic.ico", UriKind.Relative));
+ MainTitle.Text = "QQ音乐播放器";
+ StartButton.Background = new SolidColorBrush(new Color() { R = 255, G = 220, B = 0, A = 255 });// #ffdc00 背景黄色
+ StartButton.Foreground = new SolidColorBrush(new Color() { R = 17, G = 190, B = 115, A = 255 });// #11be73 文字绿色
+ break;
+ }
case 1:
- {
- // #fd2b56
- MainTitleIcon.Source = new BitmapImage(new System.Uri("/Resources/Icons/CloudMusic.ico",UriKind.Relative));
- MainTitle.Text = "网易云音乐播放器";
- StartButton.Background = new SolidColorBrush(new Color() { R = 253, G = 43, B = 86, A = 255 });// #fd2b56 背景红色
- break;
- }
+ {
+ // #fd2b56
+ MainTitleIcon.Source = new BitmapImage(new System.Uri("/Resources/Icons/CloudMusic.ico", UriKind.Relative));
+ MainTitle.Text = "网易云音乐播放器";
+ StartButton.Background = new SolidColorBrush(new Color() { R = 253, G = 43, B = 86, A = 255 });// #fd2b56 背景红色
+ break;
+ }
}
}
-
+
// 主页提示语
- string tip = "\u2190 “音乐” 中可设置歌曲,“设置”中可选择启动平台";
+ private string tip = "\u2190 “音乐” 中可设置歌曲,“设置”中可选择启动平台";
// 定义计时器
private MainTimer mainTimer = new();
diff --git "a/\345\215\210\344\274\221\347\275\221\346\230\223\344\272\221\346\222\255\346\224\276\345\231\250/Pages/MusicDataPage.xaml" "b/\345\215\210\344\274\221\351\237\263\344\271\220\346\222\255\346\224\276\345\231\250/Pages/MusicDataPage.xaml"
similarity index 99%
rename from "\345\215\210\344\274\221\347\275\221\346\230\223\344\272\221\346\222\255\346\224\276\345\231\250/Pages/MusicDataPage.xaml"
rename to "\345\215\210\344\274\221\351\237\263\344\271\220\346\222\255\346\224\276\345\231\250/Pages/MusicDataPage.xaml"
index ca073ba..b225c98 100644
--- "a/\345\215\210\344\274\221\347\275\221\346\230\223\344\272\221\346\222\255\346\224\276\345\231\250/Pages/MusicDataPage.xaml"
+++ "b/\345\215\210\344\274\221\351\237\263\344\271\220\346\222\255\346\224\276\345\231\250/Pages/MusicDataPage.xaml"
@@ -1,4 +1,4 @@
-
/// MusicDataPage.xaml 的交互逻辑
@@ -12,7 +12,7 @@ public partial class MusicDataPage : Page
public MusicDataPage()
{
InitializeComponent();
-
+
// 设置当前页面
StaticData.StartPage = "MusicDataPage";
diff --git "a/\345\215\210\344\274\221\347\275\221\346\230\223\344\272\221\346\222\255\346\224\276\345\231\250/Pages/SettingPage.xaml" "b/\345\215\210\344\274\221\351\237\263\344\271\220\346\222\255\346\224\276\345\231\250/Pages/SettingPage.xaml"
similarity index 97%
rename from "\345\215\210\344\274\221\347\275\221\346\230\223\344\272\221\346\222\255\346\224\276\345\231\250/Pages/SettingPage.xaml"
rename to "\345\215\210\344\274\221\351\237\263\344\271\220\346\222\255\346\224\276\345\231\250/Pages/SettingPage.xaml"
index 9b762da..f06bdcb 100644
--- "a/\345\215\210\344\274\221\347\275\221\346\230\223\344\272\221\346\222\255\346\224\276\345\231\250/Pages/SettingPage.xaml"
+++ "b/\345\215\210\344\274\221\351\237\263\344\271\220\346\222\255\346\224\276\345\231\250/Pages/SettingPage.xaml"
@@ -1,4 +1,4 @@
-
-
+
-
+
-
+
+ RenderOptions.BitmapScalingMode="HighQuality" />
QQ音乐
-
+
+ VerticalAlignment="Center">
+ RenderOptions.BitmapScalingMode="HighQuality" />
网易云音乐
@@ -174,9 +174,9 @@
-
+
-
+
@@ -187,8 +187,8 @@
-
+ HorizontalAlignment="Left" />
+
-
+