본문으로 건너뛰기

ShowProgressForm

Overloads​

NameDescription
ShowProgressForm()Show Progress Form
ShowProgressForm(string caption, string description)Show Progress Form

ShowProgressForm()​

public void ShowProgressForm()

Show Progress Form

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();

vizcore3d.UpdateProgressForm("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;
}

ShowProgressForm(string caption, string description)​

public void ShowProgressForm(string caption, string description)

Show Progress Form

Parameters​

NameTypeDescription
captionstringCaption
descriptionstringDescription

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;
}