private void button1_Click(object sender, EventArgs e)
{
this.label1.Text = "test";
}
private void Form1_Load(object sender, EventArgs e)
{
//自行丟出事件
button1_Click(new Button(), new EventArgs());
//or button1_Click(this, new EventArgs());
}
全站熱搜
private void button1_Click(object sender, EventArgs e)
{
this.label1.Text = "test";
}
private void Form1_Load(object sender, EventArgs e)
{
//自行丟出事件
button1_Click(new Button(), new EventArgs());
//or button1_Click(this, new EventArgs());
}
留言列表