这几个按钮再实例化的时候同时指定他们的Click事件;
他们使用同一个代理;
譬如都是用Button_Click(object sender,System.EventArgs e)
{
//然后添加如下的代码
this.itemcommand(new object(),new EventArgs());
}
他们使用同一个代理;
譬如都是用Button_Click(object sender,System.EventArgs e)
{
//然后添加如下的代码
this.itemcommand(new object(),new EventArgs());
}
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货