Exemplo n.º 1
0
 private void ExecuteImport(string itemName, FileClass fclass)
 {
     CaculateNumber();
     if (App.ViewModel.TotalCount == 0)
     {
         PopOk pop = new PopOk();
         pop.ShowDialog("请选中项!");
         return;
     }
     if (IsSpectialFolder())
     {
         PopOk pop = new PopOk();
         pop.ShowDialog("此文件夹不需要导入 ! ");
         return;
     }
     if (ShowPopConfirm(itemName, App.ViewModel.TotalCount) == true)
     {
         ProgressWindow pw = new ProgressWindow(true);
         pw.BeginWork(fclass);
         pw.ShowDialog();
     }
 }