Some WPF code..