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 BaseController()
 {
     registeredControllers = new Hashtable();
     commandManager        = new CommandManager();
     modelFactory          = new ModelFactory("Model");
 }