摘要:
下边是实现的代码: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.Text.RegularExpressions;namespace Registerting{ public partial class Form1 : Form { public Form1() { I 阅读全文
posted @ 2013-07-16 11:31
秋日的私语(且行且珍惜)
阅读(159)
评论(0)
推荐(0)
摘要:
string reg = @"^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$"; 阅读全文
posted @ 2013-07-16 10:55
秋日的私语(且行且珍惜)
阅读(164)
评论(0)
推荐(0)
摘要:
publicForm1(){InitializeComponent(); textBox1.Enter+=newEventHandler(textBox1_Enter);//获得焦点事件 textBox1.Leave+=newEventHandler(textBox1_Leave);//失去焦点事件。 }void textBox1_Enter(object sender,EventArgs e){MessageBox.Show("获得了焦点");}void textBox1_Leave(object sender,EventArgs e){MessageBox.Show(& 阅读全文
posted @ 2013-07-16 08:51
秋日的私语(且行且珍惜)
阅读(1551)
评论(0)
推荐(0)

浙公网安备 33010602011771号