加载直到从Web服务获取结果 [英] Loading untill getting result from web service
本文介绍了加载直到从Web服务获取结果的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
亲爱的大家,
i制作的Windows应用程序连接到Web服务并获得结果,但很多时候由于连接速度低,我等待一分钟或更长时间才能从此Web服务获得结果。
我需要的只是显示加载直到从Web服务获得结果。
< br $>
i多次搜索,我发现我可能会使用后台工作者或启动画面。
i试图用2种方法制作它但直到现在我没有解决这个问题
任何想法?注意我是C#的初学者
Dear everyone,
i made windows application that connect to web service and get results, but at many times due to low connection speed, i wait for one minute or more to get result from this web service.
all that i need is to show loading until getting result from the web service.
i searched many times and i found that i may use background worker or splash screen.
i tried to made it by the 2 methods but till now and i did not solve this issue
any idea?? notice that i am a beginner in C#
推荐答案
你可以用线程来做相同或后台工作人员或任务
任务: MSDN [ ^ ]
主题: MSDN [ ^ ]
后台工作人员: MSDN [ ^ ]
从Windows调用Web服务: MSDN [ ^ ]
Hi,
you can use thread to do the same or background worker or Task
Task : MSDN[^]
Thread : MSDN[^]
Background Worker :MSDN[^]
Call web service From Windows : MSDN[^]
这篇关于加载直到从Web服务获取结果的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文