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; }
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); }