public Host(SciterWindow wnd) { SetupWindow(wnd); RegisterBehaviorHandler(typeof(ImgDrawBehavior)); wnd.LoadPage("/Users/midiway/Documents/SciterSharp/Tests/TestOSX/res/index.html"); wnd.CallFunction("CallMe", new SciterValue((args) => { return(new SciterValue(123)); })); wnd.CenterTopLevelWindow(); wnd.Show(); }