是否有任何特殊原因挂起C#程序. [英] Is there any particular reason for hanging C# programs.

查看:82
本文介绍了是否有任何特殊原因挂起C#程序.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,
我遇到的问题是,使用自动完成扩展器在文本框中键入字符时,应用程序冻结(不是系统).问题不在工作环境中,该应用程序在我的系统中运行良好.这仅在客户端系统中发生,那一天也只有两次或三次.
任何人都对此有解决方案.
希望从这里得到一些帮助,
Thankyou

hi to all,
the problem i got is , the application freezes( not the system) while typing a character in text box with autocomplete extender.the problem is not in the working environment,the application runs well in my system.this occurs only in the client side system,that too only twice or thrice a day.
Anybody got solution for this.
expecting some help from here,
thankyou

推荐答案

没有特别的原因-您需要查看代码(可能在.asmx文件中)并进行检查.
没有您的代码,我们将无法真正为您提供进一步的帮助!
There is no particular reason - you need to look at your code (which is probably in a .asmx file) and check that.
Without your code, we cannot really help you any further!


只有一个特殊的原因:应用程序开发人员的笨拙之手.对于.NET和C#本身,它们非常稳定,并且支持非常稳定的应用程序的开发,至少如果使用适当的开发实践,则非常容易维护.

—SA
There only one particular reason: the clumsy hands of the application developer. As to .NET and C# themselves, they are very stable and support development of very stable application which are very easy to maintain at least if proper development practices are utilized.

—SA


首先想到的是线程问题.如果自动完成需要很长时间才能执行并且正在UI线程上执行,它将中断任何其他UI操作,从而冻结"应用程序直到完成.也许您可以按照OriginalGriff的建议将您的代码发布给我们查看.
First thing that comes to mind is a threading issue. If the autocomplete takes a long time to execute and is executing on the UI thread, it will interrupt any other UI operations, thereby "freezing" the application until it is done. Perhaps you can, as OriginalGriff suggested, post your code for us to look at.


这篇关于是否有任何特殊原因挂起C#程序.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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