ComponentOne FinancialChart for WPF
C1.WPF Namespace / C1MessageBox Class / Show Method / Show(String,String,C1MessageBoxButton,C1MessageBoxIcon) Method
The text to display as a message.
The title bar caption.
A C1MessageBoxButton value that specifies which buttons to display.
A C1MessageBoxIcon value that specifies the icon to display.



In This Topic
    Show(String,String,C1MessageBoxButton,C1MessageBoxIcon) Method
    In This Topic
    Displays a message box that has a message, title bar caption and icon.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Sub Show( _
       ByVal message As String, _
       ByVal caption As String, _
       ByVal button As C1MessageBoxButton, _
       ByVal icon As C1MessageBoxIcon _
    ) 
    'Usage
     
    
    Dim message As String
    Dim caption As String
    Dim button As C1MessageBoxButton
    Dim icon As C1MessageBoxIcon
     
    C1MessageBox.Show(message, caption, button, icon)

    Parameters

    message
    The text to display as a message.
    caption
    The title bar caption.
    button
    A C1MessageBoxButton value that specifies which buttons to display.
    icon
    A C1MessageBoxIcon value that specifies the icon to display.
    See Also