示例#1
0
 public void DialogShow(DialogVMBase viewModel)
 {
     if (DialogShown != null)
     {
         EventArgs <DialogVMBase> args = new EventArgs <DialogVMBase>(viewModel);
         Dispatcher.Invoke(() => DialogShown(args));
     }
 }
示例#2
0
 public DialogInfo(DialogVMBase dialog)
 {
     DialogName = dialog.GetType().Name;
 }