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