private void Window_Load(object sender, RoutedEventArgs e) { _detailViewModel = new DetailViewModel(); fileTree.ItemsSource = _detailViewModel.DetailVM; fileListbox.ItemsSource = _detailViewModel.DetailVM; Progrecess.DataContext = _detailViewModel.Progrecess; _detailViewModel.Search(null); }
private void Refer(object sender, RoutedEventArgs e) { _detailViewModel.Search(null); }