Metodo InputBoxShow (DedNetApplication, String, String, String, InputBoxValidatingHandler, Int32, Int32)
|
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,
string defaultResponse,
InputBoxValidatingHandler validator,
int xpos,
int ypos
)
Public Shared Function Show (
app As DedNetApplication,
prompt As String,
title As String,
defaultResponse As String,
validator As InputBoxValidatingHandler,
xpos As Integer,
ypos As Integer
) As InputBoxResult
public:
static InputBoxResult^ Show(
DedNetApplication^ app,
String^ prompt,
String^ title,
String^ defaultResponse,
InputBoxValidatingHandler^ validator,
int xpos,
int ypos
)
static member Show :
app : DedNetApplication *
prompt : string *
title : string *
defaultResponse : string *
validator : InputBoxValidatingHandler *
xpos : int *
ypos : int -> 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 - defaultResponse
- Tipo: SystemString
String expression displayed in the text box as the default response - validator
- Tipo: DedNet.ControlsInputBoxValidatingHandler
Delegate used to validate the text - xpos
- Tipo: SystemInt32
Numeric expression that specifies the distance of the left edge of the dialog box from the left edge of the screen. - ypos
- Tipo: SystemInt32
Numeric expression that specifies the distance of the upper edge of the dialog box from the top of the screen
Valore di ritorno
Tipo:
InputBoxResultAn InputBoxResult object with the Text and the OK property set to true when OK was clicked.
Vedi anche