Exemplo n.º 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", "", "", "", ""));
        }
Exemplo n.º 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", "", "", "", ""));
        }
Exemplo n.º 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;
 }
Exemplo n.º 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;
 }