NicolBlog

Nicola Delfino's blog

Browse by Tags

Tagged Content List
  • Blog Post: NicolTIP#027: How to update the UI from a worker thread on Windows Phone 7?

    Use “Deployment.Current.Dispatcher.BeginInvoke”. sample: Deployment.Current.Dispatcher.BeginInvoke( delegate () { LoadingBar = Visibility.Collapsed; });
  • Blog Post: Update WinForm interface from a different thread

    Well, this is a typical issue when you have a thread that works (i.e. a Workflow) and a UI that needs to be updated. Let assume that you have a WinFom and you need to update its windows Title from another thread. The other thread needs to call "UpdateTitle" public method of current Form instance. If...
  • Blog Post: Avoid threads deadlock

    On this month's issue of MSDN Magazine, Stephen Toub describe the class DdMonitor. DdMonitor implements almost all interfaces exposed by .NET System.Threading.Monitor class but includes deadlock detection capabilities too. With the objective to make available a lock(...) keyword replacement, a static...
Page 1 of 1 (3 items)