Пример #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);
        }
Пример #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);
        }