| | |
| | | #region ■ 变量声明___________________________
|
| | |
|
| | | /// <summary>
|
| | | /// 密码改变事件
|
| | | /// </summary>
|
| | | public Action<string> PasswordChangedEvent = null;
|
| | | /// <summary>
|
| | | /// 用户账号
|
| | | /// </summary>
|
| | | private int pswNo = 0;
|
| | |
| | |
|
| | | //界面直接关闭
|
| | | this.CloseForm();
|
| | | //关闭编辑界面
|
| | | this.CloseFormByFormName("PasswordUserEditorForm");
|
| | |
|
| | | var form = new PasswordUserEditorForm();
|
| | | form.AddForm(this.pswNo, pswValue1, i_titleText);
|
| | | if (UserCenterResourse.DicActionForm.ContainsKey("PasswordUserEditorForm") == false)
|
| | | {
|
| | | var form = new PasswordUserEditorForm();
|
| | | form.AddForm(this.pswNo, pswValue1, i_titleText);
|
| | | }
|
| | | else
|
| | | {
|
| | | //回调函数
|
| | | this.PasswordChangedEvent?.Invoke(pswValue1);
|
| | | this.PasswordChangedEvent = null;
|
| | |
|
| | | }
|
| | | }
|
| | |
|
| | | #endregion
|