如何在不关闭表单的情况下使用FreeConole关闭控制台? [英] How to use the FreeConole to close a console without closing the form?

查看:175
本文介绍了如何在不关闭表单的情况下使用FreeConole关闭控制台?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用FreeConsole()关闭控制台?目前,我已经完成了与按钮点击事件中的输出相关的所有编码。如何调用此方法以确保在控制台关闭时我的表单不会关闭?请指教。在C#中完成。

How can I use the FreeConsole() to close a console? Currently I have done all coding related to directing the output in a button click event. How do I call this to ensure that my form doesn't close when console closes? Please advice. Done in C#.

推荐答案

这篇关于如何在不关闭表单的情况下使用FreeConole关闭控制台?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆