Nevron Open Vision Documentation
Nevron.Nov.UI Namespace / NMessageBox Class / Show Method / Show(INTopLevelWindowsContainer,Object,String,ENMessageBoxButtons,ENMessageBoxIcon) Method


In This Topic
    Show(INTopLevelWindowsContainer,Object,String,ENMessageBoxButtons,ENMessageBoxIcon) Method
    In This Topic
    Shows a message box with the specified content, title, buttons and icon.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function Show( _
       ByVal windowContainer As INTopLevelWindowsContainer, _
       ByVal content As System.Object, _
       ByVal title As System.String, _
       ByVal buttons As ENMessageBoxButtons, _
       ByVal icon As ENMessageBoxIcon _
    ) As NPromise(Of ENWindowResult)
    'Usage
     
    
    Dim windowContainer As INTopLevelWindowsContainer
    Dim content As System.Object
    Dim title As System.String
    Dim buttons As ENMessageBoxButtons
    Dim icon As ENMessageBoxIcon
    Dim value As NPromise(Of ENWindowResult)
     
    value = NMessageBox.Show(windowContainer, content, title, buttons, icon)

    Parameters

    windowContainer
    content
    title
    buttons
    icon
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also