example to build a WPF