WPF example (2)