PowerTools SPREAD for Windows Forms 10.0J
Redo() メソッド


Undo で取り消した最後のアクションを繰り返して、取り消しリストに追加します。
構文
public bool Redo()
'Declaration
 
Public Overloads Function Redo() As Boolean
 
'使用法
 
Dim instance As UndoManager
Dim value As Boolean
 
value = instance.Redo()

戻り値の型

成功した場合は True
次のサンプルコードは、Redoメソッドを使用します。
//Type in a cell, then click the undo and redo buttons
private void button1_Click(object sender, EventArgs e)
        {
           fpSpread1.UndoManager.Undo();
            
        }

private void button2_Click(object sender, EventArgs e)
        {
            
            fpSpread1.UndoManager.Redo();
        }
'Type in a cell, then click the undo and redo buttons
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        FpSpread1.UndoManager.Undo()
    End Sub

    Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
        FpSpread1.UndoManager.Redo()
    End Sub
参照

UndoManager クラス
UndoManager メンバ
オーバーロード一覧

 

 


© 2004-2017, GrapeCity inc. All rights reserved.