/// <summary> /// 添加单元格方法 /// </summary> public override void onAdd() { FCGrid grid = Grid; if (m_control != null && grid != null) { grid.addControl(m_control); m_control.addEvent(m_touchDownEvent, FCEventID.TOUCHDOWN); m_control.addEvent(m_touchMoveEvent, FCEventID.TOUCHMOVE); m_control.addEvent(m_touchUpEvent, FCEventID.TOUCHUP); m_control.addEvent(m_touchWheelEvent, FCEventID.TOUCHWHEEL); } }