SmokewineteaDMS/Fromturn.cs
(开头部分) 2KB这里只显示每个文件的开头 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 SmokewineteaModels;
using Smokewinetea.BLL;
namespace SmokewineteaDMS
{
public partial class Fromturn : Form
{
public Fromturn()
{
InitializeComponent();
}
private void button3_Click(object sender, EventArgs e)
{
if( textBox1.Text !=UserHelper.BoosPwd)
{
MessageBox.Show("你输入的密码不正确!");
return;
}
if (textBox7.Text == "" || textBox8.Text == "" || textBox1.Text == "" || textBox2.Text=="")
{
MessageBox.Show("请输入完整的数据!");
}
else
{
turnModels tm = new turnModels();
tm.TurnName = textBox7.Text;
tm.TurnTime = DateTime.Now;
tm.TurnNames = textBox8.Text;
int N = turnBLL.insertturn(tm);
if (N > 0)
{
MessageBox.Show("交接已成功!");
logid();
}
else
{
MessageBox.Show("交接失败");
}
}
}
public void logid()
{
string userId = textBox8.Text;
string userPwd = textBox2.Text;
LogBLL.LogStaff(userId, userPwd);
UserHelper.BoosId = userId;
UserHelper.BoosPwd = userPwd;
frmStaf frm = new frmStaf();
后面还有 33 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
