{"id":2062,"date":"2016-06-15T11:30:00","date_gmt":"2016-06-15T02:30:00","guid":{"rendered":"http:\/\/ocworld.net\/?p=2062"},"modified":"2024-12-13T15:02:46","modified_gmt":"2024-12-13T06:02:46","slug":"c-%ec%bd%98%ec%86%94%ed%94%84%eb%a1%9c%ea%b7%b8%eb%9e%a8%ec%97%90%ec%84%9c-%ec%bd%98%ec%86%94%ec%b0%bd-%ec%88%a8%ea%b8%b0%ea%b8%b0","status":"publish","type":"post","link":"https:\/\/www.ocworld.net\/?p=2062","title":{"rendered":"C# \ucf58\uc194\ud504\ub85c\uadf8\ub7a8\uc5d0\uc11c \ucf58\uc194\ucc3d \uc228\uae30\uae30"},"content":{"rendered":"<p style=\"text-align: justify;\">C# \ucf58\uc194\ud504\ub85c\uadf8\ub7a8\uc5d0\uc11c \uc2e4\ud589\ub418\ub294 \ucf58\uc194\ucc3d\uc744 \uc228\uae30\uae30 \uc704\ud55c \ubc29\ubc95\uc774\ub2e4.<\/p>\n<ol style=\"text-align: justify;\">\n<li>class\uc548\uc5d0 \uc544\ub798\uc640 \uac19\uc774 \uc120\uc5b8\ud55c\ub2e4.<\/li>\n<\/ol>\n<p style=\"padding-left: 60px;\">[DllImport(&#8220;kernel32.dll&#8221;)]<br \/>\nstatic extern IntPtr GetConsoleWindow();<\/p>\n<p style=\"padding-left: 60px;\">[DllImport(&#8220;user32.dll&#8221;)]<br \/>\nstatic extern bool ShowWindow(IntPtr hWnd, int nCmdShow);<\/p>\n<p style=\"padding-left: 60px;\">const int SW_HIDE = 0; \/\/ \uc228\uae30\uae30<br \/>\nconst int SW_SHOW = 1; \/\/ \ubcf4\uc774\uae30<\/p>\n<p style=\"text-align: justify; padding-left: 30px;\">2. \u00a0main \ud568\uc218 \uc548\uc5d0 \uc544\ub798\uc758 \ucf54\ub4dc\ub97c \uc785\ub825\ud55c\ub2e4.<\/p>\n<p style=\"text-align: justify; padding-left: 30px;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 var handle = GetConsoleWindow();<\/p>\n<p style=\"text-align: justify; padding-left: 30px;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 ShowWindow(handle, SW_HIDE); \/\/ \uc228\uae30\uae30<\/p>\n<p style=\"text-align: justify; padding-left: 30px;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 ShowWindow(handle, SW_SHOW); \/\/ \ubcf4\uc774\uae30<\/p>\n<p style=\"text-align: justify; padding-left: 30px;\">3. \uc2e4\ud589<\/p>\n","protected":false},"excerpt":{"rendered":"<p>C# \ucf58\uc194\ud504\ub85c\uadf8\ub7a8\uc5d0\uc11c \uc2e4\ud589\ub418\ub294 \ucf58\uc194\ucc3d\uc744 \uc228\uae30\uae30 \uc704\ud55c \ubc29\ubc95\uc774\ub2e4. class\uc548\uc5d0 \uc544\ub798\uc640 \uac19\uc774 \uc120\uc5b8\ud55c\ub2e4. [DllImport(&#8220;kernel32.dll&#8221;)] static extern IntPtr GetConsoleWindow(); [DllImport(&#8220;user32.dll&#8221;)] static extern bool ShowWindow(IntPtr hWnd, int nCmdShow); const int SW_HIDE = 0; \/\/ \uc228\uae30\uae30 const int SW_SHOW = 1; \/\/ \ubcf4\uc774\uae30 2. \u00a0main \ud568\uc218 \uc548\uc5d0 \uc544\ub798\uc758 \ucf54\ub4dc\ub97c \uc785\ub825\ud55c\ub2e4. \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 var handle = GetConsoleWindow(); \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 ShowWindow(handle, SW_HIDE); \/\/ \uc228\uae30\uae30 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[111],"class_list":["post-2062","post","type-post","status-publish","format-standard","hentry","category-info","tag-c"],"_links":{"self":[{"href":"https:\/\/www.ocworld.net\/index.php?rest_route=\/wp\/v2\/posts\/2062","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ocworld.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ocworld.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ocworld.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ocworld.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2062"}],"version-history":[{"count":8,"href":"https:\/\/www.ocworld.net\/index.php?rest_route=\/wp\/v2\/posts\/2062\/revisions"}],"predecessor-version":[{"id":2073,"href":"https:\/\/www.ocworld.net\/index.php?rest_route=\/wp\/v2\/posts\/2062\/revisions\/2073"}],"wp:attachment":[{"href":"https:\/\/www.ocworld.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2062"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ocworld.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2062"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ocworld.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2062"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}