黄学彪
2020-04-13 3793a9a38ac6c4c4111c2bba3a35a71c30601e82
ZigbeeApp/Shared/Phone/CommonForm/EditorCommonForm.cs
@@ -15,6 +15,10 @@
        #region ■ 变量声明___________________________
        /// <summary>
        /// 返回按键的点击事件(如果实现此事件,则底层的事件将不会再触发)
        /// </summary>
        public Action<BackViewControl> BackButtonClickEvent = null;
        /// <summary>
        /// TopMenuFrameLayout
        /// </summary>
        public FrameLayout topMenuFrameLayout = null;
@@ -124,6 +128,12 @@
            btnBack.InitControl();
            btnBack.ButtonClickEvent += (sender, e) =>
            {
                if (this.BackButtonClickEvent != null)
                {
                    //如果实现此事件,则底层的事件将不会再触发
                    BackButtonClickEvent(btnBack);
                    return;
                }
                //画面关闭
                this.CloseForm();
            };
@@ -210,6 +220,8 @@
            //左滑使能
            this.ScrollEnabled = true;
            this.BackButtonClickEvent = null;
            this.m_parameter = null;
            //清空bodyFrame
            this.ClearBodyFrame();