.NET Framework Class Library
Messages.SendNotificationMessageToAllUsers Method

<< Click to Display Table of Contents >>

Navigation:  MwPDMApi Namespace > Messages Class > Messages Methods >

.NET Framework Class Library
Messages.SendNotificationMessageToAllUsers Method

Shows a pop-up window with a message of multiple line.

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

Syntax

Visual Basic

Public Sub SendNotificationMessageToAllUsers ( _

 sender As String, _
 message As String, _
 xSize As Integer, _
 ySize As Integer, _
 delay As Integer, _
 ParamArray scripts As Object() _
)

C#

public void SendNotificationMessageToAllUsers(

 string sender,
 string message,
 int xSize,
 int ySize,
 int delay,
 params Object[] scripts
)

Visual C++

public:

void SendNotificationMessageToAllUsers(
 Stringsender,
 Stringmessage,
 int xSize,
 int ySize,
 int delay,
 ... array<Object^>^ scripts
)

JavaScript

function sendNotificationMessageToAllUsers(sendermessagexSizeySizedelay, ... scripts);

Parameters

sender

Type: System.String
user sender of the message

message

Type: System.String
message to be displayed in the window. It's possible to insert the new line command throught the "\n" keyword.

xSize

Type: System.Int32
width size of the popup message

ySize

Type: System.Int32
height size of the popup message

delay

Type: System.Int32
number of seconds after which the dialog disappears. if "0" it won't disappear

scripts

Type: System.Object[]
Optional. Shows a button for each script (up to 4 buttons) in the lower side of the message. If existing the script as LST\PopUpScripts\_ScriptName_, it's run at click time.

Remarks

See Also

Messages Class

Messages Members

MwPDMApi Namespace