这个您需要给EditingControl 添加事件
- public Form15()
- {
- InitializeComponent();
- fpSpread1.EditModeOn += FpSpread1_EditModeOn;
- }
- private void FpSpread1_EditModeOn(object sender, EventArgs e)
- {
- fpSpread1.EditingControl.KeyDown += EditingControl_KeyDown;
- }
- private void EditingControl_KeyDown(object sender, KeyEventArgs e)
- {
- }
复制代码 |