Add WPF Application Code