移动数据可以用 MoveRange 方法。
fpSpread1.ActiveSheet.MoveRange(0,0,1,1,3,3,false)
public void MoveRange(int fromRow, int fromColumn, int toRow, int toColumn, int rowCount, int columnCount, bool dataOnly);
弹出右键菜单就时winform 标准的右键功能。给控件添加一个ContextMenuStrip
fpSpread1.ContextMenuStrip = contextMenuStrip1;
|