Exemple #1
0
        private void getComment()
        {
            CommentDialogViewModel comment = new CommentDialogViewModel(_selectedStep, false);
            bool?result = _dialogService.ShowDialog(comment);

            if (result == true)
            {
                _selectedStep.Comment = comment.Comment;
            }
        }
Exemple #2
0
        private void getFailComment()
        {
            CommentDialogViewModel comment = new CommentDialogViewModel(_selectedStep, true);
            bool?result = _dialogService.ShowDialog(comment);

            if (result == true)
            {
                _selectedStep.Severity      = comment.Severity;
                _selectedStep.ResultComment = comment.Comment;
                _selectedStep.Result        = false;
                selectNextStep();
            }
        }