高分请教,急急急!!!!! 我将Spread的一列定义为imagebutton,怎样触发这些imagebutton的单击事件?? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 for (i = 0; i < 2; i++){FpSpread2.Sheets[0].Cells[i, 2].CellType = new FarPoint.Web.Spread.ButtonCellType ("MyCommand", FarPoint.Web.Spread.ButtonType.ImageButton, "../Images/searchbutton.bmp"); FpSpread2.Sheets[0].Cells[i, 5].CellType = new FarPoint.Web.Spread.ButtonCellType("MyCommand", FarPoint.Web.Spread.ButtonType.ImageButton, "../Images/searchbutton.bmp");}如上代码,我将Spread的第二列和第五列定义为ImageButton,现在想获取这些ImageButton的click事件,并在事件中写代码,就象在Button的click事件中写代码,该如何做??? 顶一下,没用过Spread的话,其他二维表格怎么解决类似问题的? 添加代码ImageButton.Click += new System.EventHandler(事件处理函数名); 求教各位大侠 ````求一条正则表达式 取单个进程的cpu使用率,要代码能调试。本人做过不过取的不准确求准确的做法 一个入门级问题.60分在线等(VSTO) 请教关于.Net Remoting获取远程对象的问题,请高手指点,分不多了,见谅。。 验证控件问题 如何用C#在 Pocket PC 里读取主人信息呢? 水晶报表运行时老提示需要密码 文件的问题 请教:将txt文本文件导入数据库的问题!高手帮忙啊 (求助)如何自动指向下一个TextBox c# form编程TextBox如何具有MouseEnter事件?
{
FpSpread2.Sheets[0].Cells[i, 2].CellType = new FarPoint.Web.Spread.ButtonCellType ("MyCommand", FarPoint.Web.Spread.ButtonType.ImageButton, "../Images/searchbutton.bmp"); FpSpread2.Sheets[0].Cells[i, 5].CellType = new FarPoint.Web.Spread.ButtonCellType("MyCommand", FarPoint.Web.Spread.ButtonType.ImageButton, "../Images/searchbutton.bmp");
}
如上代码,我将Spread的第二列和第五列定义为ImageButton,现在想获取这些ImageButton的click
事件,并在事件中写代码,就象在Button的click事件中写代码,该如何做???
ImageButton.Click += new System.EventHandler(事件处理函数名);