Execute() public method

public Execute ( ) : void
return void
示例#1
0
 protected virtual void OnRedoActivated(object sender, System.EventArgs e)
 {
     RedoCommand command = new RedoCommand ("Redo", this);
     command.Execute ();
 }
 public void Redo()
 {
     var command = new RedoCommand("Redo", this);
     command.Execute();
 }