Michal,

For WPF that is indeed a good solution. When the question was posted about 3 years ago, the presumption was that it was WinForms....