右键点textbox1选属性,在属性页中点事件事件,TextChanged,双击会自动添加事件 private void textBox1_TextChanged(object sender, EventArgs e) { this.picCPicture.Image = Image.FromFile(this.textBox1.text); }