使用两个DataGridViews运行两个BackGroundWorkers [英] Running two BackGroundWorkers with two DataGridViews

查看:105
本文介绍了使用两个DataGridViews运行两个BackGroundWorkers的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

伙计们,我有一个带有两个DataGridViews(dgv1,dgv2)和按钮"btnGetReport"的Win窗体.运行两个BackGroundWrorkers.

两个BackGroundWorkers完成运行后,如何重新启用按钮?

在此先感谢Aldo.

Guys,

I have a Win Form with two DataGridViews (dgv1, dgv2), and a button "btnGetReport".

When clicking the button, I make it unavailable and then run two BackGroundWrorkers.

How do I Re-Enable the button after the two BackGroundWorkers finished running?

Thanks in advance,
Aldo.
 

<身体>
//Form构造函数.
public OTD()…
        // Form Constructor.  
        public OTD()…  

推荐答案

您打算发布此问题多少次?到目前为止,我数了三.还有多少?
How many times are you going to post this question?  I count three so far.  How many more are there?


这篇关于使用两个DataGridViews运行两个BackGroundWorkers的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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