Example #1
0
        public Controller()
        {
            //Création du gestionnaire de commande
              	cmdMgr = new CommandManager();

              	//Création du receiver des commandes
              	guiActions = new GuiActions();

              	//Création des commandes
              	cmdMgr.RegisterCommand(new NewCommand(guiActions, this, "New", "", "", "", ""));
        }
Example #2
0
        public Controller()
        {
            //Création du gestionnaire de commande
            cmdMgr = new CommandManager();

            //Création du receiver des commandes
            guiActions = new GuiActions();

            //Création des commandes
            cmdMgr.RegisterCommand(new NewCommand(guiActions, this, "New", "", "", "", ""));
        }
Example #3
0
 public NewCommand(GuiActions guiActions, IController controller, string id, string text, string icon, string accelKey, string description)
     : base(id, text, icon, accelKey, description)
 {
     this.guiActions  = guiActions;
     this.controller = controller;
 }
Example #4
0
 public NewCommand(GuiActions guiActions, IController controller, string id, string text, string icon, string accelKey, string description) : base(id, text, icon, accelKey, description)
 {
     this.guiActions = guiActions;
     this.controller = controller;
 }