コード例 #1
0
ファイル: DebugManager.cs プロジェクト: SnakeSolidNL/tools
        public DebugManager(string version)
        {
            frmShell Debug = new frmShell(version, true);
            Debug.Show();
            Debug.Text = "Debug";
            var csl = Debug.GetConsole();
            csl.ForeColor = Color.Orange;
            csl.ReadOnly = true;
            csl.WordWrap = true;

            Debug.GetConsole().RedirectConsole(Debug);
        }
コード例 #2
0
        public DebugManager(string version)
        {
            frmShell Debug = new frmShell(version, true);

            Debug.Show();
            Debug.Text = "Debug";
            var csl = Debug.GetConsole();

            csl.ForeColor = Color.Orange;
            csl.ReadOnly  = true;
            csl.WordWrap  = true;

            Debug.GetConsole().RedirectConsole(Debug);
        }
コード例 #3
0
 public void InitHost(bool Shell, string version, WorldMap worldmap, PictureBox pctWorldMap)
 {
     Scripting.Host.ScriptGlobal.Init(Scripting.Host.ScriptHost, worldmap, pctWorldMap);
     Scripting.Host.ScriptHost.resources_loaded();
     if (Shell)
     {
         frmShell shell = new frmShell(version, false);
         Scripting.Host.ScriptHost.RegisterConsole(shell.GetConsole());
         shell.Show();
     }
 }
コード例 #4
0
ファイル: ScriptManager.cs プロジェクト: SnakeSolidNL/tools
 public void InitHost(bool Shell, string version, WorldMap worldmap, PictureBox pctWorldMap)
 {
     Scripting.Host.ScriptGlobal.Init(Scripting.Host.ScriptHost, worldmap, pctWorldMap);
     Scripting.Host.ScriptHost.resources_loaded();
     if (Shell)
     {
         frmShell shell = new frmShell(version, false);
         Scripting.Host.ScriptHost.RegisterConsole(shell.GetConsole());
         shell.Show();
     }
 }