Paras Kharbanda

Paras Kharbanda

  • NA
  • 61
  • 20.9k

Hiding buttons before getting response from server in WPF

Sep 11 2014 5:42 AM
I am working on a translator project in different languages.In this If we translate language from english to any language then response is generate from
server and it plays itself.
Next is In each translation(content is on button)there is play button i.e.On Primary Language(English) and Secondary Language(Choose).So before getting 
response from server if i press play button then it transaltion files are updated i.e it got confused which file will be played first.
But if i do't press it then i have to wait for getting response from server.
So what i want-There should be timer in which until i don't get the response from server then those play buttons shouldn't be 
visible.i.e if there is timer of 30 sec then in between buttons should be hidden
Next i want to generate response in a separate thread
using linq 
please help me