Canguro.Commands.Load.AddLoadCombinationCmd.Run C# (CSharp) Méthode

Run() public méthode

Executes the command. Opens the LoadCombinationsDialog
public Run ( Canguro services ) : void
services Canguro CommandServices object to interact with the system
Résultat void
        public override void Run(Canguro.Controller.CommandServices services)
        {
            if (services.ShowDialog(new Canguro.Commands.Forms.LoadCombinationsDialog(services.Model))
                == System.Windows.Forms.DialogResult.Cancel)
                services.Model.Undo.Rollback();
        }
AddLoadCombinationCmd