Click or drag to resize

Metodo InputBoxShowAsMultiLine (DedNetApplication, String, String, String, InputBoxValidatingHandler, Int32, Int32, Int32, 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)
Sintassi
public static InputBoxResult ShowAsMultiLine(
	DedNetApplication app,
	string prompt,
	string title,
	string defaultResponse,
	InputBoxValidatingHandler validator,
	int xpos,
	int ypos,
	int width,
	int height,
	int maxLenght = 0
)

Parametri

app
Tipo: DedNetDedNetApplication
DedNet application
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
ypos
Tipo: SystemInt32
width
Tipo: SystemInt32
Width of the form
height
Tipo: SystemInt32
Height of the form
maxLenght (Optional)
Tipo: SystemInt32
Limit number of characters

Valore di ritorno

Tipo: InputBoxResult
An InputBoxResult object with the Text and the OK property set to true when OK was clicked.
Vedi anche