LoginFrame/login.cs
(开头部分) 4KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Security;
using System.Security.Cryptography;
using System.Text;
using System.Windows.Forms;
using System.Xml;
using BLL;
using Model;
namespace LoginFrame
{
public delegate void GetName(string name);
public partial class login : Form
{
public login()
{
InitializeComponent();
}
public event GetName getName;
public string Pagetype = "";//操作类型
/// <summary>
/// 取消
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void button2_Click(object sender, EventArgs e)
{
this.Close();
}
/// <summary>
/// 注册
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void button1_Click(object sender, EventArgs e)
{
string UserName = this.txt_username.Text.Trim();//姓名
bool Sex = false;//性别
if (this.radio_women.Checked)
{
Sex = true;
}
string birthday = this.time_Birthday.Text;//出身日期
string pwd = this.txt_pwd.Text.Trim();//密码1
string pwd2 = this.txt_pwd2.Text.Trim();//密码2
if (UserName == "")
{
MessageBox.Show("用户名输入不能为空,请重新输入", "提示", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
}
后面还有 76 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
