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,564 times
Add to favorites
3/26/2011
E-mail Twitter del.icio.us Digg Facebook

Solution explorer

VB.NET

Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 2010
Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "SimpleMVVMDialogAndMsgBoxExample", "SimpleMVVMDialogAndMsgBoxExample\SimpleMVVMDialogAndMsgBoxExample.vbproj", "{C4264461-94AB-40F6-ACC7-0BDBD767906A}"
EndProject
Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "oMVVM", "oMVVM\oMVVM.vbproj", "{27BE133D-2A38-478A-AC27-4532D9E4CB36}"
EndProject
Global
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
		Debug|Any CPU = Debug|Any CPU
		Debug|Mixed Platforms = Debug|Mixed Platforms
		Debug|x86 = Debug|x86
		Release|Any CPU = Release|Any CPU
		Release|Mixed Platforms = Release|Mixed Platforms
		Release|x86 = Release|x86
	EndGlobalSection
	GlobalSection(ProjectConfigurationPlatforms) = postSolution
		{C4264461-94AB-40F6-ACC7-0BDBD767906A}.Debug|Any CPU.ActiveCfg = Debug|x86
		{C4264461-94AB-40F6-ACC7-0BDBD767906A}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
		{C4264461-94AB-40F6-ACC7-0BDBD767906A}.Debug|Mixed Platforms.Build.0 = Debug|x86
		{C4264461-94AB-40F6-ACC7-0BDBD767906A}.Debug|x86.ActiveCfg = Debug|x86
		{C4264461-94AB-40F6-ACC7-0BDBD767906A}.Debug|x86.Build.0 = Debug|x86
		{C4264461-94AB-40F6-ACC7-0BDBD767906A}.Release|Any CPU.ActiveCfg = Release|x86
		{C4264461-94AB-40F6-ACC7-0BDBD767906A}.Release|Mixed Platforms.ActiveCfg = Release|x86
		{C4264461-94AB-40F6-ACC7-0BDBD767906A}.Release|Mixed Platforms.Build.0 = Release|x86
		{C4264461-94AB-40F6-ACC7-0BDBD767906A}.Release|x86.ActiveCfg = Release|x86
		{C4264461-94AB-40F6-ACC7-0BDBD767906A}.Release|x86.Build.0 = Release|x86
		{27BE133D-2A38-478A-AC27-4532D9E4CB36}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{27BE133D-2A38-478A-AC27-4532D9E4CB36}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{27BE133D-2A38-478A-AC27-4532D9E4CB36}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
		{27BE133D-2A38-478A-AC27-4532D9E4CB36}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
		{27BE133D-2A38-478A-AC27-4532D9E4CB36}.Debug|x86.ActiveCfg = Debug|Any CPU
		{27BE133D-2A38-478A-AC27-4532D9E4CB36}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{27BE133D-2A38-478A-AC27-4532D9E4CB36}.Release|Any CPU.Build.0 = Release|Any CPU
		{27BE133D-2A38-478A-AC27-4532D9E4CB36}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
		{27BE133D-2A38-478A-AC27-4532D9E4CB36}.Release|Mixed Platforms.Build.0 = Release|Any CPU
		{27BE133D-2A38-478A-AC27-4532D9E4CB36}.Release|x86.ActiveCfg = Release|Any CPU
	EndGlobalSection
	GlobalSection(SolutionProperties) = preSolution
		HideSolutionNode = FALSE
	EndGlobalSection
EndGlobal