|
| override void | Dispose (bool disposing) |
| | Clean up any resources being used. More...
|
| |
Definition at line 14 of file Progress.cs.
◆ Progress()
| BioImager.Progress.Progress |
( |
string |
file, |
|
|
string |
status |
|
) |
| |
Definition at line 17 of file Progress.cs.
18 {
19 InitializeComponent();
20 watch.Start();
21 statusLabel.Text = status;
22 fileLabel.Text = file;
23 timer.Start();
24 }
◆ Dispose()
| override void BioImager.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 BioImager.Progress.UpdateProgress |
( |
int |
p | ) |
|
Definition at line 36 of file Progress.cs.
37 {
38 progressBar.Value = p;
39 }
◆ UpdateProgressF()
| void BioImager.Progress.UpdateProgressF |
( |
float |
p | ) |
|
Definition at line 40 of file Progress.cs.
41 {
42 if (p * 100 > progressBar.Maximum)
43 return;
44 progressBar.Value = (int)(p * 100);
45 }
◆ ProgressValue
| float BioImager.Progress.ProgressValue |
|
getset |
Definition at line 30 of file Progress.cs.
31 {
32 get { return progressBar.Value; }
33 set { progressBar.Value = (int)(value * 100); }
34 }
◆ Status
| string BioImager.Progress.Status |
|
getset |
Definition at line 25 of file Progress.cs.
26 {
27 get { return statusLabel.Text; }
28 set { statusLabel.Text = value; }
29 }
The documentation for this class was generated from the following files: