黄学彪
2020-04-13 3793a9a38ac6c4c4111c2bba3a35a71c30601e82
ZigbeeApp/Shared/Phone/UserCenter/Safety/CoercePswAddNewForm.cs
@@ -12,6 +12,10 @@
        #region ■ 变量声明___________________________
        /// <summary>
        /// 密码改变事件
        /// </summary>
        public Action<string> PasswordChangedEvent = null;
        /// <summary>
        /// 用户账号
        /// </summary>
        private int pswNo = 5;
@@ -109,11 +113,18 @@
            //界面直接关闭
            this.CloseForm();
            //关闭编辑界面
            this.CloseFormByFormName("CoercePswEditorForm");
            var form = new CoercePswEditorForm();
            form.AddForm(pswValue1, i_titleText);
            if (UserCenterResourse.DicActionForm.ContainsKey("CoercePswEditorForm") == false)
            {
                var form = new CoercePswEditorForm();
                form.AddForm(pswValue1, i_titleText);
            }
            else
            {
                //回调函数
                this.PasswordChangedEvent?.Invoke(pswValue1);
                this.PasswordChangedEvent = null;
            }
        }
        #endregion