Exemplo n.º 1
0
        protected string OpenContentDialog(string content)
        {
            InputDataViewModel inputDataViewModel = new InputDataViewModel(content);

            inputDataViewModel.ShowViewDialog();
            string input = CreateInput(inputDataViewModel.Inputs.ToList());

            return(input);
        }
Exemplo n.º 2
0
        protected string OpenContentDialog(string content)
        {
            InputDataViewModel inputDataViewModel = new InputDataViewModel(content);

            inputDataViewModel.ShowViewDialog();
            string input = inputDataViewModel.TextBoxInput;

            if (string.IsNullOrEmpty(input))
            {
                return(content);
            }

            return(input);
        }