Sample WPF Codes