Metodo QuestionFormShow(IWin32Window, String, String, QuestionFormQuestionResult, QuestionFormQuestionButtonSet)
|
Visualizza il Form passando varie opzioni. Utilizza l'icona di applicazione.
Namespace: QsUIAssembly: QsUI (in QsUI.dll) Versione: 27.1.0
Sintassi public static QuestionFormQuestionResult Show(
IWin32Window owner,
string title,
string message,
QuestionFormQuestionResult defaultButton,
QuestionFormQuestionButtonSet buttonSet
)
Public Shared Function Show (
owner As IWin32Window,
title As String,
message As String,
defaultButton As QuestionFormQuestionResult,
buttonSet As QuestionFormQuestionButtonSet
) As QuestionFormQuestionResult
public:
static QuestionFormQuestionResult Show(
IWin32Window^ owner,
String^ title,
String^ message,
QuestionFormQuestionResult defaultButton,
QuestionFormQuestionButtonSet buttonSet
)
static member Show :
owner : IWin32Window *
title : string *
message : string *
defaultButton : QuestionFormQuestionResult *
buttonSet : QuestionFormQuestionButtonSet -> QuestionFormQuestionResult
Parametri
- owner IWin32Window
- Finestra genitore.
- title String
- Titolo della finestra.
- message String
- Messaggio da visualizzare.
- defaultButton QuestionFormQuestionResult
- Imposta il bottone usato di default.
- buttonSet QuestionFormQuestionButtonSet
-
Valore di ritorno
QuestionFormQuestionResultRisultato della scelta dell'utente oppure None se chiude la finestra senza scegliere.
Vedi anche