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
' Michel Posseth 26-03-2011
' e-mail : info@VBDotNetCoder.com
' VB MVVM demo app with msgbox and dialog 
Imports System.Windows
Imports System.Windows.Markup
Imports VBDC.ViewModel
Imports System
Namespace VBDC
    Partial Public Class App
        Inherits System.Windows.Application
        Protected Overrides Sub OnStartup(ByVal e As StartupEventArgs)
            MyBase.OnStartup(e)
            ' Create the ViewModel to which 
            ' the main window binds.
            Dim viewModel = New MainWindowViewModel(e, New MainWindow)
        End Sub
       End Class
End Namespace