comparison SilverlightGlimpse/SilverlightValidation/Views/UserListView.xaml.cs @ 72:177a9d1eba10

Latest version
author Steven Hollidge <stevenhollidge@hotmail.com>
date Mon, 23 Apr 2012 17:57:21 +0100
parents 96e6fbd70f49
children
comparison
equal deleted inserted replaced
71:96e6fbd70f49 72:177a9d1eba10
1 using System.Windows.Browser; 1 using System;
2 using System.Windows.Browser;
2 using System.Windows.Input; 3 using System.Windows.Input;
3 using SilverlightValidation.Data; 4 using SilverlightValidation.Data;
4 using SilverlightValidation.ViewModels; 5 using SilverlightValidation.ViewModels;
5 using SilverlightValidation.Validators; 6 using SilverlightValidation.Validators;
6 7
22 private void DatePicker_KeyDown(object sender, KeyEventArgs e) 23 private void DatePicker_KeyDown(object sender, KeyEventArgs e)
23 { 24 {
24 if (e.Key != Key.Tab) 25 if (e.Key != Key.Tab)
25 e.Handled = true; 26 e.Handled = true;
26 } 27 }
28
29 private void btnThrowException_Click(object sender, System.Windows.RoutedEventArgs e)
30 {
31 throw new Exception("Oh dear we've hit an exception!",
32 new Exception("This is an inner exception"));
33 }
27 } 34 }
28 } 35 }