Winform应用程序中的控制台UI [英] Console UI in Winform App
问题描述
我们有一个在UNIX上运行的旧应用程序。我们的Windows用户通过终端应用程序或commaind提示登录应用程序。该应用程序看起来像那些汽车经销商像运行在DOS模式界面的应用程序之一。
We have a legacy application running on UNIX. Our windows users login to the application via a terminal application or commaind prompt. The app looks like one of those car-dealer like application which runs in dos mode interface.
我正在创建一个新的winform接口的应用程序,但仍希望保持遗留应用程序在线一段时间,但我不希望用户打开命令提示符,而是从我的winform内访问应用程序。有没有用户控件,我可以放在winform的命令提示符访问?
I am creating a new winform interface to the application but still want to keep the legacy application online for a while, however I dont want the users to open up command prompt, but instead access the application from within my winform. Is there a usercontrol which I can place on the winform for command prompt access?
解决方案〜使用Rebex.net控件,快速集成和易于使用。
Solution ~ Ended up using a control from Rebex.net, fast integration and easy to use.
推荐答案
请参阅来自Jeffrey的博文
使用他的代码,您可以写信到控制台窗口,甚至从Windows窗体应用程序。
See this blog post from Jeffrey
With his code you can write to a Console window, even from a Windows Forms application.
注意
我不建议这样做。
Windows应用程序应该使用Windows作为GUI,而不是控制台窗口...
NOTE
I would NOT recommend to do that.
A Windows Application should use the Windows as GUI and not the console window...
这篇关于Winform应用程序中的控制台UI的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!