1 private void Form1_Load(object sender, EventArgs e) 2 { 3 this.toolTip1.SetToolTip(this.textBox1, "请输入名字"); 4 }