From bfb3d0d4879dca8c59ff287c92f5113162f3a33a Mon Sep 17 00:00:00 2001 From: wxr <wxr@hdlchina.com.cn> Date: 星期二, 27 八月 2024 15:22:48 +0800 Subject: [PATCH] 代码备份 --- OnPro/HDL_ON/UI/UI1-Login/RegisterPageBLL.cs | 30 +++++++++++++++--------------- 1 files changed, 15 insertions(+), 15 deletions(-) diff --git a/OnPro/HDL_ON/UI/UI1-Login/RegisterPageBLL.cs b/OnPro/HDL_ON/UI/UI1-Login/RegisterPageBLL.cs index de7d890..3854574 100644 --- a/OnPro/HDL_ON/UI/UI1-Login/RegisterPageBLL.cs +++ b/OnPro/HDL_ON/UI/UI1-Login/RegisterPageBLL.cs @@ -397,7 +397,7 @@ if ((sender as Button).IsSelected) { //鍒ゆ柇鏄惁閫夋嫨浜嗘湇鍔″櫒锛岄�夋嫨浜嗘墠鑳藉彂閫侀獙璇佺爜 - if (CheckIfSelectServer() == false) return; + //if (CheckIfSelectServer() == false) return; string account = etAccount.Text.Trim(); int time = 60; @@ -550,7 +550,7 @@ if (btnRegister.IsSelected) { //鍒ゆ柇鏄惁閫夋嫨浜嗘湇鍔″櫒锛岄�夋嫨浜嗘墠鑳藉彂閫侀獙璇佺爜 - if (CheckIfSelectServer() == false) return; + //if (CheckIfSelectServer() == false) return; //妫�娴嬭处鍙� if (!CheckAccount()) return; //妫�娴嬪瘑鐮� @@ -643,8 +643,8 @@ }; - btnServerGo.MouseUpEventHandler = eventHandler; - btnServerText.MouseUpEventHandler = eventHandler; + //btnServerGo.MouseUpEventHandler = eventHandler; + //btnServerText.MouseUpEventHandler = eventHandler; } /// <summary> @@ -669,14 +669,14 @@ /// <param name="isError"></param> void ShowServerBottomLineState(bool isError) { - if (isError) - { - HDLCommon.Current.BottomLineShowType(btnServerBottomLine, BottomLineType.Error); - } - else - { - HDLCommon.Current.BottomLineShowType(btnServerBottomLine, BottomLineType.Normal); - } + //if (isError) + //{ + // HDLCommon.Current.BottomLineShowType(btnServerBottomLine, BottomLineType.Error); + //} + //else + //{ + // HDLCommon.Current.BottomLineShowType(btnServerBottomLine, BottomLineType.Normal); + //} } /// <summary> @@ -687,8 +687,8 @@ //鏈嶅姟鍣ㄩ�夋嫨杩囨爣璁颁负true isSelectServer = true; ShowServerBottomLineState(false); - btnServerText.TextColor = CSS_Color.FirstLevelTitleColor; - btnServerText.Text = OnAppConfig.Instance.GlobalRegion.regionName; + //btnServerText.TextColor = CSS_Color.FirstLevelTitleColor; + //btnServerText.Text = OnAppConfig.Instance.GlobalRegion.regionName; } @@ -734,7 +734,7 @@ bool CheckPassword() { //鏍¢獙瀵嗙爜鏄惁绗﹀悎瑕佹眰 - if (etPassword.Text.Trim().Length < 6 || etPassword.Text.Trim().Length > 13) + if (etPassword.Text.Trim().Length < 6 || etPassword.Text.Trim().Length > 20) { Utlis.ShowTip(Language.StringByID(StringId.PasswordIsUnqualified)); return false; -- Gitblit v1.8.0