private void Form1_Load(object sender, EventArgs e)
{
FarPoint.Win.Spread.CellType.NumberCellType numcell = new FarPoint.Win.Spread.CellType.NumberCellType();
// サブエディタを非表示にします
numcell.EnableSubEditor = false;
fpSpread1.ActiveSheet.Cells[0, 0].CellType = numcell;
}
private void fpSpread1_SubEditorOpening(object sender, FarPoint.Win.Spread.SubEditorOpeningEventArgs e)
{
//e.Cancel = true;
}
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim numcell As New FarPoint.Win.Spread.CellType.NumberCellType()
' サブエディタを非表示にします
numcell.EnableSubEditor = False
FpSpread1.ActiveSheet.Cells(0, 0).CellType = numcell
End Sub
Private Sub FpSpread1_SubEditorOpening(ByVal sender As System.Object, ByVal e As FarPoint.Win.Spread.SubEditorOpeningEventArgs) Handles FpSpread1.SubEditorOpening
'e.Cancel = True
End Sub