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

' <auto-generated>
'     This code was generated by a tool.
'     Runtime Version:4.0.30319.225
'     Changes to this file may cause incorrect behavior and will be lost if
'     the code is regenerated.
' </auto-generated>

Option Strict Off
Option Explicit On

Imports System
Imports System.Diagnostics
Imports System.Windows
Imports System.Windows.Automation
Imports System.Windows.Controls
Imports System.Windows.Controls.Primitives
Imports System.Windows.Data
Imports System.Windows.Documents
Imports System.Windows.Ink
Imports System.Windows.Input
Imports System.Windows.Markup
Imports System.Windows.Media
Imports System.Windows.Media.Animation
Imports System.Windows.Media.Effects
Imports System.Windows.Media.Imaging
Imports System.Windows.Media.Media3D
Imports System.Windows.Media.TextFormatting
Imports System.Windows.Navigation
Imports System.Windows.Shapes
Imports System.Windows.Shell

Namespace VBDC
    <System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "")>  _
    Partial Public Class App
        Inherits System.Windows.Application
        '''Application Entry Point.
        <System.STAThreadAttribute(),  _
         System.Diagnostics.DebuggerNonUserCodeAttribute()>  _
        Public Shared Sub Main()
            Dim app As VBDC.App = New VBDC.App()
        End Sub
    End Class
End Namespace