在一个函数或者事件中调用另外的事件,例如调用Load事件
private void EventForm_Load(object sender, EventArgs e) { //相关内容 } private void textBox1_KeyDown(object sender, KeyEventArgs e) { EventForm_Load(this,null);//调用Load // this.textBox1.KeyDown += new System.Windows.Forms.KeyEventHandler(EventForm_Load); }