This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Framework > ESRI.ArcGIS.Framework > Interfaces > IG > IGetUserAndPasswordDialog Interface > IGetUserAndPasswordDialog.DoModal Method (ArcObjects .NET 10.5 SDK) |
Shows the dialog.
[Visual Basic .NET] Public Function DoModal ( _ ByVal dialogTitle As String, _ ByVal stringLabel As String, _ ByVal hWnd As Integer _ ) As Boolean
[C#] public bool DoModal ( string dialogTitle, string stringLabel, int hWnd );
dialogTitle is a string that specifies the title of the dialog.
stringLabel specifies the label for the dialog.
hWnd specifies the window handle of the parent window. In most cases this will be the hWnd of the application.
If the dialog was cancelled, the DoModal method returns False.