wxr
2020-07-23 5de5a26d3825b3182a7d3a18ed1cbdbb78a3f9aa
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();
        }
    }
}
}