Exemplo n.º 1
0
        private Controller()
        {
            itemTextBuilder    = new ItemTextBuilder();
            TrackingController = new TrackingController();
            SelectionCommand   = Canguro.Commands.View.Selection.Instance;
            commands.Add("select", SelectionCommand);
            loadCommands();

            services     = null;
            modelCmd     = null;
            lastViewCmd  = null;
            viewCmd      = SelectionCommand;
            executeQueue = new Queue <string>();
            Idle        += new EventHandler(flushExecuteQueue);
        }
Exemplo n.º 2
0
        private Controller()
        {
            itemTextBuilder = new ItemTextBuilder();
            TrackingController = new TrackingController();
            SelectionCommand = Canguro.Commands.View.Selection.Instance;
            commands.Add("select", SelectionCommand);
            loadCommands();

            services = null;
            modelCmd = null;
            lastViewCmd = null;
            viewCmd = SelectionCommand;
            executeQueue = new Queue<string>();
            Idle += new EventHandler(flushExecuteQueue);
        }