| | |
| | | /// 重置控件
|
| | | /// </summary>
|
| | | /// <param name="i_title">标题信息</param>
|
| | | /// <param name="clearError">是否清除错误信息</param>
|
| | | public void ResetControlInfo(string i_title, bool clearError = true)
|
| | | public void ResetControlInfo(string i_title)
|
| | | {
|
| | | //标题
|
| | | btnTitle.Text = i_title;
|
| | |
| | | {
|
| | | listPswIcon[i].BackgroundColor = UserCenterColor.Current.Transparent;
|
| | | }
|
| | | if (clearError == true)
|
| | | {
|
| | | //错误信息
|
| | | btnError.Text = string.Empty;
|
| | | }
|
| | | //错误信息
|
| | | btnError.Text = string.Empty;
|
| | | }
|
| | |
|
| | | #endregion
|
| | |
| | | btnError.Visible = true;
|
| | | }
|
| | | btnError.Text = i_msg;
|
| | |
|
| | | //记录的密码
|
| | | inputPassword = string.Empty;
|
| | | //密码图标
|
| | | for (int i = 0; i < listPswIcon.Count; i++)
|
| | | {
|
| | | listPswIcon[i].BackgroundColor = UserCenterColor.Current.Transparent;
|
| | | }
|
| | | }
|
| | |
|
| | | #endregion
|