App freeze when I click during network actvity

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi
I found this topic but nobody answer, so I try again

My application download some information from server. On my app is button, when it's pressed starts new thread which download the infromation. Everythink is ok, but if I click anywhere in the form then second tread is runing, my App freeze. Itried everythink ( i thougt) but notthings help.
 
Are you updating GUI from a different thread?
If yes, you MUST use Control.Invoke to do that.

--
Alex Yakhnin .NET CF MVP
www.intelliprog.com | www.opennetcf.org

Hi,
I found this topic but nobody answer, so I try again.

My application download some information from server. On my app is button,
when it's pressed starts new thread which download the infromation.
Everythink is ok, but if I click anywhere in the form then second tread is
runing, my App freeze. Itried everythink ( i thougt) but notthings help.
 
Back
Top