Exam wpf