Exemplo n.º 1
0
        /// <summary>
        /// Initialize core system
        /// </summary>
        /// <param name="App_path"></param>
        private void Initialize_ARQODE_Core(string app_path)
        {
            // Init UI
            _system = new CSystem(app_path);
            if (!_system.hasErrors())
            {
                _system.Cron.runProgram += Vm_runProgram;

                // Init views manager & load UI
                ViewsManager = new CViewsManager(_system);

                ViewsManager.runProgram += Vm_runProgram;

                // Init program runner
                Runner = new CRunner(_system, ViewsManager);
            }
        }
Exemplo n.º 2
0
        /// <summary>
        /// Initialize core system
        /// </summary>
        /// <param name="console_mode"></param>
        private void Initialize_ARQODE_Core(string App_name)
        {
            // Init UI
            _system = new CSystem(App_name);
            if (!_system.hasErrors())
            {
                _system.Console_mode     = false;
                _system.Cron.runProgram += Vm_runProgram;

                // Init views manager & load UI
                ViewsManager = new CViewsManager(_system);

                ViewsManager.runProgram += Vm_runProgram;


                // Init program runner
                Runner = new CRunner(_system, ViewsManager);
            }
        }