回复 1# HNA_fengjie 的帖子
Spread提供ButtonCommand事件,你可以在该事件中来执行相应的代码:
- protected void FpSpread1_ButtonCommand(object sender, SpreadCommandEventArgs e)
- {
- System.Drawing.Point point = (System.Drawing.Point)e.CommandArgument;
- if (!point.IsEmpty)
- {
- //point.X
- //point.Y
- //执行相应的代码
- }
- }
复制代码 |
|