我试图理解为什么我不能在构造函数的最后一行邀请事件?施工结束后是否会发生“formload”事件?
public Form1()
{
InitializeComponent();
button1.Text = "a";
button1.PerformClick();
}
private void button1_Click(object sender, EventArgs e)
{
button1.Text = "b";
}