已经找到解决方法。
1. fpSpread1.AutoClipboard = false;
2. private void fpSpread1_KeyDown_1(object sender, KeyEventArgs e)
{
if (e.Control && e.KeyCode == Keys.C)
{
fpSpread1.ActiveSheet.ClipboardCopy(FarPoint.Win.Spread.ClipboardCopyOptions.Values);
}
if (e.Control && e.KeyCode == Keys.V)
{
fpSpread1.ActiveSheet.ClipboardPaste(FarPoint.Win.Spread.ClipboardPasteOptions.Values);
}
}
|