编辑状态下的双击事件可以同下面的方法获取:- private void fpSpread1_EditModeOn(object sender, EventArgs e)
- {
- FarPoint.Win.Spread.CellType.GeneralEditor editor = fpSpread1.EditingControl as FarPoint.Win.Spread.CellType.GeneralEditor;
- if (editor != null)
- {
- editor.DoubleClick += new EventHandler(editor_DoubleClick);
- }
- }
- void editor_DoubleClick(object sender, EventArgs e)
- {
-
- }
复制代码 |