public void RaiseDialogRequested(ShowDialogEventArgs e)
 {
     var handler = DialogRequest;
     if (handler != null) handler(this, e);
 }
예제 #2
0
        private static void MainWindowVMDialogRequested(object sender, ViewModels.Events.ShowDialogEventArgs e)
        {
            var genericDialog = new GenericDialog(e.ViewModel);

            genericDialog.ShowDialog();
        }