本帖最后由 haise 于 2024-1-12 18:06 编辑
/// <summary>
/// 禁止Wafer List 表格双击计算器弹出
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void spdWaferList_SubEditorOpening(object sender, FarPoint.Win.Spread.SubEditorOpeningEventArgs e)
{
if ((this.spdWaferList.ActiveSheet.GetCellType(e.Row, e.Column)) is FarPoint.Win.Spread.CellType.CurrencyCellType)
{
e.Cancel = true;
}
} |