陈嘉乐
2020-07-30 18d933b835110e8aa42efa0d4456f61efeb27e5b
HDL_ON/UI/UI2/FuntionControlView/Music/MusicMain.cs
@@ -12,6 +12,8 @@
        public MusicMain()
        {
            Tag = "MusicMain";
            //进来音乐列表界面先移除之前线程;
            A31MusicModel.RemoveListThread();
        }
        public override void RemoveFromParent()
        {
@@ -20,6 +22,9 @@
            A31MusicModel.ReadMusicStates();//进来没有音乐被收藏过,退出有音乐被收藏过
        }
        static List<System.Threading.Thread> threadLists = new List<System.Threading.Thread>();
        /// <summary>
        /// 移除线程
        /// </summary>
        static void clearA31Threads()
        {
            var threads = threadLists.FindAll((obj) => { return obj.Name == "A31"; });
@@ -49,6 +54,7 @@
        public void Show()
        {
            #region 界面布局
            this.BackgroundColor = Color.ViewColor;
            var topView = new TopView();