Metodo InputBoxShow (DedNetApplication, String, String, ListString, String, InputBoxValidatingHandler)
|
Displays a prompt in a dialog box, waits for the user to input text or click a button.
Namespace:
DedNet.Controls
Assembly:
DedNet (in DedNet.dll) Versione: 20.3.0.0 (20.3.0.0)
Sintassipublic static InputBoxResult Show(
DedNetApplication app,
string prompt,
string title,
List<string> defaultText,
string selectedText,
InputBoxValidatingHandler validator
)
Public Shared Function Show (
app As DedNetApplication,
prompt As String,
title As String,
defaultText As List(Of String),
selectedText As String,
validator As InputBoxValidatingHandler
) As InputBoxResult
public:
static InputBoxResult^ Show(
DedNetApplication^ app,
String^ prompt,
String^ title,
List<String^>^ defaultText,
String^ selectedText,
InputBoxValidatingHandler^ validator
)
static member Show :
app : DedNetApplication *
prompt : string *
title : string *
defaultText : List<string> *
selectedText : string *
validator : InputBoxValidatingHandler -> InputBoxResult
Parametri
- app
- Tipo: DedNetDedNetApplication
- prompt
- Tipo: SystemString
String expression displayed as the message in the dialog box - title
- Tipo: SystemString
String expression displayed in the title bar of the dialog box - defaultText
- Tipo: System.Collections.GenericListString
- selectedText
- Tipo: SystemString
- validator
- Tipo: DedNet.ControlsInputBoxValidatingHandler
Delegate used to validate the text
Valore di ritorno
Tipo:
InputBoxResultAn InputBoxResult object with the Text and the OK property set to true when OK was clicked.
Vedi anche