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", "", "", "", "")); }
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", "", "", "", "")); }
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; }
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; }