mardi 24 février 2015

Regain focus after a threat is completed

I have a datagridView(dgv) in the active tab(tabControl) that is filled with data obtained from a web service, when i start the query i create a separated thread that will assign the data to the dgv on his RunWorkerCompleted event, but then the dgv doesn't select a row when i make a click on it, in order to work properly i have to select the other tab and select again the tab containing this dgv consulting web service


rows can't be selected until i change tab


Aucun commentaire:

Enregistrer un commentaire