wei
2020-12-01 8983da138cb92e35b0bbeaece1cf1c454a5a79d4
HDL_ON/UI/UI2/2-Classification/FunctionControlZoneBLL.cs
@@ -65,23 +65,9 @@
        {
            btnCollectionIcon.MouseUpEventHandler += (sender, e) =>
            {
                btnCollectionIcon.IsSelected = function.collection = !btnCollectionIcon.IsSelected;
                btnCollectionIcon.IsSelected = function.collect = !btnCollectionIcon.IsSelected;
                function.SaveFunctionData();
            };
        }
        /// <summary>
        /// 加载场景控制事件
        /// </summary>
        void LoadEvent_ControlScene()
        {
            EventHandler<MouseEventArgs> upEvent = (sender, e) => {
                Control.Ins.ControlScene(function as Scene);
                string msg = function.name + Language.StringByID(StringId.AlreadyOpened);
                new PublicAssmebly().TipMsgAutoClose(msg, false);
            };
            btnName.MouseUpEventHandler = upEvent;
            btnFromFloor.MouseUpEventHandler = upEvent;
            bodyDiv.MouseUpEventHandler = upEvent;
        }
        /// <summary>