Metodo UtilityVisMsg (IWin32Window, String, MessageBoxButtons, MessageBoxIcon)
|
Visualizza un messaggio semplice con solo il pulsante OK e l'icona specificata.
Namespace:
DedNet.Core
Assembly:
DedNet (in DedNet.dll) Versione: 23.3.0.0 (23.3.0.0)
Sintassi public static DialogResult VisMsg(
IWin32Window ownerForm,
string msg,
MessageBoxButtons buttons,
MessageBoxIcon iconType
)
Public Shared Function VisMsg (
ownerForm As IWin32Window,
msg As String,
buttons As MessageBoxButtons,
iconType As MessageBoxIcon
) As DialogResult
public:
static DialogResult VisMsg(
IWin32Window^ ownerForm,
String^ msg,
MessageBoxButtons buttons,
MessageBoxIcon iconType
)
static member VisMsg :
ownerForm : IWin32Window *
msg : string *
buttons : MessageBoxButtons *
iconType : MessageBoxIcon -> DialogResult
Parametri
- ownerForm
- Tipo: System.Windows.FormsIWin32Window
Parent Form. - msg
- Tipo: SystemString
Stringa da visualizzare. - buttons
- Tipo: System.Windows.FormsMessageBoxButtons
Bottoni da visualizzare nel messaggio. - iconType
- Tipo: System.Windows.FormsMessageBoxIcon
Tipo di icona da utilizzare per il messaggio.
Valore di ritorno
Tipo:
DialogResultVedi anche