摘要:
1 private void Form1_Load(object sender, EventArgs e)2 {3 this.toolTip1.SetToolTip(this.textBox1, "请输入名字");4 } 阅读全文
摘要:
1 private void button1_Click(object sender, EventArgs e) 2 { 3 this.errorProvider1.Clear(); 4 if (this.textBox1.Text.Length<6||this.textBox1.Text.Length>12) 5 { 6 this.errorProvider1.SetError(this.textBox1, "输入有误"); 7 Dialo... 阅读全文