Skip to main content

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,567 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\obj\x86\Release\ResolveAssemblyReference.cache
C:\Users\possetmi\documents\visual studio 2010\Projects\SimpleMVVMDialogAndMsgBoxExample\SimpleMVVMDialogAndMsgBoxExample\obj\x86\Release\View\TabView.baml
C:\Users\possetmi\documents\visual studio 2010\Projects\SimpleMVVMDialogAndMsgBoxExample\SimpleMVVMDialogAndMsgBoxExample\obj\x86\Release\View\TabView.g.vb
C:\Users\possetmi\documents\visual studio 2010\Projects\SimpleMVVMDialogAndMsgBoxExample\SimpleMVVMDialogAndMsgBoxExample\obj\x86\Release\Application.g.vb
C:\Users\possetmi\documents\visual studio 2010\Projects\SimpleMVVMDialogAndMsgBoxExample\SimpleMVVMDialogAndMsgBoxExample\obj\x86\Release\SimpleMVVMDialogAndMsgBoxExample_MarkupCompile.cache
C:\Users\possetmi\documents\visual studio 2010\Projects\SimpleMVVMDialogAndMsgBoxExample\SimpleMVVMDialogAndMsgBoxExample\bin\Release\SimpleMVVMDialogAndMsgBoxExample.exe
C:\Users\possetmi\documents\visual studio 2010\Projects\SimpleMVVMDialogAndMsgBoxExample\SimpleMVVMDialogAndMsgBoxExample\bin\Release\SimpleMVVMDialogAndMsgBoxExample.pdb
C:\Users\possetmi\documents\visual studio 2010\Projects\SimpleMVVMDialogAndMsgBoxExample\SimpleMVVMDialogAndMsgBoxExample\bin\Release\SimpleMVVMDialogAndMsgBoxExample.xml
C:\Users\possetmi\documents\visual studio 2010\Projects\SimpleMVVMDialogAndMsgBoxExample\SimpleMVVMDialogAndMsgBoxExample\bin\Release\oMVVM.dll
C:\Users\possetmi\documents\visual studio 2010\Projects\SimpleMVVMDialogAndMsgBoxExample\SimpleMVVMDialogAndMsgBoxExample\bin\Release\oMVVM.pdb
C:\Users\possetmi\documents\visual studio 2010\Projects\SimpleMVVMDialogAndMsgBoxExample\SimpleMVVMDialogAndMsgBoxExample\bin\Release\oMVVM.xml
C:\Users\possetmi\documents\visual studio 2010\Projects\SimpleMVVMDialogAndMsgBoxExample\SimpleMVVMDialogAndMsgBoxExample\obj\x86\Release\View\MainWindow.baml
C:\Users\possetmi\documents\visual studio 2010\Projects\SimpleMVVMDialogAndMsgBoxExample\SimpleMVVMDialogAndMsgBoxExample\obj\x86\Release\View\MainWindow.g.vb
C:\Users\possetmi\documents\visual studio 2010\Projects\SimpleMVVMDialogAndMsgBoxExample\SimpleMVVMDialogAndMsgBoxExample\obj\x86\Release\SimpleMVVMDialogAndMsgBoxExample.g.resources
C:\Users\possetmi\documents\visual studio 2010\Projects\SimpleMVVMDialogAndMsgBoxExample\SimpleMVVMDialogAndMsgBoxExample\obj\x86\Release\GenerateResource.read.1.tlog
C:\Users\possetmi\documents\visual studio 2010\Projects\SimpleMVVMDialogAndMsgBoxExample\SimpleMVVMDialogAndMsgBoxExample\obj\x86\Release\GenerateResource.write.1.tlog
C:\Users\possetmi\documents\visual studio 2010\Projects\SimpleMVVMDialogAndMsgBoxExample\SimpleMVVMDialogAndMsgBoxExample\obj\x86\Release\SimpleMVVMDialogAndMsgBoxExample.exe
C:\Users\possetmi\documents\visual studio 2010\Projects\SimpleMVVMDialogAndMsgBoxExample\SimpleMVVMDialogAndMsgBoxExample\obj\x86\Release\SimpleMVVMDialogAndMsgBoxExample.xml
C:\Users\possetmi\documents\visual studio 2010\Projects\SimpleMVVMDialogAndMsgBoxExample\SimpleMVVMDialogAndMsgBoxExample\obj\x86\Release\SimpleMVVMDialogAndMsgBoxExample.pdb
C:\Users\possetmi\documents\visual studio 2010\Projects\SimpleMVVMDialogAndMsgBoxExample\SimpleMVVMDialogAndMsgBoxExample\obj\x86\Release\SimpleMVVMDialogAndMsgBoxExample_MarkupCompile.lref
C:\Users\possetmi\documents\visual studio 2010\Projects\SimpleMVVMDialogAndMsgBoxExample\SimpleMVVMDialogAndMsgBoxExample\obj\x86\Release\Resources.resources
C:\Users\possetmi\documents\visual studio 2010\Projects\SimpleMVVMDialogAndMsgBoxExample\SimpleMVVMDialogAndMsgBoxExample\obj\x86\Release\GeneratedInternalTypeHelper.g.vb