- 博客(0)
- 资源 (8)
- 收藏
- 关注
12306订票助手源代码
12306订票助手 源代码
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 System.Threading;
using System.IO;
using TrainTicketLogin.Helper;
using System.Net;
using System.Diagnostics;
namespace TrainTicketLogin
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void Form1_Activated(object sender, EventArgs e)
{
}
Thread threadLogin;
private void btnLogin_Click(object sender, EventArgs e)
{
// Verify login field
if (this.txtUserName.Text.Length < 2)
{
MessageBox.Show("请输入用户名!");
return;
}
if (this.txtPassword.Text.Length < 2)
{
MessageBox.Show("请输入密码!");
return;
}
if (this.txtCode.Text.Length < 4)
{
MessageBox.Show("请输入验证码");
return;
}
2012-10-11
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人