Geeks With Blogs

News Hi, my name is Vincent Grondin and I'm a senior consultant at Fujitsu, a consulting firm in Montreal, Québec. I'm starting that blog to share some of my thoughts and knowledge on .NET architectures and code. Being a consultant in the .NET world I come across many different things. Some good, some bad and others that are worth a blog post here whether they be good, or hmmm... shall I say, less good :) I hope you enjoy yourself while learning new stuff. Feel free to leave a comment or contact me anytime.
Vincent Grondin November 2009 Entries
Cross-thread operation and UI tips
Sometimes you hook yourself to events in the system that you are building which you know will be fired from another thread than the thread that will handle or consume the event. A good example of that would be to hook yourself to a System.Timers.Timer.Elapsed event from within a windows form. In the event handler you need to update some visual controls.... Damn it! You receive an “InvalidOperationException” saying “Cross-Thread operation not valid...” !!! How do you solve that again? Oh yeah that’s ......

Posted On Sunday, November 15, 2009 8:53 PM

Copyright © Vincent Grondin | Powered by: | Join free