Metodo QuestionFormShow (IWin32Window, String, String, QuestionFormQuestionResult, QuestionFormQuestionButtonSet)
|
Visualizza il Form passando varie opzioni. Utilizza l'icona di applicazione.
Namespace:
QsUI
Assembly:
QsUI (in QsUI.dll) Versione: 1.0.0.0 (1.0.0.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
- Tipo: System.Windows.FormsIWin32Window
Finestra genitore. - title
- Tipo: SystemString
Titolo della finestra. - message
- Tipo: SystemString
Messaggio da visualizzare. - defaultButton
- Tipo: QsUIQuestionFormQuestionResult
Imposta il bottone usato di default. - buttonSet
- Tipo: QsUIQuestionFormQuestionButtonSet
Valore di ritorno
Tipo:
QuestionFormQuestionResultRisultato della scelta dell'utente oppure None se chiude la finestra senza scegliere.
Vedi anche