示例#1
0
        public vConsole()
        {
            vConsoleForm   form    = new vConsoleForm();
            IList <Module> modules = new List <Module>();

            //pre
            modules.Add(new Module("Welcome to vConsole;)"));

            con = new Controller(form, modules);
        }
示例#2
0
        public Controller(vConsoleForm form, IList <Module> modules)
        {
            _form    = form;
            _modules = modules;

            _viewFeeder     = new ViewFeeder(this);
            _view           = _viewFeeder.returnView();
            _consoleListBox = _view.consoleListBox;

            for (int i = 0; i < modules.Count; i++)
            {
                updateConsole(modules[i]);
            }

            changeThemePreset("8DA4BE", "161B31");
            changeOpcaity("0.8");
        }