.Designer.cs 文件里直接添加 EventHandlerthis.button1.Click += new System.EventHandler(this.button1_Click); this.MouseClick += new System.Windows.Forms.MouseEventHandler(this.button1_Click);
填在 Form_Load里也行this.MouseClick += new System.Windows.Forms.MouseEventHandler(this.button1_Click);
this.MouseClick += new System.Windows.Forms.MouseEventHandler(this.button1_Click);