From ba42e1681de4149122b5e6b22c96969166c03b3b Mon Sep 17 00:00:00 2001 From: SoulStar Date: Mon, 25 Nov 2024 15:05:26 +0800 Subject: [PATCH] =?UTF-8?q?change=20-=20=E6=9B=B4=E6=94=B9=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E7=BC=96=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- HighWayIot.Winform/MainForm/LoginForm.cs | 8 ++++---- .../SysConfigPages/UserRoleAddForm.Designer.cs | 2 ++ .../SysConfigPages/UserRoleAddForm.cs | 18 ++++++++++++++++++ 3 files changed, 24 insertions(+), 4 deletions(-) diff --git a/HighWayIot.Winform/MainForm/LoginForm.cs b/HighWayIot.Winform/MainForm/LoginForm.cs index c9bb6c9..02b7dc9 100644 --- a/HighWayIot.Winform/MainForm/LoginForm.cs +++ b/HighWayIot.Winform/MainForm/LoginForm.cs @@ -1,4 +1,4 @@ -using HighWayIot.Repository.domain; +锘縰sing HighWayIot.Repository.domain; using HighWayIot.Repository.service; using HighWayIot.Repository.service.Impl; using System; @@ -23,13 +23,13 @@ namespace HighWayIot.Winform.MainForm } /// - /// 登陆验证 + /// 鐧婚檰楠岃瘉 /// /// /// private void Login_Click(object sender, EventArgs e) { - //验证账号密码,或从数据库验证成功 + //楠岃瘉璐﹀彿瀵嗙爜锛屾垨浠庢暟鎹簱楠岃瘉鎴愬姛 var lists = sysUserInfoService.GetUserInfoByUserName(UserText.Text); if (lists.Count == 1 && lists.First().Password == PassText.Text) @@ -39,7 +39,7 @@ namespace HighWayIot.Winform.MainForm } else { - MessageBox.Show("账号或密码错误!"); + MessageBox.Show("璐﹀彿鎴栧瘑鐮侀敊璇紒"); return; } } diff --git a/HighWayIot.Winform/UserControlPages/SysConfigPages/UserRoleAddForm.Designer.cs b/HighWayIot.Winform/UserControlPages/SysConfigPages/UserRoleAddForm.Designer.cs index be02934..4c4befe 100644 --- a/HighWayIot.Winform/UserControlPages/SysConfigPages/UserRoleAddForm.Designer.cs +++ b/HighWayIot.Winform/UserControlPages/SysConfigPages/UserRoleAddForm.Designer.cs @@ -137,6 +137,7 @@ this.SelectAll.TabIndex = 1; this.SelectAll.Text = "鍏ㄩ"; this.SelectAll.UseVisualStyleBackColor = true; + this.SelectAll.Click += new System.EventHandler(this.SelectAll_Click); // // SelectNone // @@ -146,6 +147,7 @@ this.SelectNone.TabIndex = 2; this.SelectNone.Text = "鍏ㄤ笉閫"; this.SelectNone.UseVisualStyleBackColor = true; + this.SelectNone.Click += new System.EventHandler(this.SelectNone_Click); // // TableName // diff --git a/HighWayIot.Winform/UserControlPages/SysConfigPages/UserRoleAddForm.cs b/HighWayIot.Winform/UserControlPages/SysConfigPages/UserRoleAddForm.cs index aba1e6d..276829c 100644 --- a/HighWayIot.Winform/UserControlPages/SysConfigPages/UserRoleAddForm.cs +++ b/HighWayIot.Winform/UserControlPages/SysConfigPages/UserRoleAddForm.cs @@ -35,6 +35,24 @@ namespace HighWayIot.Winform.UserControlPages.SysConfigPages this.Dispose(); } + /// + /// 鍏ㄩ夋寜閽 + /// + /// + /// + private void SelectAll_Click(object sender, EventArgs e) + { + + } + /// + /// 鍙栨秷鍏ㄩ夋寜閽 + /// + /// + /// + private void SelectNone_Click(object sender, EventArgs e) + { + + } } }