'Declaration Public Overloads Sub ShowMessageBox( _ ByVal messageText As String, _ ByVal caption As String, _ ByVal button As MessageBoxButton, _ ByVal icon As MessageBoxImage, _ ByVal defaultResult As MessageBoxResult _ )
'Usage Dim instance As MessageBox Dim messageText As String Dim caption As String Dim button As MessageBoxButton Dim icon As MessageBoxImage Dim defaultResult As MessageBoxResult instance.ShowMessageBox(messageText, caption, button, icon, defaultResult)
public void ShowMessageBox( string messageText, string caption, MessageBoxButton button, MessageBoxImage icon, MessageBoxResult defaultResult )
Parameters
- messageText
- caption
- button
- icon
- defaultResult