从Winform UI在不同进程之间切换会挂起操作 [英] Switching between different process from Winform UI hangs the operation

查看:214
本文介绍了从Winform UI在不同进程之间切换会挂起操作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

切换或复制数据从Winform UI到记事本"或我的电脑"或任何应用程序将挂起已加载的Winform UI.无法获得光标或无法专注于

解决方案

似乎正在做一些处理,并且UI线程在该过程中被挂起.

使用BackgroundWorker线程处理请求并释放UI线程.


Switching or copying data  from Winform UI to "Notepad" or "Mycomputer" or any application will hang the Winform UI Which has already loaded. Not able to get the cursor or focus on  to the loaded UI.

解决方案

It seems you are doing some processing and the UI thread is hanged up in that process.

Use a BackgroundWorker thread to processing request and free up the UI thread.


这篇关于从Winform UI在不同进程之间切换会挂起操作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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