Example #1
0
 private Types.ScanInfo UnDoScan()
 {
     //if (CurrentDisk == null || !CurrentDisk.IsScaned) { return Types.ScanInfo.NotScan; }
     //return CurrentDisk.unPick();
     if (CurrentDisk == null || !CurrentDisk.IsScaned)
     {
         return(Types.ScanInfo.NotScan);
     }
     Types.ScanInfo si = CurrentDisk.unPick();
     if (si != Types.ScanInfo.Successful)
     {
         return(si);
     }
     scanedDiskCount--;
     return(Types.ScanInfo.Successful);
 }