Nevron Open Vision Documentation
Nevron.Nov.UI Namespace / NMessageBox Class
Members


In This Topic
    NMessageBox Class
    In This Topic
    Represents a modal dialog window that shows a message to the user and lets him click a button in response to the message.
    Object Model
    NMessageBox Class
    Syntax
    Remarks
    The following piece of code demonstrates how to show a message box with Yes and No buttons and handle the case when the user clicks the 'Yes' button: NMessageBox.Show("Text", "Title", ENMessageBoxButtons.YesNo, ENMessageBoxIcon.Question, delegate(NMessageBox msgBox, ENWindowResult result) { if (result == ENWindowResult.Yes) { // Your code here } } );
    Inheritance Hierarchy

    System.Object
       Nevron.Nov.Dom.NNode
          Nevron.Nov.Dom.NDocumentNode
             Nevron.Nov.Dom.NElement
                Nevron.Nov.Dom.NVisual
                   Nevron.Nov.UI.NInputElement
                      Nevron.Nov.UI.NBoxElement
                         Nevron.Nov.UI.NWindow
                            Nevron.Nov.UI.NTopLevelWindow
                               Nevron.Nov.UI.NMessageBox

    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