Changeset 1563
- Timestamp:
- 1/18/2010 6:16:16 AM (3 years ago)
- Location:
- branches/eraser6/CodeReview
- Files:
-
- 2 edited
- 1 moved
-
Eraser.Manager/DirectExecutor.cs (modified) (1 diff)
-
Eraser.Util/Eraser.Util.csproj (modified) (2 diffs)
-
Eraser.Util/RecycleBin.cs (moved) (moved from branches/eraser6/CodeReview/Eraser.Util/ShellApi.cs) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/eraser6/CodeReview/Eraser.Manager/DirectExecutor.cs
r1552 r1563 708 708 new TaskProgressChangedEventArgs(string.Empty, 0, 0))); 709 709 710 ShellApi.EmptyRecycleBin(EmptyRecycleBinOptions.NoConfirmation |710 RecycleBin.EmptyRecycleBin(EmptyRecycleBinOptions.NoConfirmation | 711 711 EmptyRecycleBinOptions.NoProgressUI | EmptyRecycleBinOptions.NoSound); 712 712 } -
branches/eraser6/CodeReview/Eraser.Util/Eraser.Util.csproj
r1558 r1563 62 62 <Compile Include="NativeMethods\WinTrust.cs" /> 63 63 <Compile Include="NtfsApi.cs" /> 64 <Compile Include=" ShellApi.cs" />64 <Compile Include="RecycleBin.cs" /> 65 65 <Compile Include="SystemRestoreApi.cs"> 66 66 <SubType>Component</SubType> … … 82 82 </ItemGroup> 83 83 <ItemGroup> 84 <Compile Include="Power.cs" /> 84 85 <Compile Include="NativeMethods\Gdi.cs" /> 85 86 <Compile Include="NativeMethods\Sfc.cs" /> -
branches/eraser6/CodeReview/Eraser.Util/RecycleBin.cs
r1552 r1563 23 23 using System.Collections.Generic; 24 24 using System.Text; 25 using System.Runtime.InteropServices;26 using System.Windows.Forms;27 25 28 26 namespace Eraser.Util 29 27 { 30 public static class ShellApi28 public static class RecycleBin 31 29 { 32 30 /// <summary> … … 35 33 /// <param name="options">The list of flags to pass to the shell regarding 36 34 /// the user feedback, etc.</param> 37 public static void Empty RecycleBin(EmptyRecycleBinOptions options)35 public static void Empty(EmptyRecycleBinOptions options) 38 36 { 39 37 NativeMethods.SHEmptyRecycleBin(IntPtr.Zero, null,
Note: See TracChangeset
for help on using the changeset viewer.
