按照客户要求将excel导出文件保存为一个条码一条记录,名称为SN_结果_时间.xslx
This commit is contained in:
38
SLZ_4/ConfigPassword.cs
Normal file
38
SLZ_4/ConfigPassword.cs
Normal file
@@ -0,0 +1,38 @@
|
||||
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 SLZ_4
|
||||
{
|
||||
public partial class ConfigPassword : Form
|
||||
{
|
||||
public ConfigPassword()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
public void clear()
|
||||
{
|
||||
uiTextOldPwd.Text = "";
|
||||
uiTextNewPwd.Text = "";
|
||||
}
|
||||
private void uiButtonSave_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (uiTextOldPwd.Text != FormMain.form.logonForm.password)
|
||||
{
|
||||
MessageBox.Show("请输入正确的原密码!");
|
||||
return;
|
||||
}
|
||||
FormMain.form.logonForm.password = uiTextNewPwd.Text;
|
||||
Config.savePassword(uiTextNewPwd.Text);
|
||||
MessageBox.Show("密码已经修改!");
|
||||
Close();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user