Exemple #1
0
        public static void HideConsoleTest()
        {
#if !IsCore
            var handle = GlobalVars.GetConsoleWindow();
            GlobalVars.ShowWindow(handle, GlobalVars.SW_HIDE);
#endif
        }
Exemple #2
0
 public static IntPtr GetConsoleWindowHandle()
 {
     if (EConsole.cWnd != null)
     {
         return(EConsole.cWndHandle);
     }
     return(GlobalVars.GetConsoleWindow());
 }