代码激活或选中spread某个单元格
private void button1_Click(object sender, EventArgs e)
{
fpspread1.ActiveSheet.SetActiveCell(1, 0);
fpspread1.ActiveSheet.GetSelection(0);
fpspread1.CellClick += fpspread1_CellClick;
}
spread的单击事件
private void fpspread1_CellClick(object sender, CellClickEventArgs e)
{
MessageBox.Show("触发单击事件");
}
但测试结果是无法触发。
|
|