Canguro.Commands.Model.MaterialsCmd.Run C# (CSharp) Метод

Run() публичный Метод

Executes the command. Opens the Materials Dialog.
public Run ( Canguro services ) : void
services Canguro CommandServices object to interact with the system
Результат void
        public override void Run(Canguro.Controller.CommandServices services)
        {
            Canguro.Commands.Forms.MaterialsGUI gui = new Canguro.Commands.Forms.MaterialsGUI();
            if (services.ShowDialog(gui) != DialogResult.OK)
                throw new Canguro.Controller.CancelCommandException();
        }
MaterialsCmd