C# Class SecureDeleteWinForms.WipeTools.FreeSpaceTool

Inheritance: System.Windows.Forms.UserControl, ITool
Show file Open project: gratianlup/SecureDelete

Public Methods

Method Description
DisposeTool ( ) : void
FreeSpaceTool ( ) : System
GetFileIconHandle ( string file ) : IntPtr
GetFileIconImage ( IntPtr handle ) : Image
InitializeTool ( ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
AdvancedButton_Click ( object sender, EventArgs e ) : void
CancelButton_Click ( object sender, EventArgs e ) : void
DestroyIcon ( IntPtr handle ) : bool
DestroyVolumeList ( ) : void
FormatSizeToGB ( long value ) : string
FreeSpacePercentage ( long total, long free ) : string
GetVolumeIndex ( char letter, int &index ) : bool
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

InsertButton_Click ( object sender, EventArgs e ) : void
LoadFromDriveObject ( ) : void
MethodChangeButton_Click ( object sender, EventArgs e ) : void
PopulateVolumeList ( ) : void
SHGetFileInfo ( string pszPath, int dwFileAttributes, SHFILEINFO &psfi, int cbFileInfo, int uFlags ) : IntPtr
SaveToDriveObject ( ) : void
SetVolumes ( object sender, EventArgs e ) : void
UpdateMethodInfo ( ) : void
button2_Click ( object sender, EventArgs e ) : void
button3_Click ( object sender, EventArgs e ) : void

Method Details

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

DisposeTool() public method

public DisposeTool ( ) : void
return void

FreeSpaceTool() public method

public FreeSpaceTool ( ) : System
return System

GetFileIconHandle() public method

public GetFileIconHandle ( string file ) : IntPtr
file string
return System.IntPtr

GetFileIconImage() public method

public GetFileIconImage ( IntPtr handle ) : Image
handle System.IntPtr
return Image

InitializeTool() public method

public InitializeTool ( ) : void
return void