Hi Praveen,
The problem is that script functions aren't implicitly convertible to .NET delegates. They do support
Good luck!
The problem is that script functions aren't implicitly convertible to .NET delegates. They do support
dynamic invocation, so you can do something like this:publicvoid LaunchWinForm(dynamic launchAction) { if (MainForm.InvokeRequired) { MainForm.BeginInvoke(new Action(() => launchAction()), null); } else { launchAction(); } }