在Windows窗体应用程序中运行控制台C#代码 [英] Run Console C# code in Windows Form Application

查看:320
本文介绍了在Windows窗体应用程序中运行控制台C#代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在Windows窗体应用程序中为屏幕添加矩阵雨效果。我得到了控制台应用程序的C#代码。当我尝试复制相同的代码时,它显示异常。请建议我如何做到这一点。我只是想知道它是否可能或
不是吗?

I want to add matrix rain effect for the Screen in Windows Form Application. I got C# code for Console Application. When I try to copy the same code it is showing Exception. Please suggest me how to do that. I just want to know whether it is possible or not?

推荐答案

有什么例外?向我们展示相关代码也可能有所帮助。
What's the exception? And showing us the relevant code might help too.


这篇关于在Windows窗体应用程序中运行控制台C#代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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