>> >>In a WPF Application object >>Dispatcher.Thread.CurrentCulture >> >>In a class >>System.Threading.Thread.CurrentThread.CurrentCulture >> >>>>
System.Diagnostics.Debug.WriteLine((Dispatcher.Thread == System.Threading.Thread.CurrentThread).ToString()); > >BackgroundWorker b = new BackgroundWorker(); >b.DoWork += new DoWorkEventHandler(b_DoWork); >b.RunWorkerAsync(); > >void b_DoWork(object sender, DoWorkEventArgs e) >{ System.Diagnostics.Debug.WriteLine((Dispatcher.Thread == System.Threading.Thread.CurrentThread).ToString()); }OK, I looked into this a bit further and I don't think it would be an issue. The culture was being retrieved from Dispatcher.thread and some settings adjusted then set back on Dispatcher.Thread. Because of my changes there isn't access to the Dispatcher when I need it. I am getting it from system.Threading, making the adjustments, and then setting it on the Dispatcher Thread later. They are just adjusting for language and only between German and English. The company that did this originally was in Germany so I think it was probably internal. We do not localize this application.