.NET Framework Class Library
UserInterface.MsgBoxCriticalQuestion Method

<< Click to Display Table of Contents >>

Navigation:  Programming Mechworks PDM > .NET API > MwPDMApi Namespace > UserInterface Class > UserInterface Methods >

.NET Framework Class Library
UserInterface.MsgBoxCriticalQuestion Method

Shows a message box with an exclamation icon and Yes/No buttons.

Namespace: MwPDMApi
Assembly:  MwPDMApi (in MwPDMApi.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

Visual Basic

Public Function MsgBoxCriticalQuestion ( _

message As String, _
Optional caption As String = "" _
) As Boolean

C#

public bool MsgBoxCriticalQuestion(

string message,
string caption = ""
)

Visual C++

public:

bool MsgBoxCriticalQuestion(
String^ message,
String^ caption = L""
)

JavaScript

function msgBoxCriticalQuestion(message, caption);

Parameters

message

Type: System.String
Message to display

caption (Optional)

Type: System.String
Optional. The title of the window

Return Value

True if the user pressed Yes, otherwise False

See Also

UserInterface Class

UserInterface Members

MwPDMApi Namespace