C# 如何调用onclick事件
我想在程序运行时自动执行一个button按钮的事件,应该怎么写,直接写button1.onclick()这样行吗? --------------------编程问答-------------------- button1.PerformClick(); --------------------编程问答-------------------- this.button1.PerformClick(); --------------------编程问答-------------------- this.button1.PerformClick(); --------------------编程问答-------------------- up up up up up up up --------------------编程问答--------------------+1 --------------------编程问答-------------------- 1、2、3 楼的说的都是呢~
Up[align=center]********************************************************
本内容用 CSDN小秘书 回复
每天回帖即可获得10分可用分!
********************************************************
[/align] --------------------编程问答-------------------- this.button1.PerformClick(); --------------------编程问答-------------------- 把语句写到另一个函数调用也可以 --------------------编程问答-------------------- --------------------编程问答-------------------- this.button1_Click(null, null); --------------------编程问答-------------------- 来得迟。。。 --------------------编程问答--------------------
补充:.NET技术 , C#