UpdateProgressFormValue
Overloads
| Name | Description |
|---|---|
| UpdateProgressFormValue(int value) | Update Progress Form Value |
| UpdateProgressFormValue(int value, string description) | Update Progress Form Value |
| UpdateProgressFormValue(int index, int count, string description) | Update Progress Form Value |
| UpdateProgressFormValue(int index, int count) | Update Progress Form Value |
UpdateProgressFormValue(int value)
public void UpdateProgressFormValue(int value)
Update Progress Form Value
Parameters
| Name | Type | Description |
|---|---|---|
| value | int | Progress Value : 0 ~ 100 |
Examples
// VIZCore3D.NET Control
private VIZCore3D.NET.VIZCore3DControl vizcore3d;
private void Example()
{
// Backup Status
bool status = vizcore3d.EnableProgressForm;
// Disable Progress Form
vizcore3d.EnableProgressForm = false;
// Show Custom Progress Form(Dialog)
vizcore3d.ShowProgressForm("Please Wait...", "Processing...");
for (int i = 0; i < 100; i++)
{
// Some code here...
vizcore3d.UpdateProgressFormValue(i);
}
// Hide Custom Progress Form(Dialog)
vizcore3d.CloseProgressForm();
// Restore Status
vizcore3d.EnableProgressForm = status;
}
UpdateProgressFormValue(int value, string description)
public void UpdateProgressFormValue(int value, string description)
Update Progress Form Value
Parameters
| Name | Type | Description |
|---|---|---|
| value | int | Progress Value : 0 ~ 100 |
| description | string | Description |
Examples
// VIZCore3D.NET Control
private VIZCore3D.NET.VIZCore3DControl vizcore3d;
private void Example()
{
// Backup Status
bool status = vizcore3d.EnableProgressForm;
// Disable Progress Form
vizcore3d.EnableProgressForm = false;
// Show Custom Progress Form(Dialog)
vizcore3d.ShowProgressForm("Please Wait...", "Progress = 0 %");
for (int i = 0; i < 100; i++)
{
// Some code here...
vizcore3d.UpdateProgressFormValue(
i
, string.Format("Progress = {0} %", i)
);
}
// Hide Custom Progress Form(Dialog)
vizcore3d.CloseProgressForm();
// Restore Status
vizcore3d.EnableProgressForm = status;
}
UpdateProgressFormValue(int index, int count, string description)
public void UpdateProgressFormValue(int index, int count, string description)
Update Progress Form Value
Parameters
| Name | Type | Description |
|---|---|---|
| index | int | Item Index |
| count | int | Item Count |
| description | string | Description |
UpdateProgressFormValue(int index, int count)
public void UpdateProgressFormValue(int index, int count)
Update Progress Form Value
Parameters
| Name | Type | Description |
|---|---|---|
| index | int | Item Index |
| count | int | Item Count |