示例#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", "", "", "", ""));
        }
示例#2
0
 public BaseController()
 {
     registeredControllers = new Hashtable();
     commandManager        = new CommandManager();
     modelFactory          = new ModelFactory("Model");
 }