Visual Basic (Declaration) | |
---|---|
Public ReadOnly Property UndoManager As UndoManager |
C# | |
---|---|
public UndoManager UndoManager {get;} |
C# | Copy Code |
---|---|
private void mnuEditUndo_Click(object sender, System.EventArgs e) { this.ardMain.UndoManager.Undo(); } |
Visual Basic | Copy Code |
---|---|
'mnuEditUndo_Click - calls the UndoManager.Undo command from the Designer Private Sub mnuEditUndo_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles mnuEditUndo.Click Me.ardMain.UndoManager.Undo() End Sub 'mnuEditUndo_Click |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2