From c209a50cabf524c146fb2d02ce09cfc46c7c2f70 Mon Sep 17 00:00:00 2001 From: 陈嘉乐 <cjl@hdlchina.com.cn> Date: 星期二, 26 五月 2020 13:49:02 +0800 Subject: [PATCH] 2020-05-26-1 --- HDL_ON/UI/Music/MusicMain.cs | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/HDL_ON/UI/Music/MusicMain.cs b/HDL_ON/UI/Music/MusicMain.cs index 830a4b4..4bfa00e 100644 --- a/HDL_ON/UI/Music/MusicMain.cs +++ b/HDL_ON/UI/Music/MusicMain.cs @@ -221,7 +221,7 @@ musicView.prevBtn.MouseDownEventHandler += (sender, e) => { musicView.prevBtn.IsSelected = true; - SendMethod.Previous(); + SendMethod.Previous(a31player); }; musicView.prevBtn.MouseUpEventHandler += (sender, e) => { @@ -233,21 +233,21 @@ if (musicView.playBtn.IsSelected) { musicView.playBtn.IsSelected = false; - SendMethod.Pause(); - A31MusicModel.Current.A31PlayStatus.status = "pause"; + SendMethod.Pause(a31player); + a31player.A31PlayStatus.status = "pause"; } else { musicView.playBtn.IsSelected = true; - SendMethod.Play(); - A31MusicModel.Current.A31PlayStatus.status = "play"; + SendMethod.Play(a31player); + a31player.A31PlayStatus.status = "play"; } }; ///涓嬩竴鏇茬偣鍑讳簨浠� musicView.nextBtn.MouseDownEventHandler += (sender, e) => { musicView.nextBtn.IsSelected = true; - SendMethod.Next(); + SendMethod.Next(a31player); }; musicView.nextBtn.MouseUpEventHandler += (sender, e) => { -- Gitblit v1.8.0