WPF Solution