线程过程完成后停止功能

发布于 2025-01-26 18:36:16 字数 141 浏览 3 评论 0原文

我做了一点GUI来从用户那里获得输入,其中一个主要过程是使用线程,并且由于该命令启动,因此有一个事件触发无尽的进度栏以模拟WAITIT时间。

但是我想让它真的很有用,但是在完成过程后,我找不到停止进度栏的方法。

因此,任何帮助都将是很棒的。

i made a little GUI to take input from the user one of the main process is withing a thread and since that command starts there's an event that triggers an endless progress bar to simulate waitting time.

But i want to make it really usefull, but i can't find a way stop the progressbar when the process is done.

so any help on that, would be great.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

命比纸薄 2025-02-02 18:36:16

您可以将返回语句放在线程完成后将被击中的代码

You can place a return statement in the code that will be hit when the thread is done

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文