例如:
this.button1.Click += new System.EventHandler(this.button1_Click);
this.button2.Click += new System.EventHandler(this.button2_Click);
如果,我点击button1后,怎么样可以也触发button2的点击事件

解决方案 »

  1.   

    在 this.button1_click 方法里加上 
    this.button2.PerformClick();或者:this.button1.Click += new System.EventHandler(this.button1_Click);
    this.button1.Click += new System.EventHandler(this.button2_Click);
      

  2.   

    再加个侦听呗
    this.button1.Click += new System.EventHandler(this.button2_Click);
      

  3.   

    this.button1.Click += new System.EventHandler(this.button2_Click);
    或者
    private void button1_Click(object sender, EventArgs e)
    {
        button2_Click(sender,e);
    }