'Declaration Protected Sub InitializeMessageBox( _ ByVal owner As Window, _ ByVal ownerHandle As IntPtr, _ ByVal text As String, _ ByVal caption As String, _ ByVal button As MessageBoxButton, _ ByVal image As MessageBoxImage, _ ByVal defaultResult As MessageBoxResult _ )
'Usage Dim instance As MessageBox Dim owner As Window Dim ownerHandle As IntPtr Dim text As String Dim caption As String Dim button As MessageBoxButton Dim image As MessageBoxImage Dim defaultResult As MessageBoxResult instance.InitializeMessageBox(owner, ownerHandle, text, caption, button, image, defaultResult)
protected void InitializeMessageBox( Window owner, IntPtr ownerHandle, string text, string caption, MessageBoxButton button, MessageBoxImage image, MessageBoxResult defaultResult )
Parameters
- owner
- The owner Window.
- ownerHandle
- text
- The text of the MessageBox.
- caption
- The caption of the MessageBox.
- button
- The MessageBoxButton.
- image
- The MessageBoxImage.
- defaultResult
- The default result.