1
0
Fork 0

change - 更改文件编码

nodyang
SoulStar 2 months ago
parent 49dcf2c714
commit ba42e1681d

@ -1,4 +1,4 @@
using HighWayIot.Repository.domain; using HighWayIot.Repository.domain;
using HighWayIot.Repository.service; using HighWayIot.Repository.service;
using HighWayIot.Repository.service.Impl; using HighWayIot.Repository.service.Impl;
using System; using System;
@ -23,13 +23,13 @@ namespace HighWayIot.Winform.MainForm
} }
/// <summary> /// <summary>
/// 登陆验证 /// 登陆验证
/// </summary> /// </summary>
/// <param name="sender"></param> /// <param name="sender"></param>
/// <param name="e"></param> /// <param name="e"></param>
private void Login_Click(object sender, EventArgs e) private void Login_Click(object sender, EventArgs e)
{ {
//验证账号密码,或从数据库验证成功 //验证账号密码,或从数据库验证成功
var lists = sysUserInfoService.GetUserInfoByUserName(UserText.Text); var lists = sysUserInfoService.GetUserInfoByUserName(UserText.Text);
if (lists.Count == 1 && lists.First().Password == PassText.Text) if (lists.Count == 1 && lists.First().Password == PassText.Text)
@ -39,7 +39,7 @@ namespace HighWayIot.Winform.MainForm
} }
else else
{ {
MessageBox.Show("账号或密码错误!"); MessageBox.Show("账号或密码错误!");
return; return;
} }
} }

@ -137,6 +137,7 @@
this.SelectAll.TabIndex = 1; this.SelectAll.TabIndex = 1;
this.SelectAll.Text = "全选"; this.SelectAll.Text = "全选";
this.SelectAll.UseVisualStyleBackColor = true; this.SelectAll.UseVisualStyleBackColor = true;
this.SelectAll.Click += new System.EventHandler(this.SelectAll_Click);
// //
// SelectNone // SelectNone
// //
@ -146,6 +147,7 @@
this.SelectNone.TabIndex = 2; this.SelectNone.TabIndex = 2;
this.SelectNone.Text = "全不选"; this.SelectNone.Text = "全不选";
this.SelectNone.UseVisualStyleBackColor = true; this.SelectNone.UseVisualStyleBackColor = true;
this.SelectNone.Click += new System.EventHandler(this.SelectNone_Click);
// //
// TableName // TableName
// //

@ -35,6 +35,24 @@ namespace HighWayIot.Winform.UserControlPages.SysConfigPages
this.Dispose(); this.Dispose();
} }
/// <summary>
/// 全选按钮
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void SelectAll_Click(object sender, EventArgs e)
{
}
/// <summary>
/// 取消全选按钮
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void SelectNone_Click(object sender, EventArgs e)
{
}
} }
} }

Loading…
Cancel
Save