交通灯模拟 [英] Traffic Light Simulation

查看:90
本文介绍了交通灯模拟的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这个应用程序可能有50多个汽车动画。



是否可以使用C#winform执行此操作?

如果我使用线程/后台工作者?

它会顺利运行吗?

还有另一个更好的选择而不是使用thread / bgworker吗?

This application probably had more than 50 cars animation.

Is it possible to do this using C# winform?
How if I use threading / background worker?
Will it run smoothly?
Is there's another better choice rather than using thread / bgworker?

推荐答案

Quote:

是否可以使用C#winform执行此操作?

Is it possible to do this using C# winform?

是的,当然。然而,这实际上取决于你的确切要求。



Yes, of course. However it really depends on your exact requirements.

引用:

如果我使用线程/后台工作者?

How if I use threading / background worker?

你可能需要。





You probably have to.


引用:

它会顺利运行吗?

再次,是的,但它确实取决于要求(例如图形细节)。





Again, yes, but it really depends on the requirements (e.g. graphics details).


引用:

还有另一个更好的选择,而不是使用thread / bgworker吗?

Is there's another better choice rather than using thread / bgworker?

As据我所知,你必须使用线程。

As far as I know, you have to use threads.


这篇关于交通灯模拟的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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