예제 #1
0
 public AppViewModel()
 {
     DBSearch = new a7DbSearchEngine();
     HierarchyExplorer = new a7HierarchyExplorer();
     FileSearch = new a7FileSearch();
     FileSearch.DBSearch = DBSearch;
 }
예제 #2
0
 public AppViewModel()
 {
     DBSearch            = new a7DbSearchEngine();
     HierarchyExplorer   = new a7HierarchyExplorer();
     FileSearch          = new a7FileSearch();
     FileSearch.DBSearch = DBSearch;
 }
예제 #3
0
 void fileSearch_AcutalizedWork(object sender, a7FileSearch.FileSearchEventArgs e)
 {
     this.tbProgress.Dispatcher.Invoke(
                 new Action(
                     () =>
                     {
                         this.tbProgress.Text = e.Message + ": " + "Value:" + e.ActualSearchedValue + " (" + e.SearchedValuesFinished + "/" + e.SearchedValuesCount +
                             ") File:" + e.ActualSearchedFile;
                     }
                     )
                 );
     this.pbProgress.Dispatcher.Invoke(
         new Action(
             () =>
             {
                 this.pbProgress.Value = ((double)e.SearchedValuesFinished / ((double)e.SearchedValuesCount)) * 100;
             }
             )
         );
 }