private void fpSpread1_EditModeOn(object sender, System.EventArgs e)
{
//編集中セルの色を変更します
((FarPoint.Win.Spread.CellType.GeneralEditor)fpSpread1.EditingControl).BackColor = Color.Red;
((FarPoint.Win.Spread.CellType.GeneralEditor)fpSpread1.EditingControl).ForeColor = Color.White;
}
private void fpSpread1_EditModeOff(object sender, System.EventArgs e)
{
Console.WriteLine("セルの編集終了");
}
Private Sub FpSpread1_EditModeOn(ByVal sender As Object, ByVal e As System.EventArgs) Handles FpSpread1.EditModeOn
'編集中セルの色を変更します
CType(FpSpread1.EditingControl, FarPoint.Win.Spread.CellType.GeneralEditor).BackColor = Color.Red
CType(FpSpread1.EditingControl, FarPoint.Win.Spread.CellType.GeneralEditor).ForeColor = Color.White
End Sub
Private Sub FpSpread1_EditModeOff(ByVal sender As Object, ByVal e As System.EventArgs) Handles FpSpread1.EditModeOff
Console.WriteLine("セルの編集終了")
End Sub