ICommand instead of Click event

Writing unit tests requires that your logic code is separated from your UI code. Using MVVM pattern is a nice solution because it separates the concerns, especially with WPF and Windows RT apps. To go more on that goal, it's just useful to remove the click events.

C# (193.3 KB)
4 Star
2,817 times
Add to favorites
E-mail Twitter del.icio.us Digg Facebook