private async void Button_Click_1(object sender, RoutedEventArgs e) { //dest = await ChooseFolder(); var resp = await FolderCopy.GetDest(); if (!string.IsNullOrEmpty(resp)) { tbTargetFolder.Text = resp; } this.DataContext = null; this.DataContext = this; }
private async Task Locate_Target() { //dest = await ChooseFolder(); var resp = await FolderCopy.GetDest(); if (!string.IsNullOrEmpty(resp)) { tbTargetFolder.Text = resp; } this.DataContext = null; this.DataContext = this; }