SmokewineteaDMS/FrmLog.cs
(开头部分) 3KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Smokewinetea.BLL;
using SmokewineteaModels;
namespace SmokewineteaDMS
{
public partial class FrmLog : Form
{
public FrmLog()
{
InitializeComponent();
}
private void txtId_KeyPress(object sender, KeyPressEventArgs e)
{
if (e.KeyChar >= '0' && e.KeyChar <= '9' || e.KeyChar >= 'a' && e.KeyChar <= 'z' || e.KeyChar == (char)Keys.Back)
{
e.Handled = false;
}
else
{
e.Handled = true;
}
}
private void btncancel_Click(object sender, EventArgs e)
{
this.Close();
}
private void btnenter_Click(object sender, EventArgs e)
{
if (txtId.Text == "")
{
MessageBox.Show("请输入账号.....!");
txtId.Focus();
return;
}
if (TxtPwd.Text == "")
{
MessageBox.Show("请输入密码.....!");
txtId.Focus();
}
string userId = txtId.Text;
string userPwd = TxtPwd.Text;
if (LogBLL.Log(userId, userPwd))
{
后面还有 58 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
