问题:“添加了
Trend.OwnerDrawCell += new Grid.OwnerDrawCellEventHandler(clsDrawLine.rdo4);
如果要清除,只有Trend.OwnerDrawCell -= new Grid.OwnerDrawCellEventHandler(clsDrawLine.rdo4);
这一种清除方法吗?还有没有别的清除方法”
有朋友这样答复:
很简单,加一个公共变量,然后在OwnerDrawCell事件中检查这个变量的值,如果为True就直接Return  --- 怎样用代码具体实现呢?谢谢