陈嘉乐
2020-06-24 adb12dcdbb2ddaeac687c3aa9e57bb7ed459ab7e
ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/FrameLayoutControls/FrameLayoutStatuControl.cs
@@ -12,10 +12,6 @@
        #region ■ 变量声明___________________________
        /// <summary>
        /// 单击弹起事件
        /// </summary>
        public Action<object, MouseEventArgs> ButtonClickEvent;
        /// <summary>
        /// 状态设置的事件(会重载底层效果)
        /// </summary>
        public Action<bool> SelectStatuEvent;
@@ -23,10 +19,6 @@
        /// 是否启用点亮功能(默认启用)
        /// </summary>
        public bool UseClickStatu = true;
        /// <summary>
        /// 能否点击
        /// </summary>
        public bool CanClick = true;
        /// <summary>
        /// 原来的背景色
        /// </summary>
@@ -59,6 +51,8 @@
        {
            this.chidrenYaxis = i_ChidrenYaxis;
            //置空底层的事件
            this.MouseUpEventHandler = null;
            this.MouseUpEventHandler += ChildrenUpEvent;
            this.MouseDownEventHandler += ChildrenDownEvent;
        }
@@ -186,7 +180,7 @@
        /// </summary>
        /// <param name="view">子控件</param>
        /// <param name="chidrenBindMode">绑定模式</param>
        public void AddChidren(View view, ChidrenBindMode chidrenBindMode = ChidrenBindMode.BindAll)
        public void AddChidren(View view, ChidrenBindMode chidrenBindMode = ChidrenBindMode.BindEvent)
        {
            this.oldBackColor = this.BackgroundColor;
@@ -332,7 +326,6 @@
        /// </summary>
        public override void RemoveFromParent()
        {
            this.ButtonClickEvent = null;
            this.SelectStatuEvent = null;
            base.RemoveFromParent();
@@ -341,11 +334,6 @@
        #endregion
        #region ■ Log出力____________________________
        /// <summary>
        /// 该控件所属的界面名字
        /// </summary>
        private string formName = null;
        /// <summary>
        /// Log出力