WPF sample