Quantcast
Channel: ClearScript
Viewing all articles
Browse latest Browse all 2297

New Post: alert does not work ?

$
0
0
Hi,

Thanks for your answer.
Is there is a way to declare same API alert (an action and not a function), but without using Script (dynamic) property ?

Something like that :
engine.AddHostType("alert", new Action<string>(msg => MessageBox.Show(msg)));
Note that previous code does not compile...
Thanks for advance

Sybaris

Viewing all articles
Browse latest Browse all 2297

Latest Images

Trending Articles





Latest Images