Method | Description | |
---|---|---|
Download ( HashSet |
Downloads a set of files to a folder. Will run async.
|
|
DownloadDone ( int success, int total ) : void |
Run when the download of files is done
|
|
ExtractDone ( HashSet |
Runs when the extraction is done
|
|
Form1 ( ) : System | ||
SetAll ( bool enabled ) : void |
Enables or disables all input fields
|
|
SetProgress ( bool visible, int min, int max, int value ) : void |
Set the progressbar to a value (can be called from other threads than the main)
|
|
SetStatusText ( string text ) : void |
Sets the status text (can be called from other threads than the main)
|
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Clean up any resources being used.
|
Method | Description | |
---|---|---|
AskDownload ( int count ) : bool |
Displays a message asking if the user wants to download files
|
|
DownloadSingle ( string url, string path ) : bool |
Downloads a single file to a path
|
|
Form1_Load ( object sender, |
||
InitializeComponent ( ) : void |
Required method for Designer support - do not modify the contents of this method with the code editor.
|
|
extractBtn_Click ( object sender, |
||
matchHistoryChkBox_CheckedChanged ( object sender, |
||
tmpFileLink_LinkClicked ( object sender, System.Windows.Forms.LinkLabelLinkClickedEventArgs e ) : void |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | true if managed resources should be disposed; otherwise, false. |
return | void |
public Download ( HashSet |
||
urls | HashSet |
Files to download |
path | string | Path to download to |
return | void |
public DownloadDone ( int success, int total ) : void | ||
success | int | Number of successful downloads |
total | int | Total number of downloads |
return | void |
public ExtractDone ( HashSet |
||
hashes | HashSet |
The set of extracted hashes |
return | void |
public SetAll ( bool enabled ) : void | ||
enabled | bool | Enabled if true, disabled if false |
return | void |
public SetProgress ( bool visible, int min, int max, int value ) : void | ||
visible | bool | Show the progress bar |
min | int | Progress bar minimum value (ignored if visible is false) |
max | int | Progress bar maximum value (ignored if visible is false) |
value | int | Progress bar value (ignored if visible is false) |
return | void |
public SetStatusText ( string text ) : void | ||
text | string | Text to set the label to |
return | void |