From 5de5a26d3825b3182a7d3a18ed1cbdbb78a3f9aa Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期四, 23 七月 2020 16:39:59 +0800 Subject: [PATCH] 2020-07-23 --- HDL_ON/UI/UI2/FuntionControlView/Music/A31PlayMusicPage.cs | 20 ++++++++------------ 1 files changed, 8 insertions(+), 12 deletions(-) diff --git a/HDL_ON/UI/UI2/FuntionControlView/Music/A31PlayMusicPage.cs b/HDL_ON/UI/UI2/FuntionControlView/Music/A31PlayMusicPage.cs index b5c0cbe..571bc9e 100644 --- a/HDL_ON/UI/UI2/FuntionControlView/Music/A31PlayMusicPage.cs +++ b/HDL_ON/UI/UI2/FuntionControlView/Music/A31PlayMusicPage.cs @@ -26,10 +26,9 @@ } catch { } } - } View.PlayView playView = new View.PlayView(); - + public void Show() { ///1绉掑畾鏃舵洿鏂扮姸鎬� @@ -88,7 +87,7 @@ msg += Language.StringByID(StringId.listMode); break; } - new PublicAssmebly().TipMsgAutoClose(msg, false,1000); + new PublicAssmebly().TipMsgAutoClose(msg, false, 1000); string url = "http://" + A31MusicModel.Current.IPAddress + "/httpapi.asp?command=setPlayerCmd:" + "loopmode:" + A31MusicModel.Current.A31PlayStatus.loop; SendMethod.SendCommand(url); }; @@ -242,7 +241,7 @@ ///绉婚櫎鐣岄潰 EventHandler<MouseEventArgs> removeFromParentView = (sen, e1) => { - + if (updateSelectedMusicThread != null) { try @@ -344,7 +343,7 @@ } }; ///闊抽噺杩涘害鏉$偣鍑讳簨浠� - int startVolume =0;//涔嬪墠鐨勯煶閲� + int startVolume = 0;//涔嬪墠鐨勯煶閲� //int endVolume = 0;//鐜板湪鐨勯煶閲� EventHandler<int> progressClick = (sender, e) => { @@ -367,7 +366,7 @@ playView.prevBtn.MouseUpEventHandler += (sender, e) => { playView.prevBtn.IsSelected = false; - }; + }; ///鏆傚仠/鎾斁鐐瑰嚮浜嬩欢 playView.playBtn.MouseDownEventHandler += (sender, e) => { @@ -413,7 +412,7 @@ }; } - + System.Threading.Thread timerThread; /// <summary> /// 瀹氭椂鏇存柊鐘舵�� @@ -636,7 +635,7 @@ break; case "BLUETOOTH"://钃濈墮 - // currentsource.UnSelectedImagePath = "MusicIcon/bluetooth1.png"; + // currentsource.UnSelectedImagePath = "MusicIcon/bluetooth1.png"; playView.loveBtn.Alpha = 0.5f; playView.loveBtn.Enable = false; @@ -874,12 +873,9 @@ artistNameBtn.X = songNameBtn.Right; artistNameBtn.TextColor = Color.MusicNoTxetColor; } - - } } catch { } - }); } }) @@ -887,4 +883,4 @@ updateSelectedMusicThread.Start(); } } -} +} \ No newline at end of file -- Gitblit v1.8.0