摘要: private void textBox1_KeyPress(object sender, KeyPressEventArgs e) { char c = e.KeyChar; if (char.IsLetter(c)) label1.Text = "字母"; else if (char.IsDigit(c)) label1.Text = "数字"; else if (char.IsPunctua... 阅读全文
posted @ 2010-03-05 21:42 平凡人生 阅读(177) 评论(0) 推荐(0) 编辑
摘要: 1. 参数值namespace _06.方法_2_{ public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void Form1_Load(object sender, EventArgs e) { int i = 0; MessageBox.Show("i= " + i); } ... 阅读全文
posted @ 2010-03-05 20:42 平凡人生 阅读(1123) 评论(4) 推荐(1) 编辑