DialogsInputDialog(String, String) Method
Namespace: KGySoft.WinForms.FormsAssembly: KGySoft.WinForms (in KGySoft.WinForms.dll) Version: 5.0.1
public static bool InputDialog(
string? prompt,
ref string value
)
Public Shared Function InputDialog (
prompt As String,
ByRef value As String
) As Boolean
public:
static bool InputDialog(
String^ prompt,
String^% value
)
static member InputDialog :
prompt : string *
value : string byref -> bool
- 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.