-
DoEvents() in WPF
DoEvents() allows the UI to refresh while your perform a long lasting action, like parsing over a lot of files. In the windows forms you can just call DoEvents() from inside your blocking structure but in WPF this is not available, at least not by default. To get DoEvents() in WPF we first need to add…
-
Making WPF CheckBox and RadioButton display correctly in Windows classic theme
When developing a wpf app for work I ran into a display problem for the CheckBox and RadioButton. Most of our office computers still use windows XP with the classic theme and even the new Windows 7 computers are set to use the classic theme as well. Originally, I wrote my RadioButton and CheckBox like…