|
| override void | Dispose (bool disposing) |
| | Clean up any resources being used.
|
| |
Definition at line 3 of file Progress.Designer.cs.
◆ Progress()
| BioCore.Progress.Progress |
( |
string | file, |
|
|
string | status ) |
Definition at line 10 of file Progress.cs.
11 {
12 InitializeComponent();
13 watch.Start();
14 statusLabel.Text = status;
15 fileLabel.Text = file;
16 timer.Start();
17 }
◆ Dispose()
| override void BioCore.Progress.Dispose |
( |
bool | disposing | ) |
|
|
protected |
Clean up any resources being used.
- Parameters
-
| disposing | true if managed resources should be disposed; otherwise, false. |
Definition at line 14 of file Progress.Designer.cs.
15 {
16 if (disposing && (components != null))
17 {
18 components.Dispose();
19 }
20 base.Dispose(disposing);
21 }
◆ UpdateProgress()
| void BioCore.Progress.UpdateProgress |
( |
int | p | ) |
|
The function takes an integer as a parameter and sets the value of the progress bar to that integer
- Parameters
-
Definition at line 22 of file Progress.cs.
23 {
24 progressBar.Value = p;
25 }
◆ UpdateProgressF()
| void BioCore.Progress.UpdateProgressF |
( |
float | p | ) |
|
If the progress is greater than 1, set the progress bar to 100, otherwise set the progress bar to the progress times 100
- Parameters
-
Definition at line 30 of file Progress.cs.
31 {
32 if (p > 1)
33 progressBar.Value = 100;
34 else
35 progressBar.Value = (int)(p * 100);
36 }
◆ Status
| string BioCore.Progress.Status |
|
getset |
Definition at line 48 of file Progress.cs.
49 {
50 get { return statusLabel.Text; }
51 set { statusLabel.Text = value; }
52 }
The documentation for this class was generated from the following files: