I have added following code on window close event
private void frmMain_FormClosing(object sender, FormClosingEventArgs e)
{
m_MainWebView.WebView.QueueScriptCall("DeleteItem('Test','Call')");
}
But I am getting following error message on call of QueueScriptCall.
Error details: See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
When I click on continue, all JS and cs execution goes well. But get this error.
Can you please tell me which step I am missing/doing something incorrect.