基础资料/employee_input.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.Threading.Tasks;
using System.Windows.Forms;
namespace Car.基础资料
{
public partial class employee_input : Form
{
public employee_input()
{
InitializeComponent();
}
protected override CreateParams CreateParams//防止闪屏
{
get
{
var parms = base.CreateParams;
parms.Style &= ~0x02000000;
return parms;
}
}
private void employee_input_Load(object sender, EventArgs e)
{
this.BackColor = Color.FromArgb(81, 81, 81);
cmb_dept.Items.Add("管理部");
cmb_dept.Items.Add("销售部");
}
private void button2_Click(object sender, EventArgs e)
{
this.Close();
}
private void button1_Click(object sender, EventArgs e)
{
string name = text_name.Text;
string sex = text_sex.Text;
string tel = text_tel.Text;
string address = text_address.Text;
string account = text_admin.Text;
string password = text_password.Text;
string dept = cmb_dept.Text;
if ("管理部" == dept)
{
Add.a = 1;
}
else if ("销售部" == dept)
{
Add.a = 2;
}
string sql = string.Format("select * from car_user where user_admin={0}",account);
string sqll = string.Format("select * from car_employee where account='{0}'",account);
后面还有 31 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
