Simple way of showing Msgbox and Dialogs in WPF MVVM

I know that MVVM purists say that you should not use messageboxes and Dialogs in a MVVM application , however as a business developer you must sometimes blok the GUI to let the user pick an item or confirm there actions . After some discussions in the comunity i decided to show y

 
 
 
 
 
4 Star
(1)
3,566 times
Add to favorites
3/26/2011
E-mail Twitter del.icio.us Digg Facebook

Solution explorer

VB.NET
C:\Users\possetmi\documents\visual studio 2010\Projects\SimpleMVVMDialogAndMsgBoxExample\SimpleMVVMDialogAndMsgBoxExample\bin\Debug\SimpleMVVMDialogAndMsgBoxExample.exe
C:\Users\possetmi\documents\visual studio 2010\Projects\SimpleMVVMDialogAndMsgBoxExample\SimpleMVVMDialogAndMsgBoxExample\bin\Debug\SimpleMVVMDialogAndMsgBoxExample.pdb
C:\Users\possetmi\documents\visual studio 2010\Projects\SimpleMVVMDialogAndMsgBoxExample\SimpleMVVMDialogAndMsgBoxExample\bin\Debug\SimpleMVVMDialogAndMsgBoxExample.xml
C:\Users\possetmi\documents\visual studio 2010\Projects\SimpleMVVMDialogAndMsgBoxExample\SimpleMVVMDialogAndMsgBoxExample\bin\Debug\oMVVM.dll
C:\Users\possetmi\documents\visual studio 2010\Projects\SimpleMVVMDialogAndMsgBoxExample\SimpleMVVMDialogAndMsgBoxExample\bin\Debug\oMVVM.pdb
C:\Users\possetmi\documents\visual studio 2010\Projects\SimpleMVVMDialogAndMsgBoxExample\SimpleMVVMDialogAndMsgBoxExample\bin\Debug\oMVVM.xml
C:\Users\possetmi\documents\visual studio 2010\Projects\SimpleMVVMDialogAndMsgBoxExample\SimpleMVVMDialogAndMsgBoxExample\obj\x86\Debug\ResolveAssemblyReference.cache
C:\Users\possetmi\documents\visual studio 2010\Projects\SimpleMVVMDialogAndMsgBoxExample\SimpleMVVMDialogAndMsgBoxExample\obj\x86\Debug\Application.g.vb
C:\Users\possetmi\documents\visual studio 2010\Projects\SimpleMVVMDialogAndMsgBoxExample\SimpleMVVMDialogAndMsgBoxExample\obj\x86\Debug\SimpleMVVMDialogAndMsgBoxExample_MarkupCompile.cache
C:\Users\possetmi\documents\visual studio 2010\Projects\SimpleMVVMDialogAndMsgBoxExample\SimpleMVVMDialogAndMsgBoxExample\obj\x86\Debug\SimpleMVVMDialogAndMsgBoxExample.g.resources
C:\Users\possetmi\documents\visual studio 2010\Projects\SimpleMVVMDialogAndMsgBoxExample\SimpleMVVMDialogAndMsgBoxExample\obj\x86\Debug\GenerateResource.read.1.tlog
C:\Users\possetmi\documents\visual studio 2010\Projects\SimpleMVVMDialogAndMsgBoxExample\SimpleMVVMDialogAndMsgBoxExample\obj\x86\Debug\GenerateResource.write.1.tlog
C:\Users\possetmi\documents\visual studio 2010\Projects\SimpleMVVMDialogAndMsgBoxExample\SimpleMVVMDialogAndMsgBoxExample\obj\x86\Debug\SimpleMVVMDialogAndMsgBoxExample.exe
C:\Users\possetmi\documents\visual studio 2010\Projects\SimpleMVVMDialogAndMsgBoxExample\SimpleMVVMDialogAndMsgBoxExample\obj\x86\Debug\SimpleMVVMDialogAndMsgBoxExample.xml
C:\Users\possetmi\documents\visual studio 2010\Projects\SimpleMVVMDialogAndMsgBoxExample\SimpleMVVMDialogAndMsgBoxExample\obj\x86\Debug\SimpleMVVMDialogAndMsgBoxExample.pdb
C:\Users\possetmi\documents\visual studio 2010\Projects\SimpleMVVMDialogAndMsgBoxExample\SimpleMVVMDialogAndMsgBoxExample\obj\x86\Debug\SimpleMVVMDialogAndMsgBoxExample_MarkupCompile.lref
C:\Users\possetmi\documents\visual studio 2010\Projects\SimpleMVVMDialogAndMsgBoxExample\SimpleMVVMDialogAndMsgBoxExample\obj\x86\Debug\View\TabView.baml
C:\Users\possetmi\documents\visual studio 2010\Projects\SimpleMVVMDialogAndMsgBoxExample\SimpleMVVMDialogAndMsgBoxExample\obj\x86\Debug\View\MainWindow.g.vb
C:\Users\possetmi\documents\visual studio 2010\Projects\SimpleMVVMDialogAndMsgBoxExample\SimpleMVVMDialogAndMsgBoxExample\obj\x86\Debug\View\TabView.g.vb
C:\Users\possetmi\documents\visual studio 2010\Projects\SimpleMVVMDialogAndMsgBoxExample\SimpleMVVMDialogAndMsgBoxExample\obj\x86\Debug\View\MainWindow.baml
C:\Users\possetmi\documents\visual studio 2010\Projects\SimpleMVVMDialogAndMsgBoxExample\SimpleMVVMDialogAndMsgBoxExample\obj\x86\Debug\Resources.resources
C:\Users\possetmi\documents\visual studio 2010\Projects\SimpleMVVMDialogAndMsgBoxExample\SimpleMVVMDialogAndMsgBoxExample\obj\x86\Debug\GeneratedInternalTypeHelper.g.vb