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;
 }
예제 #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);
        }