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
3,566 times
Add to favorites
E-mail Twitter Digg Facebook

Solution explorer

' Michel Posseth 26-03-2011
' e-mail :
' 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)
            ' Create the ViewModel to which 
            ' the main window binds.
            Dim viewModel = New MainWindowViewModel(e, New MainWindow)
        End Sub
       End Class
End Namespace