c#控件调用问题,求高手指教
怎样用button2调用button2的事件,求高手解答;比如:
private void button1_Click(object sender, EventArgs e)
{
this.textBox1.Text="学校";
}
private void button2_Click(object sender, EventArgs e)
{
我现在在这里也想要实现button1_Click的功能,但是想通过调用button1来实现。我该怎么写
}
------解决方案--------------------
this.button1_Click(sender,e)