Metodo QuestionFormShow (IWin32Window, String, String, QuestionFormQuestionResult, QuestionFormQuestionButtonSet, MessageBoxIcon)
|
Visualizza il Form passando tutte le opzioni.
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,
MessageBoxIcon iconType
)
Public Shared Function Show (
owner As IWin32Window,
title As String,
message As String,
defaultButton As QuestionFormQuestionResult,
buttonSet As QuestionFormQuestionButtonSet,
iconType As MessageBoxIcon
) As QuestionFormQuestionResult
public:
static QuestionFormQuestionResult Show(
IWin32Window^ owner,
String^ title,
String^ message,
QuestionFormQuestionResult defaultButton,
QuestionFormQuestionButtonSet buttonSet,
MessageBoxIcon iconType
)
static member Show :
owner : IWin32Window *
title : string *
message : string *
defaultButton : QuestionFormQuestionResult *
buttonSet : QuestionFormQuestionButtonSet *
iconType : MessageBoxIcon -> 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
Indica i pulsanti da visualizzare. - iconType
- Tipo: System.Windows.FormsMessageBoxIcon
Icona da visualizzare.
Valore di ritorno
Tipo:
QuestionFormQuestionResultRisultato della scelta dell'utente oppure None se chiude la finestra senza scegliere.
Vedi anche