Esempio n. 1
0
 internal static void Create()
 {
     Imports.AllocConsole();
     System.Console.SetOut(new StreamWriter(System.Console.OpenStandardOutput())
     {
         AutoFlush = true
     });
     System.Console.SetIn(new StreamReader(System.Console.OpenStandardInput()));
     System.Console.Clear();
     System.Console.Title = (BuildInfo.Name + " v" + BuildInfo.Version + " Open-Beta");
     Imports.SetForegroundWindow(Imports.GetConsoleWindow());
 }