DialogsInputDialog(String, String, String) Method
Namespace: KGySoft.WinForms.FormsAssembly: KGySoft.WinForms (in KGySoft.WinForms.dll) Version: 5.0.1
public static bool InputDialog(
string? caption,
string? prompt,
ref string value
)
Public Shared Function InputDialog (
caption As String,
prompt As String,
ByRef value As String
) As Boolean
public:
static bool InputDialog(
String^ caption,
String^ prompt,
String^% value
)
static member InputDialog :
caption : string *
prompt : string *
value : string byref -> bool
- caption String
- The caption of the dialog. If , the name of the application is used.
- prompt String
- A prompt text, explaining the purpose of the input dialog. If , a localized string of Value: is used.
- value String
- A reference to a string that contains the initial value of the input field. When this method returns , this parameter will contain the value entered by the user.
Boolean if the user clicked OK or pressed Enter,
if the user clicked Cancel, pressed Esc or closed the dialog.