private void Form1_Load(object sender, System.EventArgs e)
{
// 日付型セルを定義します
FarPoint.Win.Spread.CellType.DateTimeCellType datecell = new FarPoint.Win.Spread.CellType.DateTimeCellType();
datecell.EnableSubEditor = false;
fpSpread1.ActiveSheet.Cells[0, 0].CellType = datecell;
}
private void fpSpread1_SubEditorOpening(object sender, FarPoint.Win.Spread.SubEditorOpeningEventArgs e)
{
//デフォルト動作(サブエディタ表示)をキャンセルします
e.Cancel = true;
}
Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Load
' 日付型セルを定義します
Dim datecell As New FarPoint.Win.Spread.CellType.DateTimeCellType()
datecell.EnableSubEditor = False
FpSpread1.ActiveSheet.Cells(0, 0).CellType = datecell
End Sub
Private Sub FpSpread1_SubEditorOpening(ByVal sender As Object, ByVal e As FarPoint.Win.Spread.SubEditorOpeningEventArgs) Handles FpSpread1.SubEditorOpening
'デフォルト動作(サブエディタ表示)をキャンセルします
e.Cancel = True
End Sub