黄学彪
2020-04-13 3793a9a38ac6c4c4111c2bba3a35a71c30601e82
ZigbeeApp/Shared/Phone/UserCenter/Safety/CoercePswAddContactForm.cs
@@ -13,6 +13,10 @@
        #region ■ 变量声明___________________________
        /// <summary>
        /// 添加联系方式的事件
        /// </summary>
        public Action AddPhoneEvent = null;
        /// <summary>
        /// 信息提示控件
        /// </summary>
        private NormalViewControl btnErrorMsg = null;
@@ -61,6 +65,13 @@
            //初始化中部信息
            this.InitMiddleFrame();
            //重写底层返回按键事件
            this.BackButtonClickEvent += (sender) =>
            {
                this.AddPhoneEvent = null;
                this.CloseForm();
            };
        }
        /// <summary>
@@ -186,6 +197,10 @@
                return;
            }
            this.CloseForm();
            //调用回调函数
            this.AddPhoneEvent?.Invoke();
            this.AddPhoneEvent = null;
        }
        #endregion