Changeset 2536
- Timestamp:
- 3/17/2012 2:12:31 AM (14 months ago)
- File:
-
- 1 edited
-
trunk/eraser/Eraser.BlackBox/BlackBox.cs (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/eraser/Eraser.BlackBox/BlackBox.cs
r2516 r2536 113 113 //report folder if the crash report is empty. 114 114 if (currentStep == 0) 115 Directory.Delete(currentCrashReport );115 Directory.Delete(currentCrashReport, true); 116 116 } 117 117 } … … 258 258 { 259 259 } 260 catch (InvalidOperationException) 261 { 262 } 260 263 } 261 264 } … … 324 327 Bitmap screenShot = new Bitmap(rect.Width, rect.Height); 325 328 Graphics bitmap = Graphics.FromImage(screenShot); 326 bitmap.CopyFromScreen( 0, 0, 0, 0, rect.Size, CopyPixelOperation.SourceCopy);329 bitmap.CopyFromScreen(rect.Location, Point.Empty, rect.Size, CopyPixelOperation.SourceCopy); 327 330 328 331 //Place the mouse pointer
Note: See TracChangeset
for help on using the changeset viewer.
