Example #1
0
        private void OpenAddDialogAction(object o)
        {
            //Dialogs.DialogService.DialogViewModelBase vm = new Dialogs.DialogYesNo.DialogYesNoViewModel("Question");
            //Dialogs.DialogService.DialogResult result = Dialogs.DialogService.DialogService.OpenDialog(vm, o as Window);

            RuleEditViewModel vm     = new RuleEditViewModel();
            DialogResult      result = DialogService.OpenDialog(vm, o as Window);
        }
Example #2
0
 private void OpenUpdateDialogAction(object o)
 {
     RuleEditViewModel vm     = new RuleEditViewModel(SelectedRule);
     DialogResult      result = DialogService.OpenDialog(vm, o as Window);
 }