没有合适的资源?快使用搜索试试~ 我知道了~
c#登录界面代码,基于xml的保存密码
资源推荐
资源详情
资源评论
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Linq;
using System.Windows.Forms;
using DevExpress.XtraEditors;
using ProcessEngine;
using System.Security.Cryptography;
using System.Xml.Linq;
using DevExpress.CodeRush.StructuralParser;
namespace UltraANetT.Form
{
public partial class Login : DevExpress.XtraEditors.XtraForm
{
private IProcStore _store = new ProcStore();
//登录时从数据库中取出的密码
private string onePassword;
private string textEdit2Md5;
//保存登录名
public static string loginName;
private OperStyle Operate;
private string realPwd;
private bool PT;
public Login()
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Linq;
using System.Windows.Forms;
using DevExpress.XtraEditors;
using ProcessEngine;
using System.Security.Cryptography;
using System.Xml.Linq;
using DevExpress.CodeRush.StructuralParser;
namespace UltraANetT.Form
{
public partial class Login : DevExpress.XtraEditors.XtraForm
{
private IProcStore _store = new ProcStore();
//登录时从数据库中取出的密码
private string onePassword;
private string textEdit2Md5;
//保存登录名
public static string loginName;
private OperStyle Operate;
private string realPwd;
private bool PT;
public Login()
{
InitializeComponent();
PT = true;
}
private void btn_Click(object sender, EventArgs e)
{
LoginIn();
}
private void LoginIn()
{
if (txtAccount.Text == "")
{
XtraMessageBox.Show("请输入登陆账号");
return;
}
if (txtPassword.Text == "")
{
XtraMessageBox.Show("请输入登陆密码");
return;
}
switch (Operate)
{
case OperStyle.DirEnter:
InitializeComponent();
PT = true;
}
private void btn_Click(object sender, EventArgs e)
{
LoginIn();
}
private void LoginIn()
{
if (txtAccount.Text == "")
{
XtraMessageBox.Show("请输入登陆账号");
return;
}
if (txtPassword.Text == "")
{
XtraMessageBox.Show("请输入登陆密码");
return;
}
switch (Operate)
{
case OperStyle.DirEnter:
剩余6页未读,继续阅读
资源评论
tingzincu
- 粉丝: 0
- 资源: 1
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功