Interaction logic for InputDialogBox.xaml
 public string GetInput(string question, string title)
 {
     string toReturn = null;
     Application.Current.Dispatcher.Invoke(() =>
     {
         var dialog = new InputDialogBox(question, title);
         toReturn = dialog.Result();
     });
     return toReturn;
 }
Ejemplo n.º 2
0
        public string GetInput(string question, string title)
        {
            string toReturn = null;

            Application.Current.Dispatcher.Invoke(() =>
            {
                var dialog = new InputDialogBox(question, title);
                toReturn   = dialog.Result();
            });
            return(toReturn);
        }