This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Framework > ESRI.ArcGIS.Framework > Interfaces > IP > IProgressDialogFactory Interface > IProgressDialogFactory.Create Method (ArcObjects .NET 10.5 SDK) |
Creates a progress dialog.
[Visual Basic .NET] Public Function Create ( _ ByVal trackCancel As ITrackCancel, _ ByVal hWnd As Integer _ ) As IStepProgressor
[C#] public IStepProgressor Create ( ITrackCancel trackCancel, int hWnd );
The Create method creates and displays a progress dialog box. You can pass a CancelTracker object into this method to allow the user to cancel the process.
This method returns a ProgressDialog object so that you can set the properties of the dialog and the progressor.