예제 #1
0
파일: Cmd.cs 프로젝트: attackgithub/escript
        public static void HideConsoleTest()
        {
#if !IsCore
            var handle = GlobalVars.GetConsoleWindow();
            GlobalVars.ShowWindow(handle, GlobalVars.SW_HIDE);
#endif
        }
예제 #2
0
 public static IntPtr GetConsoleWindowHandle()
 {
     if (EConsole.cWnd != null)
     {
         return(EConsole.cWndHandle);
     }
     return(GlobalVars.GetConsoleWindow());
 }