ShowWaitForm
Overloads
| Name | Description |
|---|---|
| ShowWaitForm() | Show Wait Form |
| ShowWaitForm(string caption, string description) | Show Wait Form |
ShowWaitForm()
public void ShowWaitForm()
Show Wait Form
Examples
// VIZCore3D.NET Control
private VIZCore3D.NET.VIZCore3DControl vizcore3d;
private void Example()
{
// Backup Status
bool status = vizcore3d.EnableWaitForm;
// Disable Wait Form
vizcore3d.EnableWaitForm = false;
// Show Custom Wait Form(Dialog)
vizcore3d.ShowWaitForm();
vizcore3d.UpdateWaitForm("Please Wait...", "Processing...");
for (int i = 0; i < 100; i++)
{
// Some code here...
}
// Hide Custom Wait Form(Dialog)
vizcore3d.CloseWaitForm();
// Restore Status
vizcore3d.EnableWaitForm = status;
}
ShowWaitForm(string caption, string description)
public void ShowWaitForm(string caption, string description)
Show Wait Form
Parameters
| Name | Type | Description |
|---|---|---|
| caption | string | Caption |
| description | string | Description |
Examples
// VIZCore3D.NET Control
private VIZCore3D.NET.VIZCore3DControl vizcore3d;
private void Example()
{
// Backup Status
bool status = vizcore3d.EnableWaitForm;
// Disable Wait Form
vizcore3d.EnableWaitForm = false;
// Show Custom Wait Form(Dialog)
vizcore3d.ShowWaitForm("Please Wait...", "Processing...");
for (int i = 0; i < 100; i++)
{
// Some code here...
}
// Hide Custom Wait Form(Dialog)
vizcore3d.CloseWaitForm();
// Restore Status
vizcore3d.EnableWaitForm = status;
}