Anonymous methods: how to factorize surrounding statements like try-catch

  Here is the translation of one of my old french articles at a moment when I was trying to find what I could do with anonymous methods :p ! Here is the idea: Let’s imagine we would like to centralize exception management. In numerous program (like windows API), a classical solution consist in implementing methods…

10

How to simulate modal windows inside a single WPF window using anonymous methods ?

Introduction In our windows applications we are commonly using modal windows. Let’s remind the idea. Using windows forms, once a window is created, we can choose to show it in a modal manner (form.ShowDialog()). The window then becomes THE front window between all the other windows of our application. Moreover, all the other windows seem…

15